会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
首页
新随笔
订阅
管理
上一页
1
···
136
137
138
139
140
141
142
143
144
···
341
下一页
2021年2月12日
PyTorch SAVING AND LOADING MODELS
摘要: Saving & Loading Model for Inference Save/Load state_dict (Recommended) Save: torch.save(model.state_dict(), PATH) Load: model = TheModelClass(*args,
阅读全文
posted @ 2021-02-12 22:30 emanlee
阅读(60)
评论(0)
推荐(0)
2021年2月9日
PyCharm 调试 debug 查看变量的值
摘要: debug 时,右键, View as Array
阅读全文
posted @ 2021-02-09 16:58 emanlee
阅读(2209)
评论(0)
推荐(0)
2021年2月8日
The default of the `iid` parameter will change from True to False in version 0.22 and will be removed in 0.24
摘要: from sklearn.model_selection import GridSearchCVfrom sklearn.model_selection import train_test_split Anaconda 3 \lib\site-packages\sklearn\model_selec
阅读全文
posted @ 2021-02-08 23:08 emanlee
阅读(584)
评论(0)
推荐(0)
2021年2月7日
Support Vector Regression(SVR) 资料
摘要: Support Vector Regression(SVR) 资料[机器学习]回归--Support Vector Regression(SVR)https://blog.csdn.net/zwqjoy/article/details/80251707 python 机器学习之支持向量机非线性回归S
阅读全文
posted @ 2021-02-07 21:14 emanlee
阅读(1245)
评论(0)
推荐(0)
2021年2月6日
Python pandas dataframe
摘要: dataframe 列类型 df['客户id'] = df['客户id'].apply(pd.to_numeric) df = pd.DataFrame(a, dtype='float') #示例1 df = pd.DataFrame(data=d, dtype=np.int8) #示例2 df =
阅读全文
posted @ 2021-02-06 12:38 emanlee
阅读(278)
评论(0)
推荐(0)
python用pd.read_csv()方法来读取csv文件
摘要: import pandas as pd print("************取消第一行作为表头*************") data2 = pd.read_csv('rating.csv',header=None) print("************为各个字段取名**************
阅读全文
posted @ 2021-02-06 11:17 emanlee
阅读(10187)
评论(0)
推荐(0)
python pandas 交叉表, 透视表
摘要: 透视表 pivot table透视表(pivot table)是常见的数据汇总工具,它根据一个或多个键对数据进行聚合,根据行和列上的分组键将数据分配到矩形区域中。pandas中使用pivot_table方法创建透视表,pd.pivot_table(data,values=None,index=Non
阅读全文
posted @ 2021-02-06 10:33 emanlee
阅读(418)
评论(0)
推荐(0)
2021年2月5日
MySQL 运算符
摘要: 算术运算符 MySQL 支持的算术运算符包括: 运算符作用 + 加法 - 减法 * 乘法 / 或 DIV 除法( DIV 整除,结果为整数; / 除法结果带有小数) % 或 MOD 取余 比较运算符 SELECT 语句中的条件语句经常要使用比较运算符。通过这些比较运算符,可以判断表中的哪些记录是符合
阅读全文
posted @ 2021-02-05 23:34 emanlee
阅读(157)
评论(0)
推荐(0)
findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans.
摘要: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans. 解决方法 1 在C盘搜索 simhei.ttf 2 参考: https://blog.csdn.net/geek64581/article/det
阅读全文
posted @ 2021-02-05 17:40 emanlee
阅读(2955)
评论(0)
推荐(1)
Centos 7 下载安装 mysql server 5.6 (亲测可用)
摘要: [root@localhost ~]# wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm[root@localhost ~]# rpm -ivh mysql-community-release-el7-5.n
阅读全文
posted @ 2021-02-05 16:49 emanlee
阅读(235)
评论(0)
推荐(0)
上一页
1
···
136
137
138
139
140
141
142
143
144
···
341
下一页