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

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
Obsidian | Level 7

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

 

Jit

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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