public interface TaskCreator
Modifier and Type | Method and Description |
---|---|
Callable<OptimizationResult> |
create(Candidate candidate,
Class<? extends DataSource> dataSource,
Properties dataSourceProperties,
ScoreFunction scoreFunction,
List<StatusListener> statusListeners,
IOptimizationRunner runner)
Generate a callable that can be executed to conduct the training of this model (given the model configuration)
|
Callable<OptimizationResult> |
create(Candidate candidate,
DataProvider dataProvider,
ScoreFunction scoreFunction,
List<StatusListener> statusListeners,
IOptimizationRunner runner)
Deprecated.
|
@Deprecated Callable<OptimizationResult> create(Candidate candidate, DataProvider dataProvider, ScoreFunction scoreFunction, List<StatusListener> statusListeners, IOptimizationRunner runner)
candidate
- Candidate (model) configuration to be traineddataProvider
- DataProvider, for the datascoreFunction
- Score function to be used to evaluate the modelstatusListeners
- Status listeners, that can be used for callbacks (to UI, for example)Callable<OptimizationResult> create(Candidate candidate, Class<? extends DataSource> dataSource, Properties dataSourceProperties, ScoreFunction scoreFunction, List<StatusListener> statusListeners, IOptimizationRunner runner)
candidate
- Candidate (model) configuration to be traineddataSource
- Data sourcedataSourceProperties
- Properties (may be null) for the data sourcescoreFunction
- Score function to be used to evaluate the modelstatusListeners
- Status listeners, that can be used for callbacks (to UI, for example)Copyright © 2020. All rights reserved.