MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.basecode.Result Class Reference

The Result class contains a single result. More...

Public Member Functions

 Result (int nLabel, double dfScore, double[] rgExtra=null)
 The constructor. More...
 
void SetScore (double dfScore)
 Change the score (typically done when ignoring a label). More...
 
override string ToString ()
 Returns a string representation of the result. More...
 

Properties

int Label [get]
 Returns the label. More...
 
double Score [get]
 Returns the score of the run. More...
 
double[] Extra [get]
 Returns the extra data. More...
 

Detailed Description

The Result class contains a single result.

Definition at line 13 of file Result.cs.

Constructor & Destructor Documentation

◆ Result()

MyCaffe.basecode.Result.Result ( int  nLabel,
double  dfScore,
double[]  rgExtra = null 
)

The constructor.

Parameters
nLabelThe label detected.
dfScoreThe score of the run.
rgExtraExtra data related to the result.

Definition at line 25 of file Result.cs.

Member Function Documentation

◆ SetScore()

void MyCaffe.basecode.Result.SetScore ( double  dfScore)

Change the score (typically done when ignoring a label).

Parameters
dfScoreSpecifies the new score.

Definition at line 44 of file Result.cs.

◆ ToString()

override string MyCaffe.basecode.Result.ToString ( )

Returns a string representation of the result.

Returns
The string representation is returned.

Definition at line 69 of file Result.cs.

Property Documentation

◆ Extra

double [] MyCaffe.basecode.Result.Extra
get

Returns the extra data.

Definition at line 60 of file Result.cs.

◆ Label

int MyCaffe.basecode.Result.Label
get

Returns the label.

Definition at line 35 of file Result.cs.

◆ Score

double MyCaffe.basecode.Result.Score
get

Returns the score of the run.

Definition at line 52 of file Result.cs.


The documentation for this class was generated from the following file: