SAVETOFILE Save Classifier to file Save real ada boost classifier to binary file Inputs: cl : real ada boost classifier instance fileName : binary file name
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