![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
袁何苏
这个作者很懒,什么都没留下…
展开
-
python 引入numpy失败解决方法
引入numpy包时发生错误 _NDARRAY_ARRAY_FUNCTION = mu.ndarray.__array_function__ AttributeError: type object 'numpy.ndarray' has no attribute '__array_function__' sudo apt autoremove pypthon3-numpy无效果 sudo...原创 2019-01-17 20:27:44 · 7446 阅读 · 1 评论 -
pandas.describe()输出参数含义
如下图,调用describe()函数时输出如下函数: 1.count:非空值总数 2.mean:非空值的平均值 3.std:方差 4.min:最小值 5. 25%:25%分位数 6. 50%:50%分位数(中位数) 7. 75%: 75%分位数 8.max: 最大值 9.dtype: 数据类型 对分位数的解释:查阅得如下资料: 分位值是随机...原创 2019-01-23 20:45:33 · 4618 阅读 · 0 评论 -
numpy各个函数详解
一、unique()函数详解 定义:返回参数数组中所有不同的值,并按照从小到大排序 可选参数: 1.return_index = True:返回新列表中的每个元素在原列表中第一次出现的索引值。 2.return_inverse = True:返回原列表中每个元素在新列表中出现的索引值。 ...原创 2019-01-25 19:35:05 · 230 阅读 · 0 评论 -
sklean库
一、sklearn.preprocessing.Imputer https://blog.csdn.net/kancy110/article/details/75041923 二、【ML】sklearn中, fit,fit_transform,transform的区别与联系 一般地,如果训练阶段使用fit_transform,则在测试阶段只需要对测试样本进行transform就行了。 ht...转载 2019-02-05 21:48:31 · 219 阅读 · 0 评论 -
NLP中的深度学习笔记
序章 1.NLP对人类语言进行自动分析和表示的计算技术。 2.与自然语言相关的任务:子结构解析、词性标注、机器翻译、对话系统 3.深度学习架构和算法为计算机视觉和传统模式识别领域带来了巨大进展->NLP 4.之前解决NLP问题的的机器学习方法基于浅层模型(SVM、logistic回归),在非常高维和稀疏的特征(one-hot encoding)(独热编码)上训练得到。 5.近年由于 基于稠...翻译 2019-03-01 17:07:16 · 345 阅读 · 0 评论 -
泰坦尼克乘客获救预测(代码-微改进)
#数据分析库 import pandas as pd #科学计算库 import numpy as np from pandas import Series,DataFrame data_train = pd.read_csv("/home/yuan/下载/titanic_train.csv") data_test = pd.read_csv("/home/yuan/下载/titanic_tes...原创 2019-03-06 22:20:37 · 251 阅读 · 1 评论