学习笔记
Crazysheep123
这个作者很懒,什么都没留下…
展开
-
Python常用数据处理笔记
数据读取df=pd.read_excel()df=pd.read_csv('target_file.csv',encoding='utf8')column选取df['column1']df[['column1','column2']]df[0:n] #取第0到n-1行df[['column1','column2']].iloc[0:2]df[['column1','column2']][df['column']>1000].head(100) #按照条件查询,相当于if....原创 2020-07-21 17:25:49 · 208 阅读 · 0 评论 -
R-data visualisation
1:bar chartbarplot(y, names.arg = x,xlab = "x", ylab = "y")# orlibrary(ggplot2)ggplot(data.frame) + geom_bar(aes(x = x, y = y), stat = "identity")y variable is a column in the dataset stat=“iden...原创 2020-01-09 03:43:13 · 210 阅读 · 0 评论 -
K-NN笔记1.0
k-NN(the k-nearest neighbors algorithm): ia a nonparametric statistics (instance-based)used for classification and regression(robust and versatile )FeatureOutputClassificationClassRegre...原创 2019-11-18 06:52:44 · 217 阅读 · 1 评论