# Modules

## Datasets

Datasets.downloaderMethod
This function takes a url and a destination and downloads the file there with a name specified.

dest: Path
fname: File name
julia

source
Datasets.get_dataMethod

Main function to download a standard dataset. Takes input as name from the above list, the destination and a boolean to check if the user wants to extract the data. The filename is inferred from the destination and the url.

get_data("mnist", "/tmp/", 1)

source

## Classification

classification.encoderMethod
• Return a label encoded vector from 1..number of unique vals
• Also returns a copy of the labels for later use, use as encoded, _ if you do not care about re encoding it again
source
classification.from_csvFunction
• Read paths from a csv file along with labels given path column name and label column name
• Further can be passed into labellers and encoders
• Just a convinence function really
source
classification.from_folderMethod
• Identify the number of classes in the data. Return an array with all image paths and class labels
• Does not actually load the images. Just returns paths
• Assuming heirarchy of classes to be:
• Main Folder
• class1 -img1 -img2...
• class2 -img1 -img2...
source

# Available Datasets

mnistSource
cifar10Source
cifar100Source
birdsSource
caltech101Source
petsSource
foodSource
imagenetteSource
imagenette320Source
imagenette160Source
imagewoofSource
imagewoof320Source
imagewoof160Source
imdbSource
wikitext103Source
wikitext2Source
wmtSource
agSource
amazonSource
p-amazonSource
dbpediaSource
sogouSource
yahooSource
yelpSource
p-yelpSource
camvidSource
pascalSource
hmbdSource
ucfSource
kinetics700Source
kinetics600Source
kinetics400Source