learning function for general regressor Inputs: dataset: examples for training the regressor. targets: target regressor output Outputs: reg: trained regressor
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')