This repository contains the programs that I worked out in Machine Learning Laboratory.
- Lab 1: Introduction to EDA
- Lab 2: Principal Component Analysis
- Lab 3: K-Nearest Neighbors
- Lab 4: Linear Discriminant Analysis and Linear Regression
- Lab 5: Logistic Regression
- Lab 6: Naive Bayes Classifier
- Lab 7, 8: Support Vector Machine
- Lab 9: Multi-Layer Feed Forward Neural Network and Regularization Techniques
- About MLFFNN and Regularization Techniques
- MLFFNN on Breast Cancer Dataset (Text) (not for exam)
- MLFFNN on MNIST Dataset (Image) - Short
- MLFFNN on MNIST Dataset (Image) - Full
- Regularization Techniques on Breast Cancer Dataset (Text) (not for exam)
- Regularization Techniques on MNIST Dataset (Image)
- Regularization Techniques with comparision on Diabetes Dataset (Text) (Alternative program)
- Regularization Techniques on Obesity Classification Dataset (Text)
- Lab 10, 11: Artificial Neural Network, Convolutional Neural Network; Hidden Markov Model based techinques (Viterbi Algorithm, Trellis, Long Short Term Memory)
- Complete ML Codes Program
Python and packages in requirements.txt
file installed.
Note
You can install all the required packages using the command pip install -r requirements.txt
.
If you are using conda
to manage your environments, you can create a new environment for this repository with the command conda create -n ml-lab
and activate it with the command conda activate ml-lab
.
Tip
For faster environment solving in Conda, I would suggesting using the libmamba
solver. You can set it as the default solver using the command conda config --set solver libmamba
.
Then, you can install all the required packages using the command conda install --file requirements.txt
.
Alternatively, you can use the container image I created with all the packages preinstalled.
You can install it in Distrobox with the command distrobox create -i ghcr.io/kbdharun/ml-lab-image:latest -n ml
and use it with the command distrobox enter ml
.
Additionally, you can verify the authenticity of the container image using cosign
(download the cosign.pub
file from here and execute the following command):
cosign verify --key cosign.pub ghcr.io/kbdharun/ml-lab-image:latest