Skip to content

🦾 复旦大学 机器学习 Fudan University Machine Learning (COMP130172) course assignments, Fall 2023.

License

Notifications You must be signed in to change notification settings

JinnyWong/MachineLearning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦾 MachineLearning

Machine Learning (COMP130172) course of Fudan University, Fall 2023. Instructed by Professor Mingmin Chi

Assignment 1: Wine Quality Classification using K-Nearest Neighbours

  • Using the k-NN for classification on wine quality dataset available at Kaggle

Assignment 2: Regression for Housing Price Predictions

  • 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

Assignment 3: Support Vector Machines

  • 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.

Assignment 4: Support Vector Regression

  • Using support vector regression to predict housing prices. The data is available on Kaggle

Assignment 5: MultiLayer Perceptron

  • 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, use loss.backward() function to get the gradient of each Linear Layer's parameters. Finally, use the optimizers (SGD or others) to make the model converge.

About

🦾 复旦大学 机器学习 Fudan University Machine Learning (COMP130172) course assignments, Fall 2023.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published