L
- Label class.Ctx
- Context class.Self
- Aggregator class.public interface MetricStatsAggregator<L,Ctx,Self extends MetricStatsAggregator<L,Ctx,? super Self>> extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
aggregate(IgniteModel<Vector,L> model,
LabeledVector<L> vector)
Aggregates statistics for metric computation given model and vector with answer.
|
Ctx |
createInitializedContext()
Returns initialized context.
|
void |
initByContext(Ctx ctx)
Inits this aggtegator by evaluation context.
|
Self |
mergeWith(Self other)
Merges statistics of two aggregators to new aggreagator.
|
void aggregate(IgniteModel<Vector,L> model, LabeledVector<L> vector)
model
- Model.vector
- Vector.Self mergeWith(Self other)
other
- Other aggregator.Ctx createInitializedContext()
void initByContext(Ctx ctx)
ctx
- Evaluation context.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.12.0 Release Date : January 10 2022