Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Sample: balance data: what should I put as *class* when sample size per class?
Alva
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!
Find more posts tagged with
AI Studio
Sampling
Accepted answers
MartinLiebig
Hi,
you want to take the class (=value) of the label attribute. E.g. 'Yes' or 'No' of Titanic.
Best,
Martin
All comments
MartinLiebig
Hi,
you want to take the class (=value) of the label attribute. E.g. 'Yes' or 'No' of Titanic.
Best,
Martin
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups