- 博客(3)
- 收藏
- 关注
原创 高级编程技术(Python)作业17
Exercises for sklearn: Solution:from sklearn import datasets, cross_validation, metricsfrom sklearn.naive_bayes import GaussianNBfrom sklearn.svm import SVCfrom sklearn.ensemble import Rando...
2018-06-20 17:42:46 235
原创 高级编程技术(Python)作业16
题目来源: https://nbviewer.jupyter.org/github/schmit/cme193-ipython-notebooks-lecture/blob/master/Exercises.ipynb Solution:print("the mean of x and y:")print(anascombe.groupby(["dataset"])[['x', ...
2018-06-12 22:11:11 1722
原创 高级编程技术(Python)作业15
Exercises for Scipy Solution:import numpy as npimport scipy.linalgm = 10n = 5A = np.random.standard_normal((m, n))b = np.random.standard_normal((m, 1))x = scipy.linalg.lstsq(A, b)[0]norm...
2018-06-04 18:00:59 279
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人