Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
savagyan00 opened this issue Aug 30, 2024 · 0 comments

Comments

@savagyan00
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant