- java.lang.Object
-
- com.pervasive.datarush.analytics.stats.BivariateNumericInfo
-
public final class BivariateNumericInfo extends Object
Object representation of the PMMLNumericInfo
extension element. This represents correlation and covariance for a set of fields.- See Also:
PMMLSummaryStatisticsModel
-
-
Constructor Summary
Constructors Constructor Description BivariateNumericInfo()
Create an empty statistics object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PMMLRealMatrix
getCorrelation()
Returns the correlation matrix for the set of fields represented by thisBivariateStats
.PMMLRealMatrix
getCovariance()
Returns the covariance matrix for the set of fields represented by thisBivariateStats
.List<String>
getFields()
Returns the list of fields represented by thisBivariateStats
.void
setCorrelation(PMMLRealMatrix correlation)
Sets the correlation matrix for the set of fields represented by thisBivariateStats
.void
setCovariance(PMMLRealMatrix covariance)
Sets the covariance matrix for the set of fields represented by thisBivariateStats
.void
setFields(List<String> fields)
Sets the list of fields represented by thisBivariateStats
.
-
-
-
Method Detail
-
getFields
public List<String> getFields()
Returns the list of fields represented by thisBivariateStats
.- Returns:
- the list of fields represented by this
BivariateStats
-
setFields
public void setFields(List<String> fields)
Sets the list of fields represented by thisBivariateStats
.- Parameters:
fields
- the list of fields represented by thisBivariateStats
-
getCorrelation
public PMMLRealMatrix getCorrelation()
Returns the correlation matrix for the set of fields represented by thisBivariateStats
.- Returns:
- the correlation matrix
-
setCorrelation
public void setCorrelation(PMMLRealMatrix correlation)
Sets the correlation matrix for the set of fields represented by thisBivariateStats
.- Parameters:
correlation
- the correlation matrix
-
getCovariance
public PMMLRealMatrix getCovariance()
Returns the covariance matrix for the set of fields represented by thisBivariateStats
.- Returns:
- the covariance matrix
-
setCovariance
public void setCovariance(PMMLRealMatrix covariance)
Sets the covariance matrix for the set of fields represented by thisBivariateStats
.- Parameters:
covariance
- the covariance matrix
-
-