Find a dist_weight and ent_weight consistent with a given obs_prop and de_ratio
Usage
refactor_hyperparams(de_ratio, obs_prop, digits = 5)
Arguments
- de_ratio
numeric Desired ratio, dist_weight/ent_weight
- obs_prop
numeric Desired observation_proportion when obs_weight = 1,
e.g. obs_prop = 1 / (1 + dist_weight + ent_weight)
- digits
integer Desired number of significant digits to retain in result