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

1 vue (au cours des 30 derniers jours)
勝也 秋元
勝也 秋元 le 7 Oct 2021
関連するモデル、ファイルを添付します。
モデル: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));

Réponses (0)

Catégories

En savoir plus sur 起動と終了 dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!