Skip to content

'predict' errors #11

@dbaranger

Description

@dbaranger

I'm encountering various errors that appear to stem from the predict function. I'm using R 4.2.1 on Windows:

data(seeds, package = "ODRF")
set.seed(12)
train <- sample(1:209, 150)
seeds_train <- data.frame(seeds[train, ])
seeds_test <- data.frame(seeds[-train, ])
forest <- ODRF(varieties_of_wheat ~ ., seeds_train, split = "gini", 
               parallel = FALSE)

yields the error: Error in UseMethod("predict") : no applicable method for 'predict' applied to an object of class "call"

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