Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 30 of 72
Free Preview · 72 of 238 · questions 1–72 of 238 are free. Sign up free to sync your progress across devices.
Select all answers that apply.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
,B - Correct answer s : A, B — `"accuracy"`, which reports the overall fraction of rows correctly classified across all ten classes.; `"weightedPrecision"`, which averages per-class precision weighted by each class's support in the dataset. A . `"accuracy"` is a valid `MulticlassClassificationEvaluator` metric name and directly reports the overall fraction of correctly classified rows across all classes, matching the request for a single correctness metric. B . `"weightedPrecision"` is a valid metric name that averages per-class precision weighted by class support, matching the request for a support-weighted precision average across the ten classes. C . `"f1"` is a valid `MulticlassClassificationEvaluator` metric, but it reports a precision/recall harmonic mean rather than a support-weighted precision average, so it does not satisfy the second requirement specifically. D . `"areaUnderROC"` belongs to `BinaryClassificationEvaluator` for two-class problems; it is not a valid `metricName` on `MulticlassClassificationEvaluator` for a ten-class problem. E . `"rmse"` is a `RegressionEvaluator` metric for continuous numeric targets; it is not a valid `metricName` on `MulticlassClassificationEvaluator` for categorical class labels. F . `"r2"` is a `RegressionEvaluator` metric describing explained variance for continuous targets; it is not defined for a multiclass categorical classification problem.