Modify the loss function #446
Replies: 1 comment 1 reply
-
Custom splitting: All families except unsupervised are available for user defined custom splitting. Some basic C-programming skills are required. The harness for defining these rules is in splitCustom.c. In this file we give examples of how to code rules for regression, classification, survival, and competing risk. Each family can support up to sixteen custom split rules. Specifying splitrule="custom" or splitrule="custom1" will trigger the first split rule for the family defined by the training data set. Multivariate families will need a custom split rule for both regression and classification. In the examples, we demonstrate how the user is presented with the node specific membership. The task is then to define a split statistic based on that membership. Take note of the instructions in splitCustom.c on how to register the custom split rules. It is suggested that the existing custom split rules be kept in place for reference and that the user proceed to develop splitrule="custom2" and so on. The package must be recompiled and installed for the custom split rules to become available.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
First of all, congratulations on the outstanding work — this is an excellent package. We are particularly interested in exploring new extensions of the algorithm motivated by various applications.
We have two specific questions:
1 How can we incorporate different weights for each observation within the code?
2 Is it possible to modify the objective function to use alternative distances, such as the energy distance?
Thank you very much for your attention, and we look forward to your guidance.
Best regards,
Beta Was this translation helpful? Give feedback.
All reactions