com.mancrd.ahah.classifier
Class LabelOutput
java.lang.Object
com.mancrd.ahah.classifier.LabelOutput
- All Implemented Interfaces:
- Comparable<LabelOutput>
public class LabelOutput
- extends Object
- implements Comparable<LabelOutput>
A simple POJO holding a classification label and the corresponding activation
- Author:
- timmolter
Constructor Summary |
LabelOutput(int label,
float confidence)
Constructor |
LabelOutput
public LabelOutput(int label,
float confidence)
- Constructor
- Parameters:
label
-
getLabel
public int getLabel()
getConfidence
public float getConfidence()
compareTo
public int compareTo(LabelOutput other)
- Specified by:
compareTo
in interface Comparable<LabelOutput>
toString
public String toString()
- Overrides:
toString
in class Object
getLabelstring
public String getLabelstring()
setLabelstring
public void setLabelstring(String labelstring)
Copyright © 2013–2014 M. Alexander Nugent Consulting, Research and Devlopment. All rights reserved.