classification_cost function

Costs function for poor classification