├── .gitignore ├── README.md ├── ex1 ├── PE1 - Linear Regression (Exercises).ipynb ├── ex1data1.txt ├── ex1data2.txt └── notes │ └── gradientdescent.png ├── ex2 ├── PE2 - Logistic Regression (Exercises).ipynb ├── ex2data1.txt ├── ex2data2.txt └── notes │ └── sigmoid.png ├── ex3 ├── PE3 - Multi-class Classification and Neural Networks (Exercises).ipynb ├── ex3data1.mat ├── ex3weights.mat └── notes │ └── model.png ├── ex4 ├── PE4 - Learning Neural Networks (Exercises).ipynb ├── ex4data1.mat └── ex4weights.mat ├── ex5 ├── PE5 - Logistic Regression (Exercises).ipynb └── ex5data1.mat ├── ex6 ├── Support Vector Machines (Exercises).ipynb ├── emailSample1.txt ├── ex6data1.mat ├── ex6data2.mat ├── ex6data3.mat ├── process_email.py ├── spamTest.mat ├── spamTrain.mat └── vocab.txt ├── ex7 ├── K-means Clustering and Principal Component Analysis (Exercises).ipynb ├── bird_small.png ├── ex7data1.mat ├── ex7data2.mat └── ex7faces.mat ├── ex8 ├── Anomaly Detection and Recommender Systems (Exercises).ipynb ├── ex8_movieParams.mat ├── ex8_movies.mat ├── ex8data1.mat ├── ex8data2.mat ├── images │ └── mgd.png ├── load_movie_list.py └── movie_ids.txt ├── requirements.txt └── week6 ├── 1-Evaluating-a-Learning-Algorithm.md ├── high_bias.png ├── high_variance.png └── learning_curves.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/README.md -------------------------------------------------------------------------------- /ex1/PE1 - Linear Regression (Exercises).ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex1/PE1 - Linear Regression (Exercises).ipynb -------------------------------------------------------------------------------- /ex1/ex1data1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex1/ex1data1.txt -------------------------------------------------------------------------------- /ex1/ex1data2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex1/ex1data2.txt -------------------------------------------------------------------------------- /ex1/notes/gradientdescent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex1/notes/gradientdescent.png -------------------------------------------------------------------------------- /ex2/PE2 - Logistic Regression (Exercises).ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex2/PE2 - Logistic Regression (Exercises).ipynb -------------------------------------------------------------------------------- /ex2/ex2data1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex2/ex2data1.txt -------------------------------------------------------------------------------- /ex2/ex2data2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex2/ex2data2.txt -------------------------------------------------------------------------------- /ex2/notes/sigmoid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex2/notes/sigmoid.png -------------------------------------------------------------------------------- /ex3/PE3 - Multi-class Classification and Neural Networks (Exercises).ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex3/PE3 - Multi-class Classification and Neural Networks (Exercises).ipynb -------------------------------------------------------------------------------- /ex3/ex3data1.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex3/ex3data1.mat -------------------------------------------------------------------------------- /ex3/ex3weights.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex3/ex3weights.mat -------------------------------------------------------------------------------- /ex3/notes/model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex3/notes/model.png -------------------------------------------------------------------------------- /ex4/PE4 - Learning Neural Networks (Exercises).ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex4/PE4 - Learning Neural Networks (Exercises).ipynb -------------------------------------------------------------------------------- /ex4/ex4data1.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex4/ex4data1.mat -------------------------------------------------------------------------------- /ex4/ex4weights.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex4/ex4weights.mat -------------------------------------------------------------------------------- /ex5/PE5 - Logistic Regression (Exercises).ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex5/PE5 - Logistic Regression (Exercises).ipynb -------------------------------------------------------------------------------- /ex5/ex5data1.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex5/ex5data1.mat -------------------------------------------------------------------------------- /ex6/Support Vector Machines (Exercises).ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex6/Support Vector Machines (Exercises).ipynb -------------------------------------------------------------------------------- /ex6/emailSample1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex6/emailSample1.txt -------------------------------------------------------------------------------- /ex6/ex6data1.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex6/ex6data1.mat -------------------------------------------------------------------------------- /ex6/ex6data2.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex6/ex6data2.mat -------------------------------------------------------------------------------- /ex6/ex6data3.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex6/ex6data3.mat -------------------------------------------------------------------------------- /ex6/process_email.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex6/process_email.py -------------------------------------------------------------------------------- /ex6/spamTest.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex6/spamTest.mat -------------------------------------------------------------------------------- /ex6/spamTrain.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex6/spamTrain.mat -------------------------------------------------------------------------------- /ex6/vocab.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex6/vocab.txt -------------------------------------------------------------------------------- /ex7/K-means Clustering and Principal Component Analysis (Exercises).ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex7/K-means Clustering and Principal Component Analysis (Exercises).ipynb -------------------------------------------------------------------------------- /ex7/bird_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex7/bird_small.png -------------------------------------------------------------------------------- /ex7/ex7data1.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex7/ex7data1.mat -------------------------------------------------------------------------------- /ex7/ex7data2.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex7/ex7data2.mat -------------------------------------------------------------------------------- /ex7/ex7faces.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex7/ex7faces.mat -------------------------------------------------------------------------------- /ex8/Anomaly Detection and Recommender Systems (Exercises).ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex8/Anomaly Detection and Recommender Systems (Exercises).ipynb -------------------------------------------------------------------------------- /ex8/ex8_movieParams.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex8/ex8_movieParams.mat -------------------------------------------------------------------------------- /ex8/ex8_movies.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex8/ex8_movies.mat -------------------------------------------------------------------------------- /ex8/ex8data1.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex8/ex8data1.mat -------------------------------------------------------------------------------- /ex8/ex8data2.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex8/ex8data2.mat -------------------------------------------------------------------------------- /ex8/images/mgd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex8/images/mgd.png -------------------------------------------------------------------------------- /ex8/load_movie_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex8/load_movie_list.py -------------------------------------------------------------------------------- /ex8/movie_ids.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/ex8/movie_ids.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/requirements.txt -------------------------------------------------------------------------------- /week6/1-Evaluating-a-Learning-Algorithm.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/week6/1-Evaluating-a-Learning-Algorithm.md -------------------------------------------------------------------------------- /week6/high_bias.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/week6/high_bias.png -------------------------------------------------------------------------------- /week6/high_variance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/week6/high_variance.png -------------------------------------------------------------------------------- /week6/learning_curves.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickwierenga/CS229-Python/HEAD/week6/learning_curves.png --------------------------------------------------------------------------------