2using System.Collections.Generic;
5using System.Threading.Tasks;
17 double[] m_rgExtra =
null;
25 public Result(
int nLabel,
double dfScore,
double[] rgExtra =
null)
37 get {
return m_nLabel; }
54 get {
return m_dfScore; }
62 get {
return m_rgExtra; }
71 return "Label " + m_nLabel.ToString() +
" -> " + m_dfScore.ToString(
"N5");
The Result class contains a single result.
int Label
Returns the label.
override string ToString()
Returns a string representation of the result.
void SetScore(double dfScore)
Change the score (typically done when ignoring a label).
Result(int nLabel, double dfScore, double[] rgExtra=null)
The constructor.
double[] Extra
Returns the extra data.
double Score
Returns the score of the run.
The MyCaffe.basecode contains all generic types used throughout MyCaffe.