How do I handle this case (value to classify dosn't exist under node) using decision tree?

32 Views Asked by At

I implemented decision tree and let's say for example the following tree is what i got :

enter image description here

and my instance to classify is educationField = '2' and departement = 'HR'

How can i handle this ? i thought of taking the max class where educationField = 2 So the prediction will be YES, will this be correct ?

0

There are 0 best solutions below