Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

The function 'train' corresponding to the input parameter of type 'double' is not defined. #4

Open
Eyue123 opened this issue Oct 7, 2020 · 2 comments

Comments

@Eyue123
Copy link

Eyue123 commented Oct 7, 2020

When I ran rws_gridsearch_CV.m or rws_gridsearch_CV_mulvar.m, I got the same error: The function 'train' corresponding to the input parameter of type 'double' is not defined.
The message is:
未定义与 'double' 类型的输入参数相对应的函数 'train'。

出错 rws_gridsearch_CV (line 106)
model_linear = train(trainy, sparse(trainFeaX), s);

How can I fix this? I'm really confused.

@teddylfwu
Copy link
Contributor

teddylfwu commented Oct 7, 2020 via email

@Eyue123
Copy link
Author

Eyue123 commented Oct 8, 2020

I was using the sample datasets. I followed the steps of "How To Run The Codes" in the README file, and when I come to step (2) and (3), the problem arises.

image
image

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

No branches or pull requests

2 participants