|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsli.util.classify.berkeley.Classification
public class Classification
Data structure for storing the confidence value when an example is classified.
| Constructor Summary | |
|---|---|
Classification(String type,
double confidence)
Creates an instance with type type and confidence value
confidence. |
|
| Method Summary | |
|---|---|
double |
getConfidence()
|
String |
getType()
|
void |
setConfidence(double d)
Sets the confidence value. |
void |
setType(String s)
Sets the name of the classifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Classification(String type,
double confidence)
type and confidence value
confidence.
type - name of the modelconfidence - value represents how confident the algorithm thinks that the
example should be classified as type model.| Method Detail |
|---|
public double getConfidence()
public String getType()
public void setConfidence(double d)
d - The confidence value.public void setType(String s)
s - The name of the classifier.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||