Module datarush.analytics
Interface AggregationFunctionEvaluatorFactory
public interface AggregationFunctionEvaluatorFactory
Interface for factories that create
AggregationFunctionEvaluators for AggregationFunctions.-
Method Summary
Modifier and TypeMethodDescriptionevaluator(AggregationFunction aggregationFunction, CompareFunction[] compareFunctions, double[] fieldWeights, double[] missingValueWeights, double[] similarityScales, double pParameter) Creates anAggregationFunctionEvaluatorinstance.
-
Method Details
-
evaluator
AggregationFunctionEvaluator evaluator(AggregationFunction aggregationFunction, CompareFunction[] compareFunctions, double[] fieldWeights, double[] missingValueWeights, double[] similarityScales, double pParameter) Creates anAggregationFunctionEvaluatorinstance. Compare function, field weights, missing value weights and similarity scales at index i must correspond to cluster and data vector values at the same index, that will be passed in at the evaluation phase to theAggregationFunctionEvaluator#evaluate()method.- Parameters:
aggregationFunction- theAggregationFunctionto be evaluatedcompareFunctions- theCompareFunctions to measure distance/similarity between the vectorsfieldWeights- field weights for each field/its valuesmissingValueWeights- missing value weights for each field/its valuessimilarityScales- similarity scales for each field/its valuespParameter- the p-parameter, only used by the Minkowski function
-