Multiple Linear Regression function

조회 수: 1 (최근 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

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by