Package sklearn.tree

Class TreeUtil


  • public class TreeUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <E extends Estimator & HasTreeOptions,​M extends org.dmg.pmml.Model>
      M
      configureModel​(E estimator, M model)  
      static <E extends Estimator & HasTreeOptions>
      org.jpmml.converter.Schema
      configureSchema​(E estimator, org.jpmml.converter.Schema schema)  
      static <E extends Estimator & HasTree>
      org.dmg.pmml.tree.TreeModel
      encodeTreeModel​(E estimator, org.dmg.pmml.MiningFunction miningFunction, org.jpmml.converter.PredicateManager predicateManager, org.jpmml.converter.ScoreDistributionManager scoreDistributionManager, org.jpmml.converter.Schema schema)  
      static <E extends Estimator & HasTree>
      boolean
      hasMissingValueSupport​(E estimator)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • hasMissingValueSupport

        public static <E extends Estimator & HasTree> boolean hasMissingValueSupport​(E estimator)
      • encodeTreeModel

        public static <E extends Estimator & HasTree> org.dmg.pmml.tree.TreeModel encodeTreeModel​(E estimator,
                                                                                                  org.dmg.pmml.MiningFunction miningFunction,
                                                                                                  org.jpmml.converter.PredicateManager predicateManager,
                                                                                                  org.jpmml.converter.ScoreDistributionManager scoreDistributionManager,
                                                                                                  org.jpmml.converter.Schema schema)
      • configureSchema

        public static <E extends Estimator & HasTreeOptions> org.jpmml.converter.Schema configureSchema​(E estimator,
                                                                                                        org.jpmml.converter.Schema schema)
      • configureModel

        public static <E extends Estimator & HasTreeOptions,​M extends org.dmg.pmml.Model> M configureModel​(E estimator,
                                                                                                                 M model)