Package sklearn

Class Estimator

    • Constructor Detail

      • Estimator

        public Estimator​(String module,
                         String name)
    • Method Detail

      • getMiningFunction

        public abstract org.dmg.pmml.MiningFunction getMiningFunction()
      • isSupervised

        public abstract boolean isSupervised()
      • encodeModel

        public abstract org.dmg.pmml.Model encodeModel​(org.jpmml.converter.Schema schema)
      • getOpType

        public org.dmg.pmml.OpType getOpType()
        Specified by:
        getOpType in interface HasType
      • getDataType

        public org.dmg.pmml.DataType getDataType()
        Specified by:
        getDataType in interface HasType
      • getAlgorithmName

        public String getAlgorithmName()
      • encode

        public org.dmg.pmml.Model encode​(org.jpmml.converter.Schema schema)
      • encode

        public org.dmg.pmml.Model encode​(Object segmentId,
                                         org.jpmml.converter.Schema schema)
      • configureSchema

        public org.jpmml.converter.Schema configureSchema​(org.jpmml.converter.Schema schema)
      • configureModel

        public org.dmg.pmml.Model configureModel​(org.dmg.pmml.Model model)
      • checkLabel

        public void checkLabel​(org.jpmml.converter.Label label)
      • checkFeatures

        public void checkFeatures​(List<? extends org.jpmml.converter.Feature> features)
      • addFeatureImportances

        public void addFeatureImportances​(org.dmg.pmml.Model model,
                                          org.jpmml.converter.Schema schema)
      • putOption

        public void putOption​(String key,
                              Object value)
      • putOptions

        public void putOptions​(Map<String,​?> options)
      • hasFeatureImportances

        public boolean hasFeatureImportances()
      • getFeatureImportances

        public List<Number> getFeatureImportances()
      • getPMMLFeatureImportances

        public List<Number> getPMMLFeatureImportances()
      • setPMMLFeatureImportances

        public Estimator setPMMLFeatureImportances​(List<Number> pmmlFeatureImportances)
      • createPredictProbaFields

        public List<org.dmg.pmml.OutputField> createPredictProbaFields​(org.dmg.pmml.DataType dataType,
                                                                       org.jpmml.converter.DiscreteLabel discreteLabel)
      • createApplyField

        public org.dmg.pmml.OutputField createApplyField​(org.dmg.pmml.DataType dataType)
      • encodeApplyOutput

        public org.dmg.pmml.OutputField encodeApplyOutput​(org.dmg.pmml.Model model,
                                                          org.dmg.pmml.DataType dataType)
      • createMultiApplyField

        public org.dmg.pmml.OutputField createMultiApplyField​(org.dmg.pmml.DataType dataType,
                                                              String segmentId)
      • encodeMultiApplyOutput

        public List<org.dmg.pmml.OutputField> encodeMultiApplyOutput​(org.dmg.pmml.Model model,
                                                                     org.dmg.pmml.DataType dataType,
                                                                     List<String> segmentIds)