Azzera filtri
Azzera filtri

Linear regression modeling - Command Window

1 visualizzazione (ultimi 30 giorni)
Eduardo Calixto
Eduardo Calixto il 15 Apr 2020
Dear,
I am trying to input the command in the filed Command window for Linear regression modeling.
After import my excel file (Motor), I need to know how to input the command for training data and test data.
So I need to know what do I need to write between the first and third command such as:
A = Motor
?
mdl = fitclm(dataTrain,'y');
yPred =predict(mdl,datatest);
...
Thanks for your support

Risposte (0)

Categorie

Scopri di più su Linear and Nonlinear Regression in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by