Skip to content

SMOTE: Synthetic Minority Over-sampling Technique - Implementation and experiments on datasets

Notifications You must be signed in to change notification settings

Nambi-Srivatsav/SMOTE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

SMOTE

SMOTE: Synthetic Minority Over-sampling Technique - Implementation and experiments on datasets

Precondition

Please note that SMOTE percentage should be 100% or more. The program will exit if lesser values are passed The datasets have been included in the folder itself.

Usage

To run the program for three datasets- Navigate to 'smote' folder and please run the following command.

python main.py

Configuration

Datasets are already present in the folder. To select respective dataset, please have one of the following lines in main function.

generate_smote_and_compare(filename='pima-indians-diabetes.csv', smote_percentage=100) ## For Pima dataset 		
generate_smote_and_compare(filename='phoneme.csv', smote_percentage=200) ## For Phoneme dataset
generate_smote_and_compare(filename='covtype.csv', smote_percentage=300) ## For Forest Cover dataset

About

SMOTE: Synthetic Minority Over-sampling Technique - Implementation and experiments on datasets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages