misclassification_cost: Calculate the misclassification cost
Description
Calculate the misclassification cost from
true positives, false positives, true negatives and false negatives.
The inputs must be vectors of equal length.
misclassification_cost = cost_fp * fp + cost_fn * fn