Non-smoothness in classification problems