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
Sample: balance data: what should I put as *class* when sample size per class?
Hello everyone!
I have a problem with the balance data in the operator sample. When I have to sample size per class what should I put for class? I have one variable that I have set to 'label' and that is the variable I want to balance the data on.
The error when I try for example class='label' or the name of the class (in my case 'species') and the size='50' is:
Message: Calculation of covariance matrices not possible for data sets with zero rows.
Thanks!
I have a problem with the balance data in the operator sample. When I have to sample size per class what should I put for class? I have one variable that I have set to 'label' and that is the variable I want to balance the data on.
The error when I try for example class='label' or the name of the class (in my case 'species') and the size='50' is:
Message: Calculation of covariance matrices not possible for data sets with zero rows.
Thanks!
Tagged:
0
Best Answer
-
MartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data ScientistHi,you want to take the class (=value) of the label attribute. E.g. 'Yes' or 'No' of Titanic.Best,Martin- Sr. Director Data Solutions, Altair RapidMiner -
Dortmund, Germany5