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?

답변 (1개)

Matt J
Matt J 2018년 12월 10일

0 개 추천

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

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

카테고리

도움말 센터File Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

질문:

2018년 12월 10일

댓글:

2018년 12월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by