C# Class Ocronet.Dynamic.Recognizers.OutputVector

OutputVector is a sparse vector class, used for representing classifier outputs.
Afficher le fichier Open project: nickun/OCRonet Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public ArgMax ( ) : int
Résultat int

ArgMin() public méthode

public ArgMin ( ) : int
Résultat int

AsArray() public méthode

public AsArray ( ) : Floatarray
Résultat Floatarray

Clear() public méthode

public Clear ( ) : void
Résultat void

Copy() public méthode

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

Init() public méthode

public Init ( int n ) : void
n int
Résultat void

Key() public méthode

public Key ( int i ) : int
i int
Résultat int

Length() public méthode

public Length ( ) : int
Résultat int

Max() public méthode

public Max ( ) : float
Résultat float

Min() public méthode

public Min ( ) : float
Résultat float

Normalize() public méthode

public Normalize ( ) : void
Résultat void

Normalize2() public méthode

public Normalize2 ( ) : void
Résultat void

OutputVector() public méthode

public OutputVector ( ) : System
Résultat System

OutputVector() public méthode

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
Résultat System

OutputVector() public méthode

public OutputVector ( int n ) : System
n int
Résultat System

Sum() public méthode

public Sum ( ) : float
Résultat float

Value() public méthode

public Value ( int i ) : float
i int
Résultat float

nKeys() public méthode

public nKeys ( ) : int
Résultat int

operator() public static méthode

public static operator ( ) : OutputVector
Résultat OutputVector

this() public méthode

public this ( int index ) : float
index int
Résultat float