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
Nested ClassesModifier and TypeClassDescriptionstatic final classA 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, csvUrlFields inherited from class ai.djl.basicdataset.tabular.TabularDataset
features, labelsFields inherited from class ai.djl.training.dataset.RandomAccessDataset
dataBatchifier, device, labelBatchifier, limit, pipeline, prefetchNumber, sampler, targetPipeline -
Method Summary
Modifier and TypeMethodDescriptionstatic AirfoilRandomAccess.Builderbuilder()Creates a builder to build aAirfoilRandomAccess.Returns the column names of the CSV file.voidprepare(ai.djl.util.Progress progress) Methods inherited from class ai.djl.basicdataset.tabular.CsvDataset
availableSize, getCellMethods inherited from class ai.djl.basicdataset.tabular.TabularDataset
get, getFeatures, getFeatureSize, getLabels, getLabelSize, getRowDirect, getRowFeatures, matchingTranslatorOptions, prepareFeaturizersMethods inherited from class ai.djl.training.dataset.RandomAccessDataset
getData, getData, getData, getData, newSubDataset, newSubDataset, randomSplit, size, subDataset, subDataset, subDataset, subDataset, toArrayMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ai.djl.training.dataset.Dataset
prepare
-
Method Details
-
prepare
- Specified by:
preparein interfaceai.djl.training.dataset.Dataset- Overrides:
preparein classCsvDataset- Throws:
IOException
-
getColumnNames
Returns the column names of the CSV file.- Overrides:
getColumnNamesin classCsvDataset- Returns:
- a list of column name
-
builder
Creates a builder to build aAirfoilRandomAccess.- Returns:
- a new builder
-