Skip to content

use partykit functions for mmif? #40

Description

@tdhock

hey @parismita I noticed that you coded the mmif function "from scratch" and that is fine. But I was wondering if there was some simpler way to do it using functions provided by partykit. I asked Torsten:

tdhock> does partykit provide some helper functions to help automate / simplify fitting an
tdhock> ensemble?

there is some inftastructure (used by partykit::cforest or
trtf::traforest) but it is not as rich as the tree structure. At least you
can get node predictions and prediction weight without having to worry.
And there is some code for variable importances with user-defined loss
functions.

so it may be useful to look into how those functions are implemented if we want to change/simplify our implementation of random forests.

No need to do this right away but I thought I would mention that here, in case we ever want to.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions