Home > @RealAdaBooster > loadFromFile.m

loadFromFile

PURPOSE ^

LOADFROMFILE load classifier from file

SYNOPSIS ^

function [ tcl ] = loadFromFile( cl, fileName )

DESCRIPTION ^

LOADFROMFILE load classifier from file
   load RealAdaBoost classifier instance from binary file

   Inputs:
       cl: dummy realAda classifier object (RealAdaBooster)
       fileName : name of the file to load from
   Outputs:
       tcl : real ada boost classifier instance

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [ tcl ] = loadFromFile( cl, fileName )
0002 %LOADFROMFILE load classifier from file
0003 %   load RealAdaBoost classifier instance from binary file
0004 %
0005 %   Inputs:
0006 %       cl: dummy realAda classifier object (RealAdaBooster)
0007 %       fileName : name of the file to load from
0008 %   Outputs:
0009 %       tcl : real ada boost classifier instance
0010 
0011 fid = fopen(fileName,'r');
0012 tcl = loadFromFid( RealAdaBooster, fid );
0013 fclose(fid);
0014 
0015 end
0016

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