In this assignment we had to first balance the unbalance data then divide the data into 5 samples using 5 different sampling techniques.After which we had to apply 5 different machine learning models on each sample and find out which ML model gave the highest accuracy.
There are 2 methods to balance dataset :-
I have used Oversampling.
I have used this Formula to calculate sample size

sample size = 384 Hence size for 5 samples = 384*5 = 1920
I have used these 5 sampling techniques:-
- Random Sampling
- Systematic Sampling
- Cross-val Sampling
- Stratified Sampling
- Bootstrap Sampling
Used the following 5 ML Classification Models :-
- LogisticRegression
- GaussianNB
- KNeighborsClassifier
- SGDClassifier
- SVC
- Maximum value in the matrix: 98.18
- Row name at max value: KNeighborsClassifier
- Column name at max value: Cross-val