Multiple Linear Regression function

2 次查看(过去 30 天)
Hayfa R
Hayfa R 2018-12-10
评论: Hayfa R 2018-12-12
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?

回答(1 个)

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

请先登录,再进行评论。

类别

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