BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
jitb
Quartz | Level 8

are the  trainfraction and inbagfraction options in proc hpforest statement the same? I just wanted to know the theory behind using these options. I'm assuming the inbagfraction ratio is used to do the bagging from the training data. Does the trainfraction ratio I give do the same thing too? Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
WendyCzika
SAS Employee

Yes, you're correct - the INBAGFRACTION and TRAINFRACTION in PROC HPFOREST are the same thing - the fraction of training obs. to train a tree with.  This is the "Proportion of Obs in Each Sample" property in the HP Forest node in Enterprise Miner.

View solution in original post

2 REPLIES 2
WendyCzika
SAS Employee

Yes, you're correct - the INBAGFRACTION and TRAINFRACTION in PROC HPFOREST are the same thing - the fraction of training obs. to train a tree with.  This is the "Proportion of Obs in Each Sample" property in the HP Forest node in Enterprise Miner.

jitb
Quartz | Level 8

Thank you, Wendy. Was getting a bit confused on this. You cleared it up for me. Thanks again.

 

Jit

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore 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
  • 2165 views
  • 1 like
  • 2 in conversation