Data Augmentations¶
- mlcpl.augs.LogicMix(*args, **kwds)¶
Implementation of LogicMix.
- mlcpl.augs.LogicMix.__init__(self, dataset, probability=1, k_min=2, k_max=3, transform=None)¶
Initialization
- Args:
- dataset:
The
'MLCPLDataset'to be applied.- probability:
A hyperparameter. Defaults to 1.
- k_min:
A hyperparameter. Defaults to 2.
- k_max:
A hyperparameter. Defaults to 3.
- transform:
Optional transformation applied to augment images. Defaults to None.
- mlcpl.augs.MixUpPME(*args, **kwds)¶
Implementation of MixUpPME.
- mlcpl.augs.MixUpPME.__init__(self, dataset, alpha=0.75, transform=None)¶
Initialization
- Args:
- dataset:
The
'MLCPLDataset'to be applied.- alpha:
A hyperparameter. Defaults to 0.75.
- transform:
Optional transformation applied to augment images. Defaults to None.