function [reg] = SVMRegressor() constructor for the SVMRegressor class
0001 function [rg] = SVMRegressor() 0002 % function [reg] = SVMRegressor() 0003 % constructor for the SVMRegressor class 0004 0005 rg.svmModel = NaN; 0006 rg.description = 'uses svm for regression'; 0007 rg.weights = []; 0008 0009 rg = class(rg, 'SVMRegressor', Regressor());