1.读取 2.数据预处理 3.数据划分—训练集和测试集数据划分 from sklearn.model_selection import train_test_split x_train,x_test, y_train, y_test = train_test_split(data, target, ...
分类:
其他好文 时间:
2020-05-23 09:42:28
阅读次数:
42
1.读取 2.数据预处理 3.数据划分—训练集和测试集数据划分 from sklearn.model_selection import train_test_split x_train,x_test, y_train, y_test = train_test_split(data, target, ...
分类:
其他好文 时间:
2020-05-23 00:36:52
阅读次数:
72
1.读取 2.数据预处理 3.数据划分—训练集和测试集数据划分 from sklearn.model_selection import train_test_split x_train,x_test, y_train, y_test = train_test_split(data, target, ...
分类:
其他好文 时间:
2020-05-22 21:42:20
阅读次数:
75
绑定过程中须进行字符串和数字转换 <el-card> <el-alert title="修改商品信息" type="info" :closable="false" center show-icon></el-alert> <el-steps :space="200" :active="activeI ...
分类:
其他好文 时间:
2020-05-22 19:27:00
阅读次数:
185
一 纯手撸web框架 HTTP协议 网络协议 HTTP协议 数据传输是明文 HTTPS协议 数据传输是密文 websocket协议 数据传输是密文 四大特性 1.基于请求响应 2.基于TCP、IP作用于应用层之上的协议 3.无状态 4.短/无链接 数据格式 请求首行 请求头 请求体 响应状态码 1X ...
分类:
其他好文 时间:
2020-05-22 18:56:05
阅读次数:
65
<el-select @change="ddd" v-model="value" placeholder="请选择"> <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item" ></ ...
分类:
其他好文 时间:
2020-05-22 17:26:07
阅读次数:
51
最近遇到了一个解析json字符串的问题。由于嵌套的节点较多,刚开始通过遍历的方式去获取,但是遍历首先就是逻辑麻烦,然后想要你需要的东西可能会比较困难。后面发现json的节点是不变的,那么可以通过JsonConvert将json字符串转成指定的model,而这个model所含有的字段要和字符串中的节点 ...
分类:
Web程序 时间:
2020-05-22 17:14:47
阅读次数:
54
pages 16k malloc出来的是clean的 写过之后变成dirty memory mapped files readonly的file是clean的 dirty--memory written by my app ie,malloc, array,string,decoded image ...
分类:
其他好文 时间:
2020-05-22 16:48:20
阅读次数:
66
前言 使用Django开发Web应用的过程中,很多人都是急忙斜视图,写前端页面,把最根本的模型设计给忽略了。模型中定义了数据如何在数据库内保存,也就是数据表的定义方式,这部分工作体现在Django的代码中,其实就是model类的设计。 一.数据库模型设计 作为一个用户登录和注册项目,需要至少保存的是 ...
分类:
其他好文 时间:
2020-05-22 16:46:44
阅读次数:
54
//main.js import components from './components' Vue.use(components) //src/components/index.js import loading from './loading' import model from './mod ...
分类:
其他好文 时间:
2020-05-22 13:01:33
阅读次数:
211