Unable to find response variable in the workspace
23 ビュー (過去 30 日間)
古いコメントを表示
My dataset has two columns, time and strain.I am trying to load my data that is in .txt format in the Classification Learner App, but it says the following-" Unable to find response variable in the dataset ".
What does that mean and what should I do to fix this?
0 件のコメント
回答 (1 件)
Vinayak Choyyan
2023 年 4 月 12 日
Hi Krati,
As per my understanding, you are facing an error message “Unable to find response variable in the dataset” when trying to load data to Classification Learner app.
Please note that response variables can be numeric, categorical, string, or logical vectors, cell arrays of character vectors, or character arrays and that the response variable cannot contain more than 500 unique class labels. Please check if your input data matches the above mentioned categories. To know more about selecting data for Classification Learner app, refer to the following documentation https://www.mathworks.com/help/stats/select-data-and-validation-for-classification-problem.html.
Alternatively, the discussion on this page might help resolve the issue you are facing. https://www.mathworks.com/matlabcentral/answers/1592684-why-do-i-receive-unable-to-find-suitable-response-variable-in-the-workplace-when-i-upload-testin
I hope this resolves the issue you are facing.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Classification Learner App についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!