Spring 2021 Machine Learning (CS 181) Homework 3
Solutions contained in the
personal-solutions
folder
- Comparing predictions made with a maximum-likelihood estimation (MLE), a maximum a posterior estimator (MAP), and a full posterior predictive
- Calculating gradients for backpropagation with a simple multi-layer perceptron (MLP)
- Using PyTorch to implement neural networks for image classification
Implementation contained in the
code
folder
- Plots and compares the distributions for MLE, MAP, and a full posterior predictive as each of 14 data points are gathered
- Referred to as
T3_P3.ipynb
in the specifications - Jupyter Notebook file containing specifications on implementing a Neural Network using PyTorch to classify images
- Implementation of a Neural Network with 3 fully connected linear layers (with 1000 nodes in each hidden layer) using ReLU activation functions
- Implementation of a Neural Network with 4 fully connected linear layers (with either 4000 or 5000 nodes in each hidden layer) using ReLU activation functions