Skip to content

finalize with recipe #314

Closed
Closed

Description

@jxu

Right now for a random forest model I am doing something like finalize(mtry_long(), train_data). It guesses the number of columns, but I have a recipe that marks one column as the response and one as an ID column. Can finalize use this recipe info? Should I just specify this number to mtry() itself?

Activity

  1. EmilHvitfeldt commented on Dec 17, 2025

    @EmilHvitfeldt
    Member

    If you are using the model and recipe in a workflow together in {tune} it should deal with this automatically

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions