- 博客(5)
- 收藏
- 关注
原创 ANN 入门 ,简单的神经系统网络
数据的链接是Kaggle 关于人心脏病的参数的https://www.kaggle.com/ronitf/heart-disease-uci先读取数据import pandas as pdimport numpy as npdataset=pd.read_csvdataset.head(10)("heart.csv")在这里插入代码片`经过数据介绍发现 虽然都是数据信息可是其中有四...
2019-03-30 15:59:42 364
原创 K-Means Clustering
K-Means Clustering:Step 1: Choose the number of KStep 2: Select centroidsStep 3: Assign each data to the closed centeroid point:Step 4: Compute the new central point of each cluster:Step 5:Re...
2019-03-09 15:43:01 409
原创 RNN introduction
RNN: Recurrent Neural NetworkStructure: One to many , Many to one, Many to manyVanishing Gradient Descent:LSTM: Long short-Term Memory:
2019-03-08 17:10:57 202
原创 Python 进行特征缩放的方法
我们调用from sklearn.preprocessing 中的StandardScaler公式为 (x-平均值)/标准差>>> scaler = preprocessing.StandardScaler().fit(X_train)>>> scalerStandardScaler(copy=True, with_mean=True, with_std...
2019-03-03 21:38:32 1710
原创 Python 如何将dataframe中的分类数据转化为数值数据
核心方法:pd.get_dummies()首先我们看一个包含分类数据的例子:import pandas as pdimport matplotlib.pyplot as pltimport numpy as npfile=pd.read_csv('Churn_Modelling.csv')file=file.iloc[:,3:]file.head(10)我们可以看到实例数据中的分...
2019-03-02 23:17:48 18456 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人