Class MissingValueWeights


  • public class MissingValueWeights
    extends Object
    Corresponds to the MissingValueWeights PMML element.
    • Method Detail

      • getNumArray

        public double[] getNumArray()
        Gets the missing value weights array of this MissingValueWeights instance.
        Returns:
        the missing value weights of this instance
      • createDefault

        public static MissingValueWeights createDefault​(int size)
        Creates a MissingValueWeights instance with a numArray of the requested size filled with 1.0s (default value according to the PMML specification).
        Parameters:
        size - the size of the numArray
        Returns:
        the MissingValueWeights instance with default missing value weights