how to find the number of possible splits) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

how to find the number of possible splits)

Let’s say we’re just using three of the features from our dataset: Sex, Pclass, Age. There are two values for Sex, the Pclass is 1, 2 or 3, and the Age is 5, 10, 20, 25 or 30. How many possible splits are there?

29th Apr 2023, 12:08 PM
DANIEL KASSA MURUTS
DANIEL KASSA MURUTS - avatar
1 Answer
+ 6
30? each class can have 5 possible age. You have 3 class. That's 3*5=15 possible results. You have 2 sex, so 2*3*5=30.
29th Apr 2023, 12:34 PM
Bob_Li
Bob_Li - avatar