Class ObjFunction

    • Constructor Detail

      • ObjFunction

        public ObjFunction​(String name)
    • Method Detail

      • encodeLabel

        public abstract org.jpmml.converter.Label encodeLabel​(String targetName,
                                                              List<?> targetCategories,
                                                              org.jpmml.converter.ModelEncoder encoder)
      • encodeModel

        public abstract org.dmg.pmml.mining.MiningModel encodeModel​(List<RegTree> trees,
                                                                    List<Float> weights,
                                                                    float[] base_score,
                                                                    Integer ntreeLimit,
                                                                    org.jpmml.converter.Schema schema)
      • 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)
      • probToMargin

        public float[] probToMargin​(float[] base_score)
      • getName

        public String getName()