![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
机器学习
文章平均质量分 62
binglingzy666
愿所有快乐无需假装。此生尽兴,赤诚善良。
展开
-
Python scikit-learn机器学习工具包学习笔记:cross_validation模块
转载地址:http://blog.sina.com.cn/s/blog_6a90ae320101a5rc.html sklearn.cross_validation模块的作用顾名思义就是做cross validation的。 cross validation大概的意思是:对于原始数据我们要将其一部分分为train data,一部分分为test data。train data转载 2017-04-17 17:38:57 · 1009 阅读 · 0 评论 -
python:strip()、rstrip()、lstrip()
转载自:http://www.cnblogs.com/starof/p/4651288.html Python中strip用于去除字符串的首位字符,同理,lstrip用于去除左边的字符,rstrip用于去除右边的字符。 这三个参数都可以传入一个参数,指定要去除的首尾字符。 需要注意的是,传入的是一个字符数组,编译器去除两端所有匹配的字符,直到没有匹配的字符,比如:转载 2017-04-18 10:33:36 · 365 阅读 · 0 评论 -
Python数据分析几个比较常用的方法
原文地址:http://blog.sina.com.cn/s/blog_be2f16060102vkaw.html 1,表头或是excel的索引如果是中文的话,输出会出错 解决方法: python的版本问题!换成python3就自动解决。 2,如果有很多列,如何输出指定的列? 需求情况:有的时候,数据很多,但是只要仅仅对部分列的数据进行分析的话,要怎么做? 解决方法: d转载 2017-04-18 11:11:10 · 874 阅读 · 0 评论 -
Pyhton 编辑错误
一、问题: TabError: Inconsistent use of tabs and spaces in indentation 解决方法: 把Tab都换成空格 转载:http://www.th7.cn/Program/c/201508/521552.shtml转载 2017-04-19 17:04:09 · 301 阅读 · 0 评论 -
word2vec中的数学原理详解
word2vec 中的数学原理详解 转载自:http://blog.csdn.net/itplus/article/details/37969519 word2vec 是 Google 于 2013 年开源推出的一个用于获取 word vector 的工具包,它简单、高效,因此引起了很多人的关注。由于 word2vec 的作者 Tomas Mikolov 在两篇相关的转载 2017-04-24 21:33:26 · 1509 阅读 · 0 评论 -
Sentiment Analysis Using Doc2Vec
Sentiment Analysis using Doc2Vec Word2Vec is dope. In short, it takes in a corpus, and churns out vectors for each of those words. What’s so special about these vectors you ask? Well, similar words a转载 2017-04-25 20:28:58 · 1123 阅读 · 0 评论