C# Class Ocronet.Dynamic.Recognizers.Lenet.LenetClassifier

Inheritance: IBatch
Show file Open project: nickun/OCRonet Class Usage Examples

Public Properties

Property Type Description
CharClass AutoLenetWrapper
JunkClass AutoLenetWrapper

Public Methods

Method Description
GetStdout ( StringBuilder &sbout ) : void
Info ( ) : void
InitNumSymbLatinAlphabet ( ) : void
Initialize ( int classes, bool asciiTarget = true ) : void

Do external initialize (dll instance)

LenetClassifier ( ) : System
Load ( string filepath ) : void

Load network from new format

Save ( string filepath ) : void

Save network to new format

SetExtractor ( string name ) : void
UpdateModel ( ) : void
jc ( ) : int

Junk ascii code

nClasses ( ) : int
nFeatures ( ) : int
nModels ( ) : int

Protected Methods

Method Description
Outputs ( OutputVector result, Floatarray v ) : float
Train ( IDataset ds ) : void

Private Methods

Method Description
CharClass_TrainRound ( object sender, TrainEventArgs e ) : void
CreateClassesFromDataset ( IDataset ds ) : int[]
JunkClass_TrainRound ( object sender, TrainEventArgs e ) : void

Method Details

GetStdout() public method

public GetStdout ( StringBuilder &sbout ) : void
sbout StringBuilder
return void

Info() public method

public Info ( ) : void
return void

InitNumSymbLatinAlphabet() public method

public InitNumSymbLatinAlphabet ( ) : void
return void

Initialize() public method

Do external initialize (dll instance)
public Initialize ( int classes, bool asciiTarget = true ) : void
classes int
asciiTarget bool
return void

LenetClassifier() public method

public LenetClassifier ( ) : System
return System

Load() public method

Load network from new format
public Load ( string filepath ) : void
filepath string full file path<
return void

Outputs() protected method

protected Outputs ( OutputVector result, Floatarray v ) : float
result OutputVector
v Floatarray
return float

Save() public method

Save network to new format
public Save ( string filepath ) : void
filepath string full file path
return void

SetExtractor() public method

public SetExtractor ( string name ) : void
name string
return void

Train() protected method

protected Train ( IDataset ds ) : void
ds Ocronet.Dynamic.IOData.IDataset
return void

UpdateModel() public method

public UpdateModel ( ) : void
return void

jc() public method

Junk ascii code
public jc ( ) : int
return int

nClasses() public method

public nClasses ( ) : int
return int

nFeatures() public method

public nFeatures ( ) : int
return int

nModels() public method

public nModels ( ) : int
return int

Property Details

CharClass public property

public AutoLenetWrapper,Ocronet.Dynamic.Recognizers.Lenet CharClass
return AutoLenetWrapper

JunkClass public property

public AutoLenetWrapper,Ocronet.Dynamic.Recognizers.Lenet JunkClass
return AutoLenetWrapper