Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


shapr (version 1.0.4)

vaeac_check_masking_ratio: Function that checks that the masking ratio argument is valid

Description

Function that checks that the masking ratio argument is valid

Usage

vaeac_check_masking_ratio(masking_ratio, n_features)

Value

The function does not return anything.

Arguments

masking_ratio

Numeric (default is 0.5). Probability of masking a feature in the mcar_mask_generator() (MCAR = Missing Completely At Random). The MCAR masking scheme ensures that vaeac model can do arbitrary conditioning as all coalitions will be trained. masking_ratio will be overruled if mask_gen_coalitions is specified.

n_features

The number of features, i.e., the number of columns in the training data.

Author

Lars Henry Berge Olsen