the caret::train() does not seem to accept y if y is a matrix of multiple columns.
Thanks for any help!
the caret::train() does not seem to accept y if y is a matrix of multiple columns.
Thanks for any help!
Copyright © 2021 Jogjafile Inc.
That's correct. Perhaps you want the
tidymodelspackage? Kuhn has said there would be support for multivariate response in it. Here's evidence in favor of my suggestion: https://www.tidymodels.org/learn/models/pls/Do a search of that document for
plsr:This might not be a reproducible code block. May need additional data or packages.