Package org.jpmml.translator.mining
Class MiningModelTranslator
- java.lang.Object
-
- org.jpmml.evaluator.PMMLManager
-
- org.jpmml.evaluator.ModelManager<M>
-
- org.jpmml.translator.ModelTranslator<org.dmg.pmml.mining.MiningModel>
-
- org.jpmml.translator.mining.MiningModelTranslator
-
- All Implemented Interfaces:
Serializable,org.jpmml.evaluator.HasModel<org.dmg.pmml.mining.MiningModel>,org.jpmml.evaluator.HasPMML
- Direct Known Subclasses:
ModelChainTranslator,TreeModelAggregatorTranslator,TreeModelBoosterTranslator
public abstract class MiningModelTranslator extends ModelTranslator<org.dmg.pmml.mining.MiningModel>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MiningModelTranslator(org.dmg.pmml.PMML pmml, org.dmg.pmml.mining.MiningModel miningModel)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcheckLocalTransformations(org.dmg.pmml.Model model)static voidcheckMiningSchema(org.dmg.pmml.Model model)static voidcheckOutput(org.dmg.pmml.Model model)static voidcheckTargets(org.dmg.pmml.Model model)static NumberextractIntercept(org.dmg.pmml.Target target)ModelTranslator<?>newModelTranslator(org.dmg.pmml.Model model)static voidpullUpDerivedFields(org.dmg.pmml.mining.MiningModel parent, org.dmg.pmml.Model child)static voidpullUpOutputFields(org.dmg.pmml.mining.MiningModel parent, org.dmg.pmml.Model child)-
Methods inherited from class org.jpmml.translator.ModelTranslator
createEvaluateClassificationMethod, createEvaluateMethod, createEvaluateRegressionMethod, createEvaluatorMethod, createEvaluatorMethod, createEvaluatorMethod, createEvaluatorMethodInvocation, declareArrayFields, ensureArgumentsType, ensureFunctionalInterface, getArrayInfos, getFieldInfos, getTargetCategories, getValueFactory, translate, translateClassifier, translateRegressor, translateRegressorTarget
-
Methods inherited from class org.jpmml.evaluator.ModelManager
addResultFeatures, collectResultFeatures, collectSegmentResultFeatures, createInputFields, createInputFields, createMiningSchemaException, createOutputFields, createResidualFields, createTargetFields, filterOutputFields, getActiveFields, getDataField, getDefaultDataField, getInputFields, getLocalDerivedField, getMathContext, getMiningField, getMiningFunction, getModel, getOutputField, getOutputFields, getResidualFields, getResultFeatures, getSupplementaryFields, getTarget, getTargetField, getTargetFields, getTargetName, getVisibleFields, hasLocalDerivedFields, hasOutputFields, hasResultFeature, resetInputFields, resetResultFields, resolveField, setDefaultDataField
-
Methods inherited from class org.jpmml.evaluator.PMMLManager
getDefineFunction, getDerivedField, getPMML, toImmutableListMap, toImmutableMapMap, toImmutableSetMap
-
-
-
-
Method Detail
-
newModelTranslator
public ModelTranslator<?> newModelTranslator(org.dmg.pmml.Model model)
-
extractIntercept
public static Number extractIntercept(org.dmg.pmml.Target target)
-
checkMiningSchema
public static void checkMiningSchema(org.dmg.pmml.Model model)
-
checkLocalTransformations
public static void checkLocalTransformations(org.dmg.pmml.Model model)
-
checkTargets
public static void checkTargets(org.dmg.pmml.Model model)
-
checkOutput
public static void checkOutput(org.dmg.pmml.Model model)
-
pullUpDerivedFields
public static void pullUpDerivedFields(org.dmg.pmml.mining.MiningModel parent, org.dmg.pmml.Model child)
-
pullUpOutputFields
public static void pullUpOutputFields(org.dmg.pmml.mining.MiningModel parent, org.dmg.pmml.Model child)
-
-