
机器学习
文章平均质量分 50
coder_wu
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Machine learning series: Handling Missing Values
The method cann’t deal with ‘object’ type data Explore missing values missing_val_count_by_column = (data.isnull().sum()) print(missing_val_count_by_column[missing_val_count_by_column > 0]) A simp...原创 2018-11-25 18:21:02 · 292 阅读 · 0 评论 -
机器学习——入门
import pandas as pd file_path = '' name_data = pd.read_csv(file_path) name_data.describe() ## describe function can tell you the information of each column in data, such as count(how manty rows have n...原创 2018-11-24 17:48:07 · 227 阅读 · 0 评论 -
Machine learning series:How to handle categorical variable
One hot encoding one hot encoding creates new (binary) columns, indicating the presence of each possible value from the original data. ## explore the data type print(train_data.dtypes) ## one hot enco...原创 2018-11-24 19:16:11 · 354 阅读 · 0 评论