NCTU-ML_2021
This repo is for ML homework in the spring semester studying in NCTU.
link)
Regularized Linear Model Regression (- Apply LSE and Newton method to do regularized linear model regression.
link)
Naive Bayes Classifier and Online Learning (- Apply naive Bayes classifier to classify MNIST handwritten digit.
- Apply online learning to learn the beta distribution of the parameter p of the coin tossing trials
link)
Bayesian Linear Regression (- Generate data from normal distribution
- Sequentially estimating the mean and variance using online learning algorithm.
- Applying Bayesian linear regression to update the posterior and predictive distribution.
link)
Logistic Regression and EM Algorithm (- Apply logistic regression to classify two groups of data.
- Use EM algorithm to classify MNIST handwritten digits.
link)
Gaussian Process and SVM (- Apply Gaussian process to predict the distribution of the data points.
- SVM accuracy:
- linear kernel: 95.08%
- rbf kernel: 98.28%
- linear + rbs kernel: 95.68%
link)
Kernel K-means and Spectral Clustering (- Apply kernal k-means with different intialization method.
- Apply spectral clustering (both ratio cut and normalize cut).
link)
Kernel Eigenface and t-SNE (- face recognition accuracy:
- K-means: 86.67%
- PCA: 90%
- LDA: 76.67%
- t-sne error: 0.8715
- s-sne error: 1.6821