![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
Aki-Z
对实践应用和统计感兴趣的数据科学学习者(`・ω・´)
展开
-
【Machine Learning, Coursera】Week2 ex1: Linear Regression with Python
-linearReg.pyimport numpy as npimport matplotlib.pyplot as pltdef warmUpExercise(): 'An example function that returns the 5x5 identity matrix' A = np.eye(5) print(A)def plotData(X,...原创 2018-07-31 10:38:22 · 189 阅读 · 0 评论 -
【Machine Learning, Coursera】Week3 ex1: Logistic Regression with Python
import numpy as npimport matplotlib.pyplot as pltfrom scipy.optimize import minimizedef plotData(X,y): """ Plot the data points with + for the positive examples and o for the negative ...原创 2018-08-07 18:10:51 · 258 阅读 · 0 评论