Home > @SVMRegressor > regress.m

regress

PURPOSE ^

REGRESS Summary of this function goes here

SYNOPSIS ^

function [ outs ] = regress( rg, data )

DESCRIPTION ^

REGRESS Summary of this function goes here
   Inputs 
         reg: a trained regressor
         data: input data
   Outputs
         outs: result of applying the learned regression function
               on data

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [ outs ] = regress( rg, data )
0002 %REGRESS Summary of this function goes here
0003 %   Inputs
0004 %         reg: a trained regressor
0005 %         data: input data
0006 %   Outputs
0007 %         outs: result of applying the learned regression function
0008 %               on data
0009     outs = [data ones(size(data, 1), 1)] * rg.weights';
0010 end
0011

Generated on Sun 29-Sep-2013 01:25:24 by m2html © 2005