Skip to content

吴恩达《机器学习》课后习题 Python 版 These are Exercises for Coursera's MachineLearning (by Andrew Ng) by Python.

Notifications You must be signed in to change notification settings

X-21/Coursera-Machine-Learning-Python-Code

Repository files navigation

ML-EX-Python

These are Exercises for Coursera's MachineLearning (by Andrew Ng) by Python.

Image of EX-example

ex1

ex1_1 Linear regression with one variable

image_ex1_1


ex1_2 Visualizing J(θ) (Surface)

image_ex1_2


ex1_2 Visualizing J(θ) (Contour)

image_ex1_3


ex1_multi_1 Linear regression with multiple variables

Convergence of gradient descent with an appropriate learning rate image_ex1_multi_1


ex2

ex2_1 Logistic Regression

image_ex2_1


ex2_2 Logistic Regression

Training data with decision boundary image_ex2_2


ex2_LR_1 Regularized Logistic Regression

image_ex2_LR_1


ex2_LR_2 Regularized Logistic Regression

Training data with decision boundary (λ = 1) image_ex2_LR_2


ex3

ex3_1 Multi-class Classification(MNIST)

image_ex3_1


ex5

ex5_1 Polynomial Regression Fit

image_ex5_1


ex5_2 Polynomial Regression Learning Curve

image_ex5_2


ex5_3 Regularization and Bias/Variance

image_ex5_3


ex6

ex6_1 SVM Decision Boundary with C = 1

image_ex6_1


ex6_2 SVM (Gaussian Kernel) Decision Boundary (Example Dataset 2)

image_ex6_2


ex6_3 SVM (Gaussian Kernel) Decision Boundary (Example Dataset 3)

image_ex6_3


ex7

ex7_1 K-means on example dataset

image_ex7_1


ex7_2 Original and reconstructed image (when using K-means to compress the image)

image_ex7_2


ex7_3 PCA - Computed eigenvectors of the dataset

image_ex7_3


ex7_4 The normalized and projected data after PCA

image_ex7_4


ex7_5 Original images of faces and ones reconstructed from only the top 100 principal components

image_ex7_5


ex7_6 PCA for visualization - 3D

image_ex7_6


ex7_7 2D visualization produced using PCA

image_ex7_7


ex8

ex8_1 The classified anomalies

image_ex8_1

About

吴恩达《机器学习》课后习题 Python 版 These are Exercises for Coursera's MachineLearning (by Andrew Ng) by Python.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages