analyticalmindsltd / smote_variants

A collection of 85 minority oversampling techniques (SMOTE) for imbalanced learning with multi-class oversampling and model selection features
http://smote-variants.readthedocs.io
MIT License
623 stars 138 forks source link

added example to oversample image data using LLE Smote. #36

Closed sakethbachu closed 3 years ago

sakethbachu commented 3 years ago

@gykovacs I have added the example where I have demonstrated the usage of LLE-Smote on image data. Please review it and let me know if there are any changes to make :)

codecov[bot] commented 3 years ago

Codecov Report

Merging #36 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #36   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files           3       3           
  Lines        7412    7413    +1     
======================================
- Misses       7412    7413    +1     
Impacted Files Coverage Δ
smote_variants/_smote_variants.py 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 122ced6...32ee0fd. Read the comment docs.

sakethbachu commented 3 years ago

@gykovacs I did not quite understand the build error :/

gykovacs commented 3 years ago

Great job! :) I look into the build error, might be some configurational issue.

gykovacs commented 3 years ago

Yes, it is, could you please edit the requirements.txt file to "numpy>=1.16.0,<1.19.0"?

sakethbachu commented 3 years ago

@gykovacs I have not added any requirements.txt file, ;(

gykovacs commented 3 years ago

No, that' not a problem. Seemingly, since the latest upgrade, numpy as upgraded and/or tensorflow changed its requirements to numpy < 1.19.0, so even though the tests passed by the time of the latest upgrade, now, installing the latest numpy does not work with tensorflow. So its not your fault :). Let me fix it in master.

sakethbachu commented 3 years ago

Thank you so much, I wish to contribute more in the future 💯

gykovacs commented 3 years ago

Thank you for the contribution! Great, any further contribution is very welcome! :)