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-21 09:55:55
阅读次数:
60
1.在html里引入包 <script src="https://cdn.jsdelivr.net/npm/es6-module-loader@0.17.11/dist/es6-module-loader.js"></script> 2.编写es6文件 // mymodule.js: export ...
分类:
Web程序 时间:
2020-05-20 12:26:28
阅读次数:
210
led-drv.c: 1 #include <linux/module.h> 2 #include <linux/kernel.h> 3 #include <linux/fs.h> 4 #include <linux/init.h> 5 #include <linux/delay.h> 6 #inc ...
分类:
其他好文 时间:
2020-05-19 23:00:02
阅读次数:
66
IDEA基础功能概览: shortcut(edit, 代码片段, 功能), 版本控制(VCS: git, github, local history) Debug, javadoc generator, database, web deployment project&module 等概念, 模板, ...
分类:
其他好文 时间:
2020-05-19 22:26:35
阅读次数:
70
map 指令介绍: map 指令是由 ngx_http_map_module 模块提供的,默认情况下安装 nginx 都会安装该模块。 map 的主要作用是创建自定义变量,通过使用 nginx 的内置变量,去匹配某些特定规则,如果匹配成功则设置某个值给自定义变量。 而这个自定义变量又可以作于他用。 ...
分类:
其他好文 时间:
2020-05-19 14:39:13
阅读次数:
79
1.启动go module set GO111MODULE=on GO111MODULE=off 禁用模块支持,编译时会从GOPATH和vendor文件夹中查找包 GO111MODULE=on启用模块支持,编译时会忽略GOPATH和vendor文件夹,只根据 go.mod下载依赖 GO111MODU ...
分类:
其他好文 时间:
2020-05-19 14:38:46
阅读次数:
60
class Net(nn.Module): def __init__(self , model): super(Net, self).__init__() #取掉model的后两层 self.resnet_layer = nn.Sequential(*list(model.children())[: ...
分类:
其他好文 时间:
2020-05-19 13:01:03
阅读次数:
69
Kivy 使用Pyinstaller打包报错:No module named pkg_resources.py2_warn ...
分类:
其他好文 时间:
2020-05-19 12:23:42
阅读次数:
161
Remove kernel In CentOS8 1. check up using kernel : [root@test ~]# uname -aLinux test 4.18.0-147.8.1.el8_1.x86_64 #1 SMP Thu Apr 9 13:49:54 UTC 2020 x ...
分类:
其他好文 时间:
2020-05-19 01:02:54
阅读次数:
69
ngx_http_index_module 描述 找默认页面 语法 location / { index index.$geo.html index.html; }#Syntax: index file ...; #Default: index index.html;#Context: http, ...
分类:
其他好文 时间:
2020-05-19 00:25:10
阅读次数:
57