Uses of Interface
org.tribuo.provenance.DataProvenance
Package
Description
Provides the core interfaces and classes for using Tribuo.
Provides anomaly data generators used for demos and testing implementations.
Provides a multiclass data generator used for testing implementations, along with several synthetic data generators
for 2d binary classification problems to be used in demos or tutorials.
Provides clustering data generators used for demos and testing implementations.
Provides classes which can load columnar data (using a
RowProcessor
)
from a CSV (or other character delimited format) file.Provides classes which can load columnar data (using a
RowProcessor
)
from a SQL source.Provides implementations of text data processors.
Provides utility datasets which subsample or otherwise
transform the wrapped dataset.
Simple data sources for ingesting or aggregating data.
Evaluation base classes, along with code for train/test splits and cross validation.
Provides implementations of base classes and interfaces from
org.tribuo
.This package contains the abstract implementation of an external model
trained by something outside of Tribuo.
Provides interop with JSON formatted data, along with tools for interacting with JSON provenance objects.
Provides a multi-label data generator for testing implementations and a
configurable data source suitable for demos and tests.
Provides Tribuo specific infrastructure for the
Provenance
system which
tracks models and datasets.Provides internal implementations for empty provenance classes and TrainerProvenance.
Provides some example regression data generators for testing implementations.
Provides core classes for working with sequences of
Example
s.-
Uses of DataProvenance in org.tribuo
Modifier and TypeFieldDescriptionprotected final DataProvenance
Dataset.sourceProvenance
The provenance of the data source, extracted on construction.Modifier and TypeMethodDescriptionDataset.getSourceProvenance()
The provenance of the data this Dataset contains.ModifierConstructorDescriptionprotected
Dataset
(DataProvenance provenance, OutputFactory<T> outputFactory) Creates a dataset.protected
Dataset
(DataProvenance provenance, OutputFactory<T> outputFactory, String tribuoVersion) Creates a dataset.ImmutableDataset
(Iterable<Example<T>> dataSource, DataProvenance description, OutputFactory<T> outputFactory, FeatureMap featureIDMap, OutputInfo<T> outputIDInfo, boolean dropInvalidExamples) Creates a dataset from a data source.ImmutableDataset
(Iterable<Example<T>> dataSource, DataProvenance description, OutputFactory<T> outputFactory, ImmutableFeatureMap featureIDMap, ImmutableOutputInfo<T> outputIDInfo, boolean dropInvalidExamples) Creates a dataset from a data source.protected
ImmutableDataset
(DataProvenance description, OutputFactory<T> outputFactory) If you call this it's your job to setup outputMap, featureIDMap and fill it with examples.protected
ImmutableDataset
(DataProvenance provenance, OutputFactory<T> factory, String tribuoVersion, ImmutableFeatureMap fmap, ImmutableOutputInfo<T> outputInfo, List<Example<T>> examples, boolean dropInvalidExamples) Deserialization constructor.protected
ImmutableDataset
(DataProvenance description, OutputFactory<T> outputFactory, ImmutableFeatureMap featureIDMap, ImmutableOutputInfo<T> outputIDInfo) This is dangerous, and should not be used unless you've overridden everything in ImmutableDataset.MutableDataset
(Iterable<Example<T>> dataSource, DataProvenance provenance, OutputFactory<T> outputFactory) Creates a dataset from a data source.MutableDataset
(DataProvenance sourceProvenance, OutputFactory<T> outputFactory) Creates an empty dataset. -
Uses of DataProvenance in org.tribuo.anomaly.example
-
Uses of DataProvenance in org.tribuo.classification.example
-
Uses of DataProvenance in org.tribuo.clustering.example
-
Uses of DataProvenance in org.tribuo.data.csv
Modifier and TypeClassDescriptionstatic class
Provenance forCSVDataSource
.static final class
Deprecated. -
Uses of DataProvenance in org.tribuo.data.sql
-
Uses of DataProvenance in org.tribuo.data.text
-
Uses of DataProvenance in org.tribuo.data.text.impl
Modifier and TypeClassDescriptionstatic class
Provenance forSimpleStringDataSource
.static class
Provenance forSimpleTextDataSource
. -
Uses of DataProvenance in org.tribuo.dataset
Modifier and TypeClassDescriptionstatic final class
Provenance for theDatasetView
.static class
Provenance forMinimumCardinalityDataset
.static final class
Provenance forSelectedFeatureDataset
. -
Uses of DataProvenance in org.tribuo.datasource
Modifier and TypeClassDescriptionstatic class
Provenance for theAggregateConfigurableDataSource
.static class
Provenance for theAggregateDataSource
.static final class
Provenance class forIDXDataSource
.static final class
The provenance for aLibSVMDataSource
. -
Uses of DataProvenance in org.tribuo.evaluation
Modifier and TypeClassDescriptionstatic class
Provenance for a split data source.Modifier and TypeMethodDescriptiondefault OnlineEvaluator<T,
E> Evaluator.createOnlineEvaluator
(Model<T> model, DataProvenance provenance) Creates an online evaluator that maintains a list of all the predictions it has seen and can evaluate them upon request.final E
AbstractEvaluator.evaluate
(Model<T> model, List<Prediction<T>> predictions, DataProvenance dataProvenance) Produces an evaluation for the supplied model and predictions by aggregating the appropriate statistics.default E
Evaluator.evaluate
(Model<T> model, List<Prediction<T>> predictions, List<T> groundTruth, DataProvenance dataProvenance) Evaluates the model performance using the supplied predictions, returning an immutableEvaluation
of the appropriate type.Evaluator.evaluate
(Model<T> model, List<Prediction<T>> predictions, DataProvenance dataProvenance) Evaluates the model performance using the supplied predictions, returning an immutableEvaluation
of the appropriate type.ModifierConstructorDescriptionOnlineEvaluator
(Evaluator<T, E> evaluator, Model<T> model, DataProvenance provenance) Constructs anOnlineEvaluator
which accumulates predictions. -
Uses of DataProvenance in org.tribuo.impl
ModifierConstructorDescriptionDatasetDataCarrier
(DataProvenance provenance, FeatureMap featureDomain, OutputInfo<T> outputDomain, OutputFactory<T> outputFactory, List<com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance> transformProvenances, String tribuoVersion) Constructs a new DatasetDataCarrier. -
Uses of DataProvenance in org.tribuo.interop
Modifier and TypeClassDescriptionclass
A dummy provenance used to describe the dataset of external models. -
Uses of DataProvenance in org.tribuo.json
-
Uses of DataProvenance in org.tribuo.multilabel.example
-
Uses of DataProvenance in org.tribuo.provenance
Modifier and TypeInterfaceDescriptioninterface
A tag interface for configurable data source provenance.interface
Data source provenance.Modifier and TypeClassDescriptionclass
Base class for dataset provenance.class
This class stores a String describing the data source, along with a timestamp.Modifier and TypeMethodDescriptionDatasetProvenance.getSourceProvenance()
The input data provenance.EvaluationProvenance.getTestDatasetProvenance()
The test dataset provenance.ModifierConstructorDescriptionprotected
DatasetProvenance
(DataProvenance sourceProvenance, com.oracle.labs.mlrg.olcut.provenance.ListProvenance<com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance> transformationProvenance, String datasetClassName, boolean isDense, boolean isSequence, int numExamples, int numFeatures, int numOutputs) Constructs a dataset provenance using the supplied information.DatasetProvenance
(DataProvenance sourceProvenance, com.oracle.labs.mlrg.olcut.provenance.ListProvenance<com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance> transformationProvenance, Dataset<T> dataset) Creates a dataset provenance from the supplied dataset.DatasetProvenance
(DataProvenance sourceProvenance, com.oracle.labs.mlrg.olcut.provenance.ListProvenance<com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance> transformationProvenance, SequenceDataset<T> dataset) Creates a dataset provenance from the supplied sequence dataset.EvaluationProvenance
(ModelProvenance modelProvenance, DataProvenance datasetProvenance) Constructs an evaluation provenance from the supplied provenances. -
Uses of DataProvenance in org.tribuo.provenance.impl
Modifier and TypeClassDescriptionfinal class
An empty DatasetProvenance, should not be used except by the provenance removal system.final class
An empty DataSourceProvenance, should not be used except by the provenance removal system. -
Uses of DataProvenance in org.tribuo.regression.example
Modifier and TypeClassDescriptionstatic class
Provenance forGaussianDataSource
.static class
Provenance forNonlinearGaussianDataSource
. -
Uses of DataProvenance in org.tribuo.sequence
Modifier and TypeFieldDescriptionprotected final DataProvenance
SequenceDataset.sourceProvenance
The provenance of the data source, extracted on construction.Modifier and TypeMethodDescriptionSequenceDataset.getSourceProvenance()
Returns the source provenance.Modifier and TypeMethodDescriptionfinal E
AbstractSequenceEvaluator.evaluate
(SequenceModel<T> model, List<List<Prediction<T>>> predictions, DataProvenance dataProvenance) Produces an evaluation for the supplied model and predictions by aggregating the appropriate statistics.SequenceEvaluator.evaluate
(SequenceModel<T> model, List<List<Prediction<T>>> predictions, DataProvenance dataProvenance) Evaluates the supplied model and predictions by aggregating the appropriate statistics.ModifierConstructorDescriptionImmutableSequenceDataset
(Iterable<SequenceExample<T>> dataSource, DataProvenance sourceProvenance, FeatureMap featureIDMap, OutputInfo<T> outputIDInfo, OutputFactory<T> outputFactory) Creates a dataset from a data source.ImmutableSequenceDataset
(Iterable<SequenceExample<T>> dataSource, DataProvenance sourceProvenance, ImmutableFeatureMap featureIDMap, ImmutableOutputInfo<T> outputIDInfo, OutputFactory<T> outputFactory) Creates a dataset from a data source.protected
ImmutableSequenceDataset
(DataProvenance sourceProvenance, ImmutableFeatureMap featureIDMap, ImmutableOutputInfo<T> outputIDInfo) This is dangerous, and should not be used unless you've overridden everything in ImmutableSequenceDataset.protected
ImmutableSequenceDataset
(DataProvenance sourceProvenance, OutputFactory<T> outputFactory) If you call this it's your job to setup outputIDInfo and featureIDMap.protected
ImmutableSequenceDataset
(DataProvenance provenance, OutputFactory<T> factory, String tribuoVersion, ImmutableFeatureMap fmap, ImmutableOutputInfo<T> outputInfo, List<SequenceExample<T>> examples) Deserialization constructor.MutableSequenceDataset
(Iterable<SequenceExample<T>> dataSource, DataProvenance sourceProvenance, OutputFactory<T> outputFactory) Creates a dataset from a data source.MutableSequenceDataset
(DataProvenance sourceProvenance, OutputFactory<T> outputFactory) Creates an empty sequence dataset.protected
SequenceDataset
(DataProvenance sourceProvenance, OutputFactory<T> outputFactory) Constructs a sequence dataset using the current Tribuo version.protected
SequenceDataset
(DataProvenance sourceProvenance, OutputFactory<T> outputFactory, String tribuoVersion) Constructs a sequence dataset.
CSVDataSource
.