Class Classification

    • Constructor Detail

      • Classification

        public Classification​(String name,
                              int num_class)
    • Method Detail

      • encodeLabel

        public org.jpmml.converter.Label encodeLabel​(String targetName,
                                                     List<?> targetCategories,
                                                     org.jpmml.converter.ModelEncoder encoder)
        Specified by:
        encodeLabel in class ObjFunction
      • encodeModel

        public org.dmg.pmml.mining.MiningModel encodeModel​(int targetIndex,
                                                           List<RegTree> trees,
                                                           List<Float> weights,
                                                           float[] base_score,
                                                           Integer ntreeLimit,
                                                           org.jpmml.converter.Schema schema)
        Overrides:
        encodeModel in class ObjFunction
      • num_class

        public int num_class()