- 博客(3)
- 收藏
- 关注
原创 十五周作业 sklearn
from sklearn import metricsfrom sklearn import datasetsfrom sklearn import cross_validationfrom sklearn.naive_bayes import GaussianNBfrom sklearn.svm import SVCfrom sklearn.ensemble import Random...
2018-06-20 13:24:26 191
原创 14周 Anscombe's quartet
Part 1For each of the four datasets…Compute the mean and variance of both x and yCompute the correlation coefficient between x and yCompute the linear regression line: y=β0+β1x+ϵ (hint: use statsmodel...
2018-06-12 18:34:19 187
原创 十三周作业 python scipy
10.ScipyExercise 10.1: Least squaresGenerate matrix A 2 Rm×n with m > n. Also generate some vector b 2 Rm.Now find x = arg minx kAx - bk2.Print the norm of the residual. import numpy as np impor...
2018-06-05 17:02:29 158
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人