The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

No Number of Neighbors fit to SMOTE Upsampling

aylumnaaylumna Member Posts: 3 Contributor I
I use SMOTE to handle my imbalance class (the class contains 3 types). But it shows error every i run the process. The error shows "Too many neighbors". Even i set to the number of neighbors is 1,2,3,4 or 5.
Tagged:

Answers

  • ceaperezceaperez Member Posts: 541 Unicorn
    Hello @aylumna
    Probably this is due to your dataset doesn't contain enough samples of your minority class. Check the attribute and the observations per class. 

    Best
    Cesar
Sign In or Register to comment.