分析学習器で作成したモデルで、新しいデータを予測する際にエラーが出て実施できない。
Afficher commentaires plus anciens
関連するモデル、ファイルを添付します。
モデル: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 Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!