bethatkinson / rpart

Recursive Partitioning and Regression Trees
47 stars 24 forks source link

Passing all variables to user split functions #68

Open aparnasrini03 opened 1 week ago

aparnasrini03 commented 1 week ago

Hello, I'm trying to figure out if I can pass the entire dataset to the rpart user split functions - I need to do splits that use multiple variables. Based on the input arguments and the structure of rpart, I can't figure out if this is actually possible. I would appreciate your insight! Thank you!

bethatkinson commented 1 week ago

My recollection is that you should be able to

From: aparnasrini03 @.> Sent: Wednesday, October 09, 2024 8:43 AM To: bethatkinson/rpart @.> Cc: Subscribed @.***> Subject: [EXTERNAL] [bethatkinson/rpart] Passing all variables to user split functions (Issue #68)

Hello, I'm trying to figure out if I can pass the entire dataset to the rpart user split functions - I need to do splits that use multiple variables. Based on the input arguments and the structure of rpart, I can't figure out if this is actually possible. I would appreciate your insight! Thank you!

- Reply to this email directly, view it on GitHubhttps://github.com/bethatkinson/rpart/issues/68, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACWQG542JJHUFJ2653IMAU3Z2UXHLAVCNFSM6AAAAABPUSQ3LOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU3TKOJYGU4DOMA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>