필터 지우기
필터 지우기

Linear regression modeling - Command Window

조회 수: 1 (최근 30일)
Eduardo Calixto
Eduardo Calixto 2020년 4월 15일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by