python
Andromeda
菜,别骂了
展开
-
【疫情神器】用python里的itchat,写了一个监控微信群成员打卡的小程序
itchat真的是一个很神奇的库啊。具体方法详解的话这篇文章写得很好:文章链接安装itchat的话,使用 pip install itchat即可,如果运行了左边命令行,jupyter还是报错,那么可能是pip下载的位置与jupyter的库位置不符合,具体解决方法参考此文章:文章链接代码如下import itchatfrom itchat.content import TEXTimpor...原创 2020-03-28 18:45:36 · 2108 阅读 · 1 评论 -
Cousera Recommender System专项课程 Assignment1
代码自己一行行敲的,如有问题欢迎评论区讨论。1.Mean Rating: Calculate the mean rating for each movie, order with the highest rating listed first, and submit the top three (along with the mean scores for the top two).impor...原创 2019-11-26 11:52:23 · 513 阅读 · 0 评论 -
Anaconda打不开,运行conda update conda更新的时候,报错CondaHTTPError 000
以前装的Anaconda打不开,出现navigation error于是conda update conda更新,但发现报以下错误,除了根据其他博客中修改 .condarc文件中的源,删掉default,如果还是不能解决。将路径中的https改为http。...原创 2019-11-21 16:47:46 · 4407 阅读 · 0 评论 -
第二次参加数据挖掘比赛体验总结
写晚了,一个多月过去才想起来写,结果自己的代码自己又开始看不懂言归正传,比赛是行里的预测,给了个人信息、历史贷款等数据,让预测贷款是否逾期的概率。模型我尝试了xgb,lgb。一开始走了很多弯路,包括使用SMOTE和ONE-HOT并且填充多种特殊值进行尝试,后面发现其实xgb,lgb都有自己对空值,对需要进行onehot的行列进行特殊处理。在这篇博客记录一下自己所走的弯路1.初情况分析拿到数据...原创 2019-11-15 17:57:20 · 495 阅读 · 0 评论