Package sklearn

Class Estimator

    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      Estimator​(java.lang.String module, java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void addFeatureImportances​(org.dmg.pmml.Model model, org.jpmml.converter.Schema schema)  
      void checkFeatures​(java.util.List<? extends org.jpmml.converter.Feature> features)  
      void checkLabel​(org.jpmml.converter.Label label)  
      org.dmg.pmml.Model configureModel​(org.dmg.pmml.Model model)  
      org.jpmml.converter.Schema configureSchema​(org.jpmml.converter.Schema schema)  
      org.dmg.pmml.OutputField createApplyField​(org.dmg.pmml.DataType dataType)  
      org.dmg.pmml.OutputField createMultiApplyField​(org.dmg.pmml.DataType dataType, java.lang.String segmentId)  
      java.util.List<org.dmg.pmml.OutputField> createPredictProbaFields​(org.dmg.pmml.DataType dataType, org.jpmml.converter.DiscreteLabel discreteLabel)  
      org.dmg.pmml.Model encode​(java.lang.Object segmentId, org.jpmml.converter.Schema schema)  
      org.dmg.pmml.Model encode​(org.jpmml.converter.Schema schema)  
      org.dmg.pmml.OutputField encodeApplyOutput​(org.dmg.pmml.Model model, org.dmg.pmml.DataType dataType)  
      abstract org.jpmml.converter.Label encodeLabel​(java.util.List<java.lang.String> names, SkLearnEncoder encoder)  
      abstract org.dmg.pmml.Model encodeModel​(org.jpmml.converter.Schema schema)  
      java.util.List<org.dmg.pmml.OutputField> encodeMultiApplyOutput​(org.dmg.pmml.Model model, org.dmg.pmml.DataType dataType, java.util.List<java.lang.String> segmentIds)  
      java.lang.String getAlgorithmName()  
      org.dmg.pmml.DataType getDataType()  
      java.util.List<java.lang.Number> getFeatureImportances()  
      abstract org.dmg.pmml.MiningFunction getMiningFunction()  
      int getNumberOfFeatures()  
      int getNumberOfOutputs()  
      java.lang.Object getOption​(java.lang.String key, java.lang.Object defaultValue)  
      org.dmg.pmml.OpType getOpType()  
      java.util.List<Customization> getPMMLCustomizations()  
      java.util.List<java.lang.Number> getPMMLFeatureImportances()  
      java.util.Map<java.lang.String,​?> getPMMLOptions()  
      java.lang.Object getPMMLSegmentId()  
      boolean hasFeatureImportances()  
      abstract boolean isSupervised()  
      void putOption​(java.lang.String key, java.lang.Object value)  
      void putOptions​(java.util.Map<java.lang.String,​?> options)  
      Estimator setPMMLCustomizations​(java.util.List<? extends Customization> pmmlCustomizations)  
      Estimator setPMMLFeatureImportances​(java.util.List<java.lang.Number> pmmlFeatureImportances)  
      Estimator setPMMLOptions​(java.util.Map<java.lang.String,​?> pmmlOptions)  
      Estimator setPMMLSegmentId​(java.lang.Object pmmlSegmentId)  
      • Methods inherited from class org.jpmml.python.PythonObject

        containsKey, delattr, get, get, getArray, getArray, getArray, getArrayList, getArrayList, getArrayShape, getArrayShape, getattr, getattr, getBoolean, getBooleanArray, getClassName, getDict, getEnum, getEnumList, getIdentifiable, getInteger, getIntegerArray, getList, getList, getListLike, getListLike, getNumber, getNumberArray, getObject, getObjectArray, getObjectList, getOptional, getOptionalBoolean, getOptionalBoolean, getOptionalDict, getOptionalEnum, getOptionalIdentifiable, getOptionalInteger, getOptionalNumber, getOptionalObject, getOptionalScalar, getOptionalString, getOptionalTuple, getPythonModule, getPythonName, getScalar, getString, getStringArray, getStringList, getTuple, getTupleList, hasattr, put, putAll, remove, setattr, setClassName, update
      • Methods inherited from class net.razorvine.pickle.objects.ClassDict

        __setstate__
      • Methods inherited from class java.util.HashMap

        clear, clone, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, values
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        equals, hashCode
    • Constructor Detail

      • Estimator

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

      • getMiningFunction

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

        public abstract boolean isSupervised()
      • encodeLabel

        public abstract org.jpmml.converter.Label encodeLabel​(java.util.List<java.lang.String> names,
                                                              SkLearnEncoder encoder)
      • 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 java.lang.String getAlgorithmName()
      • encode

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

        public org.dmg.pmml.Model encode​(java.lang.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​(java.util.List<? extends org.jpmml.converter.Feature> features)
      • addFeatureImportances

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

        public java.lang.Object getOption​(java.lang.String key,
                                          java.lang.Object defaultValue)
      • putOption

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

        public void putOptions​(java.util.Map<java.lang.String,​?> options)
      • getPMMLCustomizations

        public java.util.List<Customization> getPMMLCustomizations()
      • setPMMLCustomizations

        public Estimator setPMMLCustomizations​(java.util.List<? extends Customization> pmmlCustomizations)
      • hasFeatureImportances

        public boolean hasFeatureImportances()
      • getFeatureImportances

        public java.util.List<java.lang.Number> getFeatureImportances()
      • getPMMLFeatureImportances

        public java.util.List<java.lang.Number> getPMMLFeatureImportances()
      • setPMMLFeatureImportances

        public Estimator setPMMLFeatureImportances​(java.util.List<java.lang.Number> pmmlFeatureImportances)
      • createPredictProbaFields

        public java.util.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,
                                                              java.lang.String segmentId)
      • encodeMultiApplyOutput

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