Class AggregateConfigurableDataSource<T extends Output<T>>
java.lang.Object
org.tribuo.datasource.AggregateConfigurableDataSource<T>
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Configurable,com.oracle.labs.mlrg.olcut.provenance.Provenancable<DataSourceProvenance>,Iterable<Example<T>>,ConfigurableDataSource<T>,DataSource<T>
public class AggregateConfigurableDataSource<T extends Output<T>>
extends Object
implements ConfigurableDataSource<T>
Aggregates multiple
ConfigurableDataSources, uses AggregateDataSource.IterationOrder to control the
iteration order.
Identical to AggregateDataSource except it can be configured.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classProvenance for theAggregateConfigurableDataSource. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an aggregate data source which will iterate the provided sources in the order of the list (i.e., usingAggregateDataSource.IterationOrder.SEQUENTIAL.AggregateConfigurableDataSource(List<ConfigurableDataSource<T>> sources, AggregateDataSource.IterationOrder order) Creates an aggregate data source using the supplied sources and iteration order. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.oracle.labs.mlrg.olcut.config.Configurable
postConfigMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
AggregateConfigurableDataSource
Creates an aggregate data source which will iterate the provided sources in the order of the list (i.e., usingAggregateDataSource.IterationOrder.SEQUENTIAL.- Parameters:
sources- The sources to aggregate.
-
AggregateConfigurableDataSource
public AggregateConfigurableDataSource(List<ConfigurableDataSource<T>> sources, AggregateDataSource.IterationOrder order) Creates an aggregate data source using the supplied sources and iteration order.- Parameters:
sources- The sources to iterate.order- The iteration order.
-
-
Method Details
-
toString
-
getOutputFactory
Description copied from interface:DataSourceReturns the OutputFactory associated with this Output subclass.- Specified by:
getOutputFactoryin interfaceDataSource<T extends Output<T>>- Returns:
- The output factory.
-
iterator
-
getProvenance
-