Machine Learning (COMP130172) course of Fudan University, Fall 2023. Instructed by Professor Mingmin Chi
- Using the k-NN for classification on wine quality dataset available at Kaggle
- Design different regression models to predict housing prices based on Boston price dataset, which can be downloaded directly on Kaggle or loaded on scikit-learn
- You should at least try Ridge Regression & Lasso regression
- Based on MNIST dataset, use SVM classifier to classify the handwritten digits.
- Requirements:
- Try different kernels, and find the best hyperparameter settings (including kernel parameters and the regularization parameter) for each of the kernel types
- Visualize SVM boundary
- Try other methods to classify MNIST dataset, such as least squares with regularization / Fisher discriminant analysis (with kernels) / Perceptron (with kernels) / logistic regression / MLP-NN with two different error functions.
- Using support vector regression to predict housing prices. The data is available on Kaggle
- Use Torchvision API to get the MNIST Dataset(some handwriting figures), convert them from images to vector tensors. Then, try to build
nn.Linear()
layers, (which equals to W & b). Try to feed the vector tensors to Linear Layer and Activation Functions, to get the predict label. Use the loss function to compute the difference between predict label and the ground truth label, useloss.backward()
function to get the gradient of each Linear Layer's parameters. Finally, use the optimizers (SGD or others) to make the model converge.