Package org.tribuo
Interface DataSource<T extends Output<T>>
- All Superinterfaces:
Iterable<Example<T>>
,com.oracle.labs.mlrg.olcut.provenance.Provenancable<DataSourceProvenance>
- All Known Subinterfaces:
ConfigurableDataSource<T>
- All Known Implementing Classes:
AggregateConfigurableDataSource
,AggregateDataSource
,CheckerboardDataSource
,ColumnarDataSource
,ConcentricCirclesDataSource
,CSVDataSource
,DemoLabelDataSource
,DirectoryFileSource
,GaussianAnomalyDataSource
,GaussianClusterDataSource
,GaussianDataSource
,GaussianLabelDataSource
,IDXDataSource
,InterlockingCrescentsDataSource
,JsonDataSource
,LibSVMDataSource
,ListDataSource
,MultiLabelGaussianDataSource
,NoisyInterlockingCrescentsDataSource
,NonlinearGaussianDataSource
,SimpleStringDataSource
,SimpleTextDataSource
,SQLDataSource
,TextDataSource
public interface DataSource<T extends Output<T>>
extends com.oracle.labs.mlrg.olcut.provenance.Provenancable<DataSourceProvenance>, Iterable<Example<T>>
A interface for things that can be given to a Dataset's constructor.
Has a provenance method and a method to get the appropriate OutputFactory
for the Output
subclass in these examples.
DataSources are used to do inbound ETL of data on disk or held externally.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the OutputFactory associated with this Output subclass.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface com.oracle.labs.mlrg.olcut.provenance.Provenancable
getProvenance
-
Method Details
-
getOutputFactory
OutputFactory<T> getOutputFactory()Returns the OutputFactory associated with this Output subclass.- Returns:
- The output factory.
-