Skip to Content

CART control parameter in R (rpart) and SAP HANA

Apr 18, 2017 at 10:54 AM


avatar image
Former Member

I'm using the CART algorithm on SAP HANA, to get a plot of the tree I tried to run CART via rpart on the same Data in R. But in the result I get a different confusion matrix perhaps the control parameter are different. Does anyone know which control parameter in rpart equals which one on SAP HANA?

My understanding was the following one:

rpart           HANA
minsplit    =   MIN_RECORDS_OF_PARENT
minbucket   =   MIN_RECORDS_OF_LEAF
cp          =   SPLIT_THRESHOLD
maxdepth    =   MAX_DEPTH 
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers