C# Class Ocronet.Dynamic.Recognizers.OutputVector

OutputVector is a sparse vector class, used for representing classifier outputs.
ファイルを表示 Open project: nickun/OCRonet Class Usage Examples

Public Methods

Method Description
ArgMax ( ) : int
ArgMin ( ) : int
AsArray ( ) : Floatarray
Clear ( ) : void
Copy ( Floatarray v, float eps = 1e-11f ) : void
Init ( int n ) : void
Key ( int i ) : int
Length ( ) : int
Max ( ) : float
Min ( ) : float
Normalize ( ) : void
Normalize2 ( ) : void
OutputVector ( ) : System
OutputVector ( Floatarray v ) : System

If it's initialized with an array, the result vector is copied into that array when the vector gets destroyed. This allows calls like classifier.Outputs(v,x); with floatarray v.

OutputVector ( int n ) : System
Sum ( ) : float
Value ( int i ) : float
nKeys ( ) : int
operator ( ) : OutputVector
this ( int index ) : float

Method Details

ArgMax() public method

public ArgMax ( ) : int
return int

ArgMin() public method

public ArgMin ( ) : int
return int

AsArray() public method

public AsArray ( ) : Floatarray
return Floatarray

Clear() public method

public Clear ( ) : void
return void

Copy() public method

public Copy ( Floatarray v, float eps = 1e-11f ) : void
v Floatarray
eps float
return void

Init() public method

public Init ( int n ) : void
n int
return void

Key() public method

public Key ( int i ) : int
i int
return int

Length() public method

public Length ( ) : int
return int

Max() public method

public Max ( ) : float
return float

Min() public method

public Min ( ) : float
return float

Normalize() public method

public Normalize ( ) : void
return void

Normalize2() public method

public Normalize2 ( ) : void
return void

OutputVector() public method

public OutputVector ( ) : System
return System

OutputVector() public method

If it's initialized with an array, the result vector is copied into that array when the vector gets destroyed. This allows calls like classifier.Outputs(v,x); with floatarray v.
public OutputVector ( Floatarray v ) : System
v Floatarray
return System

OutputVector() public method

public OutputVector ( int n ) : System
n int
return System

Sum() public method

public Sum ( ) : float
return float

Value() public method

public Value ( int i ) : float
i int
return float

nKeys() public method

public nKeys ( ) : int
return int

operator() public static method

public static operator ( ) : OutputVector
return OutputVector

this() public method

public this ( int index ) : float
index int
return float