BookmarkSubscribeRSS Feed
DvdM
Calcite | Level 5

Hi, 

 

I used k-fold cross validation in the proc forest statement. In the Cross-Validation Fit Statistics output table I can only see the average squared error etc. for each fold. Is there a way to output other statitistics (such as AUC or accuracy) for each fold?

 

Thank you in advance! 

2 REPLIES 2
ballardw
Super User

I suggest posting the code you are currently using. That way someone more familiar can tell if a needed option is already present or suggest the changes needed, if possible.

sbxkoenk
SAS Super FREQ

Hello,

 

See here :

SAS Visual Data Mining and Machine Learning Programming Guide
Machine Learning Tools Action Set
proc cas noqueue; mltools.crossValidateML ...
Cross Validation of a Forest Model
https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/casactml/casactml_mltools_example01.htm

 

There are some more CV fit statistics !

 

Koen

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1230 views
  • 0 likes
  • 3 in conversation