Multiple Linear Regression function

Hello,
I need to do a linear regression to predict X (n*1 Matrix) with the 2features (N*2 Matrix), I tried with the function regression but it s not possible with more then a feature is there any other function I can use?

Antworten (1)

Matt J
Matt J am 10 Dez. 2018

0 Stimmen

Why not
features\X

1 Kommentar

Hayfa R
Hayfa R am 12 Dez. 2018
because, this function is not for multiple LR
if all(size(targets) ~= size(outputs))
error(message('nnet:NNData:TYMismatch'))
end

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Linear and Nonlinear Regression finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 10 Dez. 2018

Kommentiert:

am 12 Dez. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by