Package org.api4.java.ai.ml.core.learner
Interface ILearnerConfigHandler
-
- All Known Subinterfaces:
IClassifier,IClusterer,IDyadRanker,ILabelRanker,IMultiLabelClassifier,IRanker<O,I,D>,IRegressor,ISingleLabelClassifier,ISupervisedLearner<I,D>,IUnsupervisedLearner<I,D>
public interface ILearnerConfigHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getConfig()voidsetConfig(java.util.Map<java.lang.String,java.lang.Object> config)Sets the the configuration to the set values.
-
-
-
Method Detail
-
setConfig
void setConfig(java.util.Map<java.lang.String,java.lang.Object> config) throws LearnerConfigurationFailedException, java.lang.InterruptedExceptionSets the the configuration to the set values.- Parameters:
config-- Throws:
LearnerConfigurationFailedException- Thrown, if there were issues regarding the configuration or setting the configuration to the new configs.java.lang.InterruptedException- Thrown if the handler for setting the configurations is interrupted.
-
getConfig
java.util.Map<java.lang.String,java.lang.Object> getConfig()
- Returns:
- A key-value map for mapping properties to the respective values.
-
-