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

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