EClassificationDataset::SplitDataset

Splits the dataset in two parts to be used for training and validation respectively.

Namespace: Euresys::Open_eVision::EasyDeepLearning

[C++]

void SplitDataset(
   EClassificationDataset& d1,
   EClassificationDataset& d2,
   float proportion,
   bool random
) const

void SplitDataset(
   EClassificationDataset& d1,
   EClassificationDataset& d2,
   float proportion
) const

void SplitDataset(
   EClassificationDataset& d1,
   EClassificationDataset& d2
) const

Parameters

d1

First part of the dataset

d2

Second part of the dataset

proportion

Proportion of image of each class to put into the first part. The remaining images are put in d2

random

Randomly sample the images.

EClassificationDataset.SplitDataset

Splits the dataset in two parts to be used for training and validation respectively.

Namespace: Euresys.Open_eVision.EasyDeepLearning

[C#]

void SplitDataset(
   EClassificationDataset d1,
   EClassificationDataset d2,
   float proportion,
   bool random
)

void SplitDataset(
   EClassificationDataset d1,
   EClassificationDataset d2,
   float proportion
)

void SplitDataset(
   EClassificationDataset d1,
   EClassificationDataset d2
)

Parameters

d1

First part of the dataset

d2

Second part of the dataset

proportion

Proportion of image of each class to put into the first part. The remaining images are put in d2

random

Randomly sample the images.

EClassificationDataset.SplitDataset

Splits the dataset in two parts to be used for training and validation respectively.

Module: open_evision.EasyDeepLearning

[Python]

SplitDataset(
    d1: EClassificationDataset
    d2: EClassificationDataset
    proportion: float
    random: bool
) -> None

SplitDataset(
    d1: EClassificationDataset
    d2: EClassificationDataset
    proportion: float
) -> None

SplitDataset(
    d1: EClassificationDataset
    d2: EClassificationDataset
) -> None

Parameters

d1

First part of the dataset

d2

Second part of the dataset

proportion

Proportion of image of each class to put into the first part. The remaining images are put in d2

random

Randomly sample the images.