LECA.active_learning.InteractiveModel
- class LECA.active_learning.InteractiveModel(features, objective)
Bases:
objectGets an initial database. When evaluation data is queryed that is not in the database, the model asks the user to provide that data.
- __init__(features, objective)
- evaluate(grid, **kwargs)
Evaluate the Interactive Model on provided data points.
- Parameters:
grid (np.ndarray) – Data points for which to evaluate the InteractiveModel. Data points can be on a grid or freely chosen.
- Returns:
Objective values observed at the grid points.
- Return type:
np.ndarray