Home > @SVMClassifier > loadFromFile.m

loadFromFile

PURPOSE ^

LOADFROMFILE load svm classifier from binary file

SYNOPSIS ^

function [ tcl ] = loadFromFile( cl, fileName )

DESCRIPTION ^

LOADFROMFILE load svm classifier from binary file
   
   Inputs:
       cl: dummy svm classifier object (SVMClassifier)
       fileName : name of the binary

   Outputs:
       tcl: trained SVM classifier

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

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