Testing Data after Classification using test data in Classification App

3 ビュー (過去 30 日間)
Huy Cao
Huy Cao 2022 年 1 月 11 日
コメント済み: Huy Cao 2022 年 1 月 11 日
Hi guys. I just trained my data and export the model. Now i want to use that data to test the testing data with the test data function in Classification App but i can't but the testing data into the import data set. Its said unable tofind suitable predictors or response in the selected variable. This is my code to import the data into workspace
% TRAINING
trainingData=readtable("ClassificationData2.xlsx")
% The first 4 columns are the inputs.
tPredictors = trainingData(:, 1:4);
% The last column is the "answer/ground truth".
tResponse = trainingData{:, end};
testingData=readtable("ClassificationTestData2.xlsx")
tTesting=testingData(:,1:4);
ttestResponse=testingData{:,end};

回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by