I am stucked in getting this block of statement.In my serving sets there are some anomalies.
I am not getting what this below code is doing in removing the anomalies.
payer_code = tfdv.get_feature(schema, 'payer_code')
payer_code.distribution_constraints.min_domain_mass = 0.9
These lines of code relax the minimum fraction of values that must come from the domain for the feature
payer-code. Basically it allows you to tolerate a fraction of missing values in your serving datasets vs your training schema, therefore considering previously detected anomalies as valid values.