Class GeneralRegression

    • Constructor Detail

      • GeneralRegression

        public GeneralRegression​(Element model,
                                 Instances dataDictionary,
                                 MiningSchema miningSchema)
                          throws Exception
        Constructs a GeneralRegression classifier.
        Parameters:
        model - the Element that holds the model definition
        dataDictionary - the data dictionary as a set of Instances
        miningSchema - the mining schema
        Throws:
        Exception - if there is a problem constructing the general regression object from the PMML.