Class COV
java.lang.Object
org.apache.sysds.runtime.functionobjects.FunctionObject
org.apache.sysds.runtime.functionobjects.ValueFunction
org.apache.sysds.runtime.functionobjects.COV
- All Implemented Interfaces:
Serializable
GENERAL NOTE:
* 05/28/2014: We decided to do handle weights consistently to SPSS in an operation-specific manner,
i.e., we (1) round instead of casting where required (e.g. count), and (2) consistently use
fractional weight values elsewhere. In case a count-base interpretation of weights is needed, just
ensure rounding before calling CM/COV/KahanPlus.
- See Also:
-
Method Summary
Methods inherited from class org.apache.sysds.runtime.functionobjects.ValueFunction
isBinary, requiresCorrection, toString
-
Method Details
-
getCOMFnObject
-
execute
General case for arbitrary weights w2- Overrides:
executein classFunctionObject- Parameters:
in1- input datau- ?v- ?w2- ?- Returns:
- result
-
execute
Special case for weights w2==1- Overrides:
executein classFunctionObject- Parameters:
in1- ?u- ?v- ?- Returns:
- result
-
execute
- Overrides:
executein classFunctionObject
-