Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Example of traforest failure #1

@fjcarton

Description

@fjcarton

Dear Reader,

Currently Im trying to get a minimal example of the transformations forest working for my research, but the example provided in the help-function does not work. Im getting a variable length error and the same error happens in the 'application' demo.

> tf_cmod <- traforest(m, formula = y ~ horTh | age, control = ctrl, 
+                      ntree = 50, mtry = 1, trace = TRUE, data = GBSG2)
Error in model.frame.default(data, yxonly = TRUE) : 
  variable lengths differ (found for '(yxonly)')

Is there a way to circumvent this? since I would really like to know how to implement a Transformation Forest for my master thesis.

With kind regards,
Floris-Jan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions