Package ai.djl.basicdataset.tabular
Class AirfoilRandomAccess
java.lang.Object
ai.djl.training.dataset.RandomAccessDataset
ai.djl.basicdataset.tabular.TabularDataset
ai.djl.basicdataset.tabular.CsvDataset
ai.djl.basicdataset.tabular.AirfoilRandomAccess
- All Implemented Interfaces:
ai.djl.training.dataset.Dataset
Airfoil Self-Noise Data Set from https://archive.ics.uci.edu/ml/datasets/Airfoil+Self-Noise.
1503 instances 6 attributes
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A builder to construct aAirfoilRandomAccess
.Nested classes/interfaces inherited from class ai.djl.basicdataset.tabular.CsvDataset
CsvDataset.CsvBuilder<T extends CsvDataset.CsvBuilder<T>>
Nested classes/interfaces inherited from class ai.djl.basicdataset.tabular.TabularDataset
TabularDataset.BaseBuilder<T extends TabularDataset.BaseBuilder<T>>
Nested classes/interfaces inherited from interface ai.djl.training.dataset.Dataset
ai.djl.training.dataset.Dataset.Usage
-
Field Summary
Fields inherited from class ai.djl.basicdataset.tabular.CsvDataset
csvFormat, csvRecords, csvUrl
Fields inherited from class ai.djl.basicdataset.tabular.TabularDataset
features, labels
Fields inherited from class ai.djl.training.dataset.RandomAccessDataset
dataBatchifier, device, labelBatchifier, limit, pipeline, prefetchNumber, sampler, targetPipeline
-
Method Summary
Modifier and TypeMethodDescriptionstatic AirfoilRandomAccess.Builder
builder()
Creates a builder to build aAirfoilRandomAccess
.Returns the column names of the CSV file.void
prepare
(ai.djl.util.Progress progress) Methods inherited from class ai.djl.basicdataset.tabular.CsvDataset
availableSize, getCell
Methods inherited from class ai.djl.basicdataset.tabular.TabularDataset
get, getFeatures, getFeatureSize, getLabels, getLabelSize, getRowDirect, getRowFeatures, matchingTranslatorOptions, prepareFeaturizers
Methods inherited from class ai.djl.training.dataset.RandomAccessDataset
getData, getData, getData, getData, newSubDataset, newSubDataset, randomSplit, size, subDataset, subDataset, subDataset, subDataset, toArray
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ai.djl.training.dataset.Dataset
prepare
-
Method Details
-
prepare
- Specified by:
prepare
in interfaceai.djl.training.dataset.Dataset
- Overrides:
prepare
in classCsvDataset
- Throws:
IOException
-
getColumnNames
Returns the column names of the CSV file.- Overrides:
getColumnNames
in classCsvDataset
- Returns:
- a list of column name
-
builder
Creates a builder to build aAirfoilRandomAccess
.- Returns:
- a new builder
-