A Probabilistic Classification Algorithm With Soft Classification Output