public static final class AmazonReview.Builder extends CsvDataset.CsvBuilder<AmazonReview.Builder>
AmazonReview.csvFormat, csvUrl, features, labels| Modifier and Type | Method and Description |
|---|---|
AmazonReview |
build()
Builds the new
CsvDataset. |
AmazonReview.Builder |
optArtifactId(java.lang.String artifactId)
Sets the optional artifactId.
|
AmazonReview.Builder |
optDatasetName(java.lang.String datasetName)
Sets the name of the subset of Amazon Reviews.
|
AmazonReview.Builder |
optGroupId(java.lang.String groupId)
Sets optional groupId.
|
AmazonReview.Builder |
optRepository(ai.djl.repository.Repository repository)
Sets the optional repository.
|
AmazonReview.Builder |
self() |
addCategoricalFeature, addCategoricalFeature, addCategoricalLabel, addCategoricalLabel, addFeature, addLabel, addNumericFeature, addNumericLabel, optCsvFile, optCsvUrl, setCsvFormatpublic AmazonReview.Builder self()
self in class CsvDataset.CsvBuilder<AmazonReview.Builder>public AmazonReview.Builder optRepository(ai.djl.repository.Repository repository)
repository - the repositorypublic AmazonReview.Builder optGroupId(java.lang.String groupId)
groupId - the groupId}public AmazonReview.Builder optArtifactId(java.lang.String artifactId)
artifactId - the artifactIdpublic AmazonReview.Builder optDatasetName(java.lang.String datasetName)
datasetName - the name of the datasetpublic AmazonReview build()
CsvDataset.build in class CsvDataset.CsvBuilder<AmazonReview.Builder>CsvDataset