- java.lang.Object
-
- com.pervasive.datarush.analytics.stats.BivariateNumericInfo
-
public final class BivariateNumericInfo extends Object
Object representation of the PMMLNumericInfoextension 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 PMMLRealMatrixgetCorrelation()Returns the correlation matrix for the set of fields represented by thisBivariateStats.PMMLRealMatrixgetCovariance()Returns the covariance matrix for the set of fields represented by thisBivariateStats.List<String>getFields()Returns the list of fields represented by thisBivariateStats.voidsetCorrelation(PMMLRealMatrix correlation)Sets the correlation matrix for the set of fields represented by thisBivariateStats.voidsetCovariance(PMMLRealMatrix covariance)Sets the covariance matrix for the set of fields represented by thisBivariateStats.voidsetFields(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
-
-