הטכניון - מכון טכנולוגי לישראל Technion - Israel Institute of Technology Технион - израильский технологический институт ألتخنيون - معهد تكنولوجي لإسرائيل
02360501 - מבוא לבינה מלאכותית02360501 - Introduction to Artificial Intelligence02360501 - Introduction to Artificial Intelligence02360501 - Introduction to Artificial Intelligence
What to do in case that the number of samples does not divide in K?
One fold can be slightly larger than the others (for example, for K = 2 and 11 objects, one fold will be of size 5 and one will be of size 6)
When classifying using a decision tree what should I do if there's an equal number of samples from each tagging in a leaf?
In this case the the classification should be random
What should I do if I encounter a nominal value I haven't seen in the training data?
All the decision rules should be in the form of X > Y, this covers all possible cases
In Question 10: Is the feature of "ID" Nominal or Continuous?
The feature of ID is considered Nominal. Therefore it is appraised using the "information_gain" function and not the "information_gain_for_continuous" function.