Package ai.libs.mlplan.weka.weka
Class MLPipelineComponentInstanceFactory
- java.lang.Object
-
- ai.libs.mlplan.weka.weka.MLPipelineComponentInstanceFactory
-
public class MLPipelineComponentInstanceFactory extends java.lang.ObjectA factory that provides the ability to wrap given MLPipelines to a ComponentInstance
-
-
Constructor Summary
Constructors Constructor Description MLPipelineComponentInstanceFactory(java.util.Collection<? extends ai.libs.jaicore.components.api.IComponent> components)Creates a new factory object using the given configuration file
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ai.libs.jaicore.components.model.ComponentInstanceconvertToComponentInstance(ai.libs.jaicore.ml.weka.classification.pipeline.MLPipeline pipeline)Converts the given MLPipelines object to a ComponentInstance.
-
-
-
Method Detail
-
convertToComponentInstance
public ai.libs.jaicore.components.model.ComponentInstance convertToComponentInstance(ai.libs.jaicore.ml.weka.classification.pipeline.MLPipeline pipeline) throws ai.libs.jaicore.components.exceptions.ComponentNotFoundExceptionConverts the given MLPipelines object to a ComponentInstance.- Parameters:
pipeline- The pipelines to convert- Returns:
- The converted pipelines as a ComponentInstance
- Throws:
ai.libs.jaicore.components.exceptions.ComponentNotFoundException- When the pipelines contains elements that are not in the loaded configuration
-
-