This function detects or forces the target value when predicting a categorical binary model. This is an auxiliary function.
Arguments
- tag
Vector. Real known label
- score
Vector. Predicted value or model's result
- target
Value. Which is your target positive value? If set to 'auto', the target with largest mean(score) will be selected. Change the value to overwrite. Only used when binary categorical model.
- quiet
Boolean. Do not show message for auto target?