Multiple Linear Regression function

2 vues (au cours des 30 derniers jours)
Hayfa R
Hayfa R le 10 Déc 2018
Commenté : Hayfa R le 12 Déc 2018
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?

Réponses (1)

Matt J
Matt J le 10 Déc 2018
Why not
features\X
  1 commentaire
Hayfa R
Hayfa R le 12 Déc 2018
because, this function is not for multiple LR
if all(size(targets) ~= size(outputs))
error(message('nnet:NNData:TYMismatch'))
end

Connectez-vous pour commenter.

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by