trw.transforms.transforms_random_flip
¶
Module Contents¶
Classes¶
Randomly flip the axis of selected features |
|
Randomly flip the axis of selected features in a joint fashion (if a feature is selected and a sample is |
Functions¶
|
- trw.transforms.transforms_random_flip._transform_random_flip(feature_name, feature_value, axis, flip_probability)¶
- class trw.transforms.transforms_random_flip.TransformRandomFlip(axis, flip_probability=0.5, criteria_fn=None)¶
Bases:
trw.transforms.transforms.TransformBatchWithCriteria
Randomly flip the axis of selected features
- class trw.transforms.transforms_random_flip.TransformRandomFlipJoint(feature_names, axis, flip_probability=0.5)¶
Bases:
trw.transforms.transforms.TransformBatchWithCriteria
- Randomly flip the axis of selected features in a joint fashion (if a feature is selected and a sample is
flipped, it will be flipped for all selected features)