Module datarush.analytics
Interface AggregationFunctionEvaluatorFactory
-
public interface AggregationFunctionEvaluatorFactoryInterface for factories that createAggregationFunctionEvaluators forAggregationFunctions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AggregationFunctionEvaluatorevaluator(AggregationFunction aggregationFunction, CompareFunction[] compareFunctions, double[] fieldWeights, double[] missingValueWeights, double[] similarityScales, double pParameter)Creates anAggregationFunctionEvaluatorinstance.
-
-
-
Method Detail
-
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
-
-