Package | Description |
---|---|
org.tribuo |
Provides the core interfaces and classes for using Tribuo.
|
org.tribuo.data.csv |
Provides classes which can load columnar data (using a
RowProcessor )
from a CSV (or other character delimited format) file. |
org.tribuo.data.sql |
Provides classes which can load columnar data (using a
RowProcessor )
from a SQL source. |
org.tribuo.data.text | |
org.tribuo.data.text.impl |
Provides implementations of text data processors.
|
org.tribuo.dataset |
Provides utility datasets which subsample or otherwise
transform the wrapped dataset.
|
org.tribuo.datasource |
Simple data sources for ingesting or aggregating data.
|
org.tribuo.evaluation |
Evaluation base classes, along with code for train/test splits and cross validation.
|
org.tribuo.interop |
This package contains the abstract implementation of an external model
trained by something outside of Tribuo.
|
org.tribuo.json |
Provides interop with JSON formatted data, along with tools for interacting with JSON provenance objects.
|
org.tribuo.provenance |
Provides Tribuo specific infrastructure for the
Provenance system which
tracks models and datasets. |
org.tribuo.provenance.impl |
Provides internal implementations for empty provenance classes and TrainerProvenance.
|
org.tribuo.regression.example |
Provides some example regression data generators for testing implementations.
|
org.tribuo.sequence |
Provides core classes for working with sequences of
Example s. |
Modifier and Type | Field and Description |
---|---|
protected DataProvenance |
Dataset.sourceProvenance
The provenance of the data source, extracted on construction.
|
Modifier and Type | Method and Description |
---|---|
DataProvenance |
Dataset.getSourceProvenance()
The provenance of the data this Dataset contains.
|
Constructor and Description |
---|
Dataset(DataProvenance provenance,
OutputFactory<T> outputFactory)
Creates a dataset.
|
ImmutableDataset(DataProvenance description,
OutputFactory<T> outputFactory)
If you call this it's your job to setup outputMap, featureIDMap and fill it with examples.
|
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.
|
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.
|
MutableDataset(DataProvenance sourceProvenance,
OutputFactory<T> outputFactory)
Creates an empty dataset.
|
MutableDataset(Iterable<Example<T>> dataSource,
DataProvenance provenance,
OutputFactory<T> outputFactory)
Creates a dataset from a data source.
|
Modifier and Type | Class and Description |
---|---|
static class |
CSVDataSource.CSVDataSourceProvenance
Provenance for
CSVDataSource . |
static class |
CSVLoader.CSVLoaderProvenance
Provenance for CSVs loaded by
CSVLoader . |
Modifier and Type | Class and Description |
---|---|
static class |
SQLDataSource.SQLDataSourceProvenance
Provenance for
SQLDataSource . |
Modifier and Type | Class and Description |
---|---|
static class |
DirectoryFileSource.DirectoryFileSourceProvenance
Provenance for
DirectoryFileSource . |
Modifier and Type | Class and Description |
---|---|
static class |
SimpleStringDataSource.SimpleStringDataSourceProvenance
Provenance for
SimpleStringDataSource . |
static class |
SimpleTextDataSource.SimpleTextDataSourceProvenance
Provenance for
SimpleTextDataSource . |
Modifier and Type | Class and Description |
---|---|
static class |
DatasetView.DatasetViewProvenance
Provenance for the
DatasetView . |
static class |
MinimumCardinalityDataset.MinimumCardinalityDatasetProvenance
Provenance for
MinimumCardinalityDataset . |
Modifier and Type | Class and Description |
---|---|
static class |
AggregateDataSource.AggregateDataSourceProvenance
Provenance for the
AggregateDataSource . |
static class |
IDXDataSource.IDXDataSourceProvenance
Provenance class for
IDXDataSource . |
static class |
LibSVMDataSource.LibSVMDataSourceProvenance
The provenance for a
LibSVMDataSource . |
Modifier and Type | Class and Description |
---|---|
static class |
TrainTestSplitter.SplitDataSourceProvenance
Provenance for a split data source.
|
Modifier and Type | Method and Description |
---|---|
default 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.
|
E |
Evaluator.evaluate(Model<T> model,
List<Prediction<T>> predictions,
DataProvenance dataProvenance)
Evaluates the model performance using the supplied predictions, returning an immutable
Evaluation
of the appropriate type. |
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 immutable
Evaluation
of the appropriate type. |
Constructor and Description |
---|
OnlineEvaluator(Evaluator<T,E> evaluator,
Model<T> model,
DataProvenance provenance)
Constructs an
OnlineEvaluator which accumulates predictions. |
Modifier and Type | Class and Description |
---|---|
class |
ExternalDatasetProvenance
A dummy provenance used to describe the dataset of external models.
|
Modifier and Type | Class and Description |
---|---|
static class |
JsonDataSource.JsonDataSourceProvenance
Provenance for
JsonDataSource . |
Modifier and Type | Interface and Description |
---|---|
interface |
ConfiguredDataSourceProvenance
A tag interface for configurable data source provenance.
|
interface |
DataSourceProvenance
Data source provenance.
|
Modifier and Type | Class and Description |
---|---|
class |
DatasetProvenance
Base class for dataset provenance.
|
class |
SimpleDataSourceProvenance
This class stores a String describing the data source, along with a
timestamp.
|
Modifier and Type | Method and Description |
---|---|
DataProvenance |
DatasetProvenance.getSourceProvenance()
The input data provenance.
|
DataProvenance |
EvaluationProvenance.getTestDatasetProvenance()
The test dataset provenance.
|
Constructor and Description |
---|
DatasetProvenance(DataProvenance sourceProvenance,
com.oracle.labs.mlrg.olcut.provenance.ListProvenance<com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance> transformationProvenance,
Dataset<T> dataset) |
DatasetProvenance(DataProvenance sourceProvenance,
com.oracle.labs.mlrg.olcut.provenance.ListProvenance<com.oracle.labs.mlrg.olcut.provenance.ObjectProvenance> transformationProvenance,
SequenceDataset<T> dataset) |
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) |
EvaluationProvenance(ModelProvenance modelProvenance,
DataProvenance datasetProvenance) |
Modifier and Type | Class and Description |
---|---|
class |
EmptyDatasetProvenance
An empty DatasetProvenance, should not be used except by the provenance removal system.
|
class |
EmptyDataSourceProvenance
An empty DataSourceProvenance, should not be used except by the provenance removal system.
|
Modifier and Type | Class and Description |
---|---|
static class |
GaussianDataSource.GaussianDataSourceProvenance
Provenance for
GaussianDataSource . |
Modifier and Type | Class and Description |
---|---|
static class |
MinimumCardinalitySequenceDataset.MinimumCardinalitySequenceDatasetProvenance
Provenance for
MinimumCardinalitySequenceDataset . |
Modifier and Type | Field and Description |
---|---|
protected DataProvenance |
SequenceDataset.sourceProvenance
The provenance of the data source, extracted on construction.
|
Modifier and Type | Method and Description |
---|---|
DataProvenance |
SequenceDataset.getSourceProvenance()
Returns the source provenance.
|
Modifier and Type | Method and Description |
---|---|
E |
SequenceEvaluator.evaluate(SequenceModel<T> model,
List<List<Prediction<T>>> predictions,
DataProvenance dataProvenance)
Evaluates the supplied model and predictions by aggregating the appropriate statistics.
|
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.
|
Constructor and Description |
---|
ImmutableSequenceDataset(DataProvenance sourceProvenance,
ImmutableFeatureMap featureIDMap,
ImmutableOutputInfo<T> outputIDInfo)
This is dangerous, and should not be used unless you've overridden everything in ImmutableSequenceDataset.
|
ImmutableSequenceDataset(DataProvenance sourceProvenance,
OutputFactory<T> outputFactory)
If you call this it's your job to setup outputIDInfo and featureIDMap.
|
ImmutableSequenceDataset(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.
|
MutableSequenceDataset(DataProvenance sourceProvenance,
OutputFactory<T> outputFactory)
Creates an empty sequence dataset.
|
MutableSequenceDataset(Iterable<SequenceExample<T>> dataSource,
DataProvenance sourceProvenance,
OutputFactory<T> outputFactory)
Creates a dataset from a data source.
|
SequenceDataset(DataProvenance sourceProvenance,
OutputFactory<T> outputFactory) |
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.