Home > @Regressor > learn.m

learn

PURPOSE ^

learning function for general regressor

SYNOPSIS ^

function [rg] = learn(rg, dataset, targets, weights)

DESCRIPTION ^

   learning function for general regressor 

   Inputs:
       dataset: examples for training the regressor.
       targets: target regressor output

   Outputs:
       reg: trained regressor

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [rg] = learn(rg, dataset, targets, weights)
0002 %   learning function for general regressor
0003 %
0004 %   Inputs:
0005 %       dataset: examples for training the regressor.
0006 %       targets: target regressor output
0007 %
0008 %   Outputs:
0009 %       reg: trained regressor
0010 
0011 error ('learn function must be implemented by sub classes of regressor')

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