Interface ModelImplementationProvider<T extends org.dmg.pmml.Model,E extends KiePMMLModel>
public interface ModelImplementationProvider<T extends org.dmg.pmml.Model,E extends KiePMMLModel>
API for actual PMML model implementations
-
Method Summary
Modifier and TypeMethodDescriptiondefault KiePMMLModelWithSourcesgetKiePMMLModelWithSources(CompilationDTO<T> compilationDTO) Method to be called following a kie-maven-plugin invocationdefault KiePMMLModelWithSourcesgetKiePMMLModelWithSourcesCompiled(CompilationDTO<T> compilationDTO) Method provided only to have drools models working when invoked by aMiningModelDefault implementation provided for not-drools models.getSourcesMap(CompilationDTO<T> compilationDTO)
-
Method Details
-
getPMMLModelType
PMML_MODEL getPMMLModelType() -
getKiePMMLModelClass
-
getKiePMMLModelWithSources
Method to be called following a kie-maven-plugin invocation- Parameters:
compilationDTO-- Returns:
- Throws:
KiePMMLInternalException
-
getSourcesMap
-
getKiePMMLModelWithSourcesCompiled
default KiePMMLModelWithSources getKiePMMLModelWithSourcesCompiled(CompilationDTO<T> compilationDTO) Method provided only to have drools models working when invoked by aMiningModelDefault implementation provided for not-drools models.- Parameters:
compilationDTO-- Returns:
- Throws:
KiePMMLInternalException
-