Experiment Modules (Core)#
- class EstimatorExperiment(query_selector, time_source, data_pools, poracles, estimator)[source]#
Bases:
ExperimentModules
DescriptionEstimatorExperiment additionally has an estimator to train on the data.- Parameters:
query_selector (QuerySelector) – Decider over the most useful datapoints for continued learning
time_source (TimeSource) – A time source for the experiment
data_pools (DataPools) – Collector of already acquired data
oracles (Oracles) – The source of new data
estimator (Estimator) – An estimator that trains with the acquired data
- class ExperimentModules(query_selector, time_source, data_pools, oracles)[source]#
Bases:
Publisher
DescriptionExperimentModules is a collection of configured modules necessary for an experiment.- Parameters:
query_selector (QuerySelector) – Decider over the most useful datapoints for continued learning
time_source (TimeSource) – A time source for the experiment
data_pools (DataPools) – Collector of already acquired data
oracles (Oracles) – The source of new data
- query_selector: QuerySelector = NOTSET#
- step(self, iteration) None [source]#
- DescriptionDoes a step in the experiment at time point
iteration
.- Parameters:
iteration (int) – Current iteration of the experiment
- time_source: TimeSource#
- class InitQueryEstimatorExperiment(query_selector, time_source, data_pools, poracles, initial_query_sampler, estimator)[source]#
Bases:
InitQueryExperimentModules
,EstimatorExperiment
DescriptionInitQueryEstimatorExperiment is an experiment setup with an initial query sample and an estimator to train.- Parameters:
query_selector (QuerySelector) – Decider over the most useful datapoints for continued learning
time_source (TimeSource) – A time source for the experiment
data_pools (DataPools) – Collector of already acquired data
oracles (POracles) – The source of new data
initial_query_sampler (QuerySampler) – A sampler to get the very first datapoints
estimator (Estimator) – An estimator that trains with the acquired data
- class InitQueryExperimentModules(query_selector, time_source, data_pools, poracles, initial_query_sampler)[source]#
Bases:
ExperimentModules
DescriptionInitQueryExperimentModules additionally has an initial QuerySampler and a Process Oracle.- Parameters:
query_selector (QuerySelector) – Decider over the most useful datapoints for continued learning
time_source (TimeSource) – A time source for the experiment
data_pools (DataPools) – Collector of already acquired data
oracles (POracles) – The source of new data
initial_query_sampler (QuerySampler) – A sampler to get the very first datapoints
- init_queries(self) None [source]#
- DescriptionSamples the inital queries and adds them to the oracle.
- Returns:
The sampled queries
- Return type:
- initial_query_sampler: QuerySampler = NOTSET#