필터 지우기
필터 지우기

分析学習器で作成した​モデルで、新しいデー​タを予測する際にエラ​ーが出て実施できない​。

조회 수: 2 (최근 30일)
勝也 秋元
勝也 秋元 2021년 10월 7일
関連するモデル、ファイルを添付します。
モデル:GS_DR_Model.mat
学習データ:Learn.xls
テストデータ:test.xls
エラーメッセージ
>> yfit = GS_DR_Model.predictFcn(test)
エラー: classreg.learning.internal.table2PredictMatrix>makeXMatrix (行 116)
テーブル変数 EngineSpeedAtEngagementDR は有効な予測子ではありません。
エラー: classreg.learning.internal.table2PredictMatrix (行 61)
Xout = makeXMatrix(X,CategoricalPredictors,vrange,pnames);
エラー: classreg.learning.classif.CompactClassificationTree/predict (行 894)
X = classreg.learning.internal.table2PredictMatrix(X,[],[],...
エラー: mlearnapp.internal.model.adapterlayer.TrainedClassificationTree>@(x)predict(ClassificationTree,x) (行 50)
functionHandle = @(x) predict(ClassificationTree, x);
エラー: mlearnapp.internal.model.transformation.TrainedManualFeatureSelection>@(x)decoratedPredictFunction(featureSelectionFunction(x)) (行
66)
functionHandle = @(x) decoratedPredictFunction(featureSelectionFunction(x));
エラー: mlearnapp.internal.model.DatasetSpecification>@(x)exportableModel.predictFcn(predictorExtractionFcn(x)) (行 187)
newExportableModel.predictFcn = @(x) exportableModel.predictFcn(predictorExtractionFcn(x));

답변 (0개)

카테고리

Help CenterFile Exchange에서 モデルの作成と評価에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!