Function to derive dummy variables from the target variables: it is useful when it is necessary to differentiate the precision constraints in the different domains of interest
build_dummy_variables(frame, domain_var, initial_target_vars, cv)
a list containing: (a) the new frame with the values of the dummy variables; (b) the new target variables; (c) the new set of precision constraints