You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the classifier on a data set pulled from a database. Let's say it looks like this (details don't really matter)
labels = [quiz1_points, quiz2_points, quiz3_points, quiz4_points]
data = [
[10,3,0,22], # this is user_id = 15
[5,1,5,16], # this is user_id 55
etc..
]
The classifier works great to sort the users into, say 4 groups.
Is there any way to get the user_ids for each group without looping through and using eval([10,3,0,22]) to find that its in group 1?
Is that what a "class value" is for? Data sets have the last element as the "class value"..
The text was updated successfully, but these errors were encountered:
I found the class_value also but couldn't find in the source where it was being used in the dataset. It seems to be added by default if the data_labels are empty.
Support request -- sorry!
I'm using the classifier on a data set pulled from a database. Let's say it looks like this (details don't really matter)
labels = [quiz1_points, quiz2_points, quiz3_points, quiz4_points]
data = [
[10,3,0,22], # this is user_id = 15
[5,1,5,16], # this is user_id 55
etc..
]
The classifier works great to sort the users into, say 4 groups.
Is there any way to get the user_ids for each group without looping through and using eval([10,3,0,22]) to find that its in group 1?
Is that what a "class value" is for? Data sets have the last element as the "class value"..
The text was updated successfully, but these errors were encountered: