public class BinaryClassificationEvaluationContext<L extends Serializable> extends Object implements EvaluationContext<L,BinaryClassificationEvaluationContext<L>>
Constructor and Description |
---|
BinaryClassificationEvaluationContext()
Creates an instance of BinaryClassificationEvaluationContext.
|
BinaryClassificationEvaluationContext(L firstClsLbl,
L secondClsLbl)
Creates an instance of BinaryClassificationEvaluationContext.
|
Modifier and Type | Method and Description |
---|---|
void |
aggregate(LabeledVector<L> vector)
Aggregates statistic from vector of sample.
|
L |
getFirstClsLbl()
Returns first class label.
|
L |
getSecondClsLbl()
Returns second class label.
|
BinaryClassificationEvaluationContext<L> |
mergeWith(BinaryClassificationEvaluationContext<L> other)
Merges statistics of this and other context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
empty, needToCompute
public BinaryClassificationEvaluationContext()
public void aggregate(LabeledVector<L> vector)
aggregate
in interface EvaluationContext<L extends Serializable,BinaryClassificationEvaluationContext<L extends Serializable>>
vector
- Vector.public BinaryClassificationEvaluationContext<L> mergeWith(BinaryClassificationEvaluationContext<L> other)
mergeWith
in interface EvaluationContext<L extends Serializable,BinaryClassificationEvaluationContext<L extends Serializable>>
other
- Other context.public L getFirstClsLbl()
public L getSecondClsLbl()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021