Package | Description |
---|---|
org.tribuo.classification.explanations.lime |
Provides an implementation of LIME (Locally Interpretable Model Explanations).
|
org.tribuo.data |
Provides classes for loading in data from disk, processing it into examples, and splitting datasets for
things like cross-validation and train-test splits.
|
org.tribuo.data.columnar |
Provides classes for processing columnar data and generating
Example s. |
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.json |
Provides interop with JSON formatted data, along with tools for interacting with JSON provenance objects.
|
Constructor and Description |
---|
LIMEColumnar(SplittableRandom rng,
Model<Label> innerModel,
SparseTrainer<Regressor> explanationTrainer,
int numSamples,
RowProcessor<Label> exampleGenerator,
Tokenizer tokenizer)
Constructs a LIME explainer for a model which uses the columnar data processing system.
|
Modifier and Type | Field and Description |
---|---|
RowProcessor<?> |
DataOptions.rowProcessor |
Modifier and Type | Field and Description |
---|---|
protected RowProcessor<T> |
ColumnarDataSource.rowProcessor |
Modifier and Type | Method and Description |
---|---|
RowProcessor<T> |
RowProcessor.copy()
Deprecated.
In a future release this API will change, in the meantime this is the correct way to get a row
processor with clean state.
When using regexMappingProcessors, RowProcessor is stateful in a way that can sometimes make it fail the second time it is used. Concretely: RowProcessor rp; Dataset ds1 = new MutableDataset(new CSVDataSource(csvfile1, rp)); Dataset ds2 = new MutableDataset(new CSVDataSource(csvfile2, rp)); // this may fail due to state in rpThis method returns a RowProcessor with clean state and the same configuration as this row processor. |
Constructor and Description |
---|
ColumnarDataSource(OutputFactory<T> outputFactory,
RowProcessor<T> rowProcessor,
boolean outputRequired)
Constructs a columnar data source with the specified parameters.
|
Constructor and Description |
---|
CSVDataSource(Path dataPath,
RowProcessor<T> rowProcessor,
boolean outputRequired)
Creates a CSVDataSource using the specified RowProcessor to process the data.
|
CSVDataSource(Path dataPath,
RowProcessor<T> rowProcessor,
boolean outputRequired,
char separator)
Creates a CSVDataSource using the specified RowProcessor to process the data.
|
CSVDataSource(Path dataPath,
RowProcessor<T> rowProcessor,
boolean outputRequired,
char separator,
char quote)
Creates a CSVDataSource using the specified RowProcessor to process the data, and the supplied separator and quote
characters to read the input data file.
|
CSVDataSource(URI dataFile,
RowProcessor<T> rowProcessor,
boolean outputRequired)
Creates a CSVDataSource using the specified RowProcessor to process the data.
|
CSVDataSource(URI dataFile,
RowProcessor<T> rowProcessor,
boolean outputRequired,
char separator)
Creates a CSVDataSource using the specified RowProcessor to process the data.
|
CSVDataSource(URI dataFile,
RowProcessor<T> rowProcessor,
boolean outputRequired,
char separator,
char quote)
Creates a CSVDataSource using the specified RowProcessor to process the data, and the supplied separator and quote
characters to read the input data file.
|
Constructor and Description |
---|
SQLDataSource(String sqlString,
SQLDBConfig sqlConfig,
OutputFactory<T> outputFactory,
RowProcessor<T> rowProcessor,
boolean outputRequired) |
Constructor and Description |
---|
JsonDataSource(Path dataPath,
RowProcessor<T> rowProcessor,
boolean outputRequired)
Creates a JsonDataSource using the specified RowProcessor to process the data.
|
JsonDataSource(URI dataFile,
RowProcessor<T> rowProcessor,
boolean outputRequired)
Creates a JsonDataSource using the specified RowProcessor to process the data.
|
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.