There is a magic toolbox Classification Learner in matlab
Try to use the classic problem of iris classification:
first load the data
load('fisheriris')
fisheriris is the iris data set
that comes with matlab. Open the toolbox, select all the data from the workspace, and start the session
Using the decision tree model, you can quickly perform analysis, and there are a variety of result graphs to choose from:
Disadvantages: only suitable for cases where the amount of data is relatively small; parameter selection is much less than python;
advantages: there are multiple models to choose from, batch training You can choose the model
with the highest accuracy. For Xiaobai (such as me) who doesn’t know much about the model , this thing is really fragrant~