How to run Classification Learner App on multiple data sets?

조회 수: 19 (최근 30일)
Mark Golberg
Mark Golberg 2021년 5월 16일
답변: Aditya Patil 2021년 6월 18일
I have 50 data sets. That is 50 tables. I have no problem to insert each one manually and by using Classification Learner App I can easily find the BEST model for a specific data set, and get that specific model accuracy.
Question is, can I use this in a loop somehow? I mean, in each iteration, I'd like to load the particular Table, train ALL models, and take MAXIMUM accuracy.
So by the end of the loop, I'd have 50 numbers, matching my original input of 50 tables.
Can this be done somehow? I wouldnt want to manaully calcualte for each and every table...

채택된 답변

Aditya Patil
Aditya Patil 2021년 6월 18일
Currently, classification learner app doesn't provide feature to use multiple datasets.
One workaround is to export code for one dataset, and then use that code to loop over 50 datasets. See Generate MATLAB Code to Train the Model with New Data for more details.

추가 답변 (0개)


Help CenterFile Exchange에서 Classification Learner App에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by