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
Example set has no nominal label: using shuffled partition instead of stratified partition!
User111113
Member Posts: 24 Maven
I am getting this error while running my model as a warning actually and I tried to change data type of one field from real to nominal but this warning still didn't go away. I am using GBT for prediction for my data set.
Can you tell me how to resolve this issue. thank you
Can you tell me how to resolve this issue. thank you
1
Best Answer
-
BalazsBarany Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 UnicornHi @User111113,
this warning applies to the attribute marked as label. This is the one you're predicting.
Stratified sampling is only available for nominal labels, for classification problems. If your label is numeric, then you're doing regression, which is fine.
Stratified sampling (e. g. in Split or Cross Validation) means keeping a similar ratio of the target classes in the test and the training sets. This is not available with regression, but that's OK.
If you set the operator that is now set to stratified sampling to shuffled, the warning should disappear.
Regards,
Balázs7