Skip to content

line search fails: “kernlab class prediction calculations failed; returning NAs” #30

@savagyan00

Description

@savagyan00

Hi,

Thank you for the tool! I am trying to train it on a reference dataset with 6 categories. I am passing a ranked expression matrix, and getting these warnings:

line search fails -2.997281 0.4479518 1.386412e-05 4.884435e-06 -2.140079e-08 7.262897e-09 -2.612279e-13 Warning message in method$predict(modelFit = modelFit, newdata = newdata, submodels = param): “kernlab class prediction calculations failed; returning NAs”

This is the code snippet for training (with all defaults):
reference <- trainModel(reference)

What can be the reason? Do I need to tweak any of the arguments to the trainModel function to avoid this behaviour?

Thanks in advance for your help!

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