Subject
Computer Science
Topic
Artificial Intelligence
A rare class must appear proportionally in both training and test data. Which split is appropriate?
A rare class must appear proportionally in both training and test data. Which split is appropriate?
a)
Single-class splitb)
Random label replacementc)
Stratified splitd)
Chronologically reversed splitExplanation
Stratification preserves class proportions and reduces the chance that a rare class disappears from a partition.Related questions
A classifier has TP=40, FP=10, FN=5, TN=45. What is its accuracy rounded to two decimals?A classifier has TP=30, FP=10, FN=20, TN=40. What is its precision rounded to two decimals?A classifier has TP=36, FP=4, FN=9, TN=51. What is its recall rounded to two decimals?A classifier has TP=24, FP=6, FN=6, TN=64. What is its f1 rounded to two decimals?In the figure, a binary node contains class counts 6 and 2. What is its entropy in bits, rounded to three decimals?In the figure, a split changes parent counts 6,4 into left 4,1 and right 2,3. What is information gain rounded to three decimals?A condition has prior 0.1, test sensitivity 0.8, and false-positive rate 0.2. What is P(condition given positive), rounded to three decimals?A feature computed after the prediction time is included during training. What problem does this create?
