Class BivariateNumericInfo


  • public final class BivariateNumericInfo
    extends Object
    Object representation of the PMML NumericInfo extension element. This represents correlation and covariance for a set of fields.
    See Also:
    PMMLSummaryStatisticsModel
    • Constructor Detail

      • BivariateNumericInfo

        public BivariateNumericInfo()
        Create an empty statistics object
    • Method Detail

      • getFields

        public List<String> getFields()
        Returns the list of fields represented by this BivariateStats.
        Returns:
        the list of fields represented by this BivariateStats
      • setFields

        public void setFields​(List<String> fields)
        Sets the list of fields represented by this BivariateStats.
        Parameters:
        fields - the list of fields represented by this BivariateStats
      • getCorrelation

        public PMMLRealMatrix getCorrelation()
        Returns the correlation matrix for the set of fields represented by this BivariateStats.
        Returns:
        the correlation matrix
      • setCorrelation

        public void setCorrelation​(PMMLRealMatrix correlation)
        Sets the correlation matrix for the set of fields represented by this BivariateStats.
        Parameters:
        correlation - the correlation matrix
      • getCovariance

        public PMMLRealMatrix getCovariance()
        Returns the covariance matrix for the set of fields represented by this BivariateStats.
        Returns:
        the covariance matrix
      • setCovariance

        public void setCovariance​(PMMLRealMatrix covariance)
        Sets the covariance matrix for the set of fields represented by this BivariateStats.
        Parameters:
        covariance - the covariance matrix