Home
›
Discussions
›
Community Q&A
No Number of Neighbors fit to SMOTE Upsampling
aylumna
New Altair Community Member
September 2021
edited November 5
in
Community Q&A
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:
AI Studio
SMOTE
0
Answers
Caperez
Altair Community Member
September 2021
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
0
Categories
All Categories
49.8K
Discussions
2K
Global Discussions
2K
Altair Exchange
9
Community News and Instructions