Companion
Functions
Creates float label.
Takes data from external data features and labels to create dataset OnHeapDataset.
Takes the data from generators featuresGenerator and labelGenerator to create an OnHeapDataset.
Creates an OnHeapDataset from pathToData and labels using preprocessing to prepare images.
Creates an OnHeapDataset from pathToData and labelGenerator with preprocessing to prepare images.
Takes data located in featuresPath, labelsPath with numClasses, extracts data and labels via featuresExtractor and labelExtractor to create an OnHeapDataset.
Takes data located in trainFeaturesPath, trainLabelsPath, testFeaturesPath, testLabelsPath with numClasses, extracts data and labels via featuresExtractor and labelExtractor to create a pair of OnHeapDataset for training and testing.
Normalizes bytes via division on 255 to get values in range '[0; 1)'.
Creates binary vector with size numClasses from label.
Converts bytes to FloatArray.