Module datarush.analytics
Interface AggregationFunctionEvaluatorFactory
-
public interface AggregationFunctionEvaluatorFactory
Interface for factories that createAggregationFunctionEvaluator
s forAggregationFunction
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AggregationFunctionEvaluator
evaluator(AggregationFunction aggregationFunction, CompareFunction[] compareFunctions, double[] fieldWeights, double[] missingValueWeights, double[] similarityScales, double pParameter)
Creates anAggregationFunctionEvaluator
instance.
-
-
-
Method Detail
-
evaluator
AggregationFunctionEvaluator evaluator(AggregationFunction aggregationFunction, CompareFunction[] compareFunctions, double[] fieldWeights, double[] missingValueWeights, double[] similarityScales, double pParameter)
Creates anAggregationFunctionEvaluator
instance. 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
- theAggregationFunction
to be evaluatedcompareFunctions
- theCompareFunction
s 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
-
-