Missing value for predictor in Classification Learner App

Hi guys, i just used the Classifition Learner App to train the data and use test data function in in the app but when I test there is aa error, it said Missing value for predictor Power. Can u guys help me pleaseeee
% TRAINING
trainingData=readtable("ClassificationData2.xlsx")
% The first 4 columns are the inputs.
tPredictors = trainingData(:, 1:2);
% The last column is the "answer/ground truth".
tResponse = trainingData{:, end};
testingData=readtable("ClassificationTestData2.xlsx")
tTesting=testingData(:,1:2);
ttestResponse=testingData{:,end};

回答 (1 件)

KSSV
KSSV 2022 年 1 月 15 日

0 投票

Either you can remove those missing values or fill the missing values using is the function fillmissing. Read about fillmissing.

2 件のコメント

huy cao
huy cao 2022 年 1 月 15 日
Hi can u decribes more detail cause that all data I have
huy cao
huy cao 2022 年 1 月 15 日
And i think there is no missing data @KSSV

サインインしてコメントする。

カテゴリ

製品

リリース

R2021a

質問済み:

2022 年 1 月 15 日

コメント済み:

2022 年 1 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by