A SAS data scientist needs to compare the performance of PROC HPFOREST against PROC HPLOGISTIC using 5-fold cross-validation on the same data. Which approach correctly implements this comparison in SAS?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Here's the deal — d is correct because both B and C are legitimate SAS approaches. B implements manual k-fold CV using PROC SURVEYSELECT for fold creation, a macro loop for training/scoring each fold, and PROC ASSESS for metric collection — giving full control.
Full explanation below image
Full Explanation
D is correct because both B and C are legitimate SAS approaches. B implements manual k-fold CV using PROC SURVEYSELECT for fold creation, a macro loop for training/scoring each fold, and PROC ASSESS for metric collection — giving full control. C uses SAS Model Studio's automated pipeline which handles cross-validation natively through its workflow interface. A is wrong because PROC HPFOREST and PROC HPLOGISTIC do not have a CV= option in their MODEL statements.