Package org.jpmml.evaluator.functions
Class StandardDeviationFunction
- java.lang.Object
-
- org.jpmml.evaluator.functions.AbstractFunction
-
- org.jpmml.evaluator.functions.MultiaryFunction
-
- org.jpmml.evaluator.functions.StandardDeviationFunction
-
- All Implemented Interfaces:
Function
public class StandardDeviationFunction extends MultiaryFunction
A Java UDF for calculating the standard deviation of a collection of values.
Pseudo-declaration of function:<DefineFunction name="..." dataType="double"> <ParameterField name="values" dataType="collection of numbers"/> <!-- Optional; defaults to false --> <ParameterField name="biasCorrected" dataType="boolean"/> </DefineFunction>- See Also:
StandardDeviation
-
-
Constructor Summary
Constructors Constructor Description StandardDeviationFunction()StandardDeviationFunction(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Doubleevaluate(Collection<?> values, boolean biasCorrected)FieldValueevaluate(List<FieldValue> arguments)Evaluates this function with the specified arguments.-
Methods inherited from class org.jpmml.evaluator.functions.AbstractFunction
getAliases, getName
-
-
-
-
Constructor Detail
-
StandardDeviationFunction
public StandardDeviationFunction()
-
StandardDeviationFunction
public StandardDeviationFunction(String name)
-
-
Method Detail
-
evaluate
public Double evaluate(Collection<?> values, boolean biasCorrected)
-
evaluate
public FieldValue evaluate(List<FieldValue> arguments)
Description copied from interface:FunctionEvaluates this function with the specified arguments.
-
-