Datasets

For your convenience, the MNIST and CIFAR10 dataset is available as part of our package.

Index

Public Interface

MIPVerify.read_datasetsMethod
read_datasets(name)

Makes popular machine learning datasets available as a NamedTrainTestDataset.

Arguments

source

Internal

MIPVerify.LabelledImageDatasetType
struct LabelledImageDataset{T<:Real, U<:Integer} <: MIPVerify.LabelledDataset

Dataset of images stored as a 4-dimensional array of size (num_samples, image_height, image_width, num_channels), with accompanying labels (sorted in the same order) of size num_samples.

source
MIPVerify.NamedTrainTestDatasetType
struct NamedTrainTestDataset{T<:MIPVerify.Dataset, U<:MIPVerify.Dataset} <: MIPVerify.Dataset

Named dataset containing a training set and a test set which are expected to contain the same kind of data.

  • name: Name of dataset.
  • train: Training set.
  • test: Test set.
source