Home > @RealAdaBooster > saveToFile.m

saveToFile

PURPOSE ^

SAVETOFILE Save Classifier to file

SYNOPSIS ^

function saveToFile( cl, fileName )

DESCRIPTION ^

SAVETOFILE Save Classifier to file
   Save real ada boost classifier to binary file

   Inputs:
       cl : real ada boost classifier instance
       fileName : binary file name

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function saveToFile( cl, fileName )
0002 %SAVETOFILE Save Classifier to file
0003 %   Save real ada boost classifier to binary file
0004 %
0005 %   Inputs:
0006 %       cl : real ada boost classifier instance
0007 %       fileName : binary file name
0008 
0009 fid = fopen(fileName, 'wb');
0010 saveToFid(cl, fid);
0011 fclose(fid);
0012 
0013 end
0014

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