Skip to content

Error to predict when using a model generated with --olm #14

Description

@lucmarchandhsj

Hi. I can generate model using train and evaluate using predict without problem with standard flags but if I use --olm in the train fonction, the predict gives the following error:

Error in if (ncol(newx) != p) stop(paste0("The number of variables in newx must be ", :
argument is of length zero
Calls: predict -> predict.glmnet

Any clue of what is wrong?

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