Package | Description |
---|---|
deepnetts.data |
Data structures to store example data used for building machine learning models.
|
deepnetts.util |
Various utility classes including Tensor, image operations, multithreading, exceptions etc.
|
Modifier and Type | Method and Description |
---|---|
ImageSet[] |
ImageSet.split(double... partSizes)
Splits data set into several parts specified by the input parameter
partSizes.
|
Modifier and Type | Method and Description |
---|---|
static ImageSet |
ImageSetUtils.createDataSetFromRawImages(String sourcePath,
String targetPath,
int targetWidth,
int targetHeight,
boolean useAbsolutePaths)
Creates image data set from raw images by resizing and randomly croping to target dimensions.
|
Modifier and Type | Method and Description |
---|---|
static void |
ImageSetUtils.balanceUpsample(ImageSet imageSet,
Map<String,Integer> clazzStats)
Balance specified data set by adding random images of each class, to get equal number of examples for each class.
|
Copyright © 2022. All rights reserved.