Home > vbmeg > functions > device > filter_func > vb_pre_multiple_regression.m

vb_pre_multiple_regression

PURPOSE ^

Prediction by multiple linear regression

SYNOPSIS ^

function py = vb_pre_multiple_regression(x, w)

DESCRIPTION ^

 Prediction by multiple linear regression

 - Input
   x: Independent variable (dimension x sample)
   w: Coefficients (1 x dimension) (end of w is bias)

 - Output
   py: Predicted dependent variable (1 x sample)

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function py = vb_pre_multiple_regression(x, w)
0002 % Prediction by multiple linear regression
0003 %
0004 % - Input
0005 %   x: Independent variable (dimension x sample)
0006 %   w: Coefficients (1 x dimension) (end of w is bias)
0007 %
0008 % - Output
0009 %   py: Predicted dependent variable (1 x sample)
0010 %
0011 % Copyright (C) 2011, ATR All Rights Reserved.
0012 % License : New BSD License(see VBMEG_LICENSE.txt)
0013 
0014 py = w*[x; ones(1, size(x,2))];

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005