Forum Discussion
Anonymous
2 years agoNot applicable
Machine Learning in Fabric : Logistic Regression with Probabilites - Output Schema in a ML Model
Hi All, I am fairly new to Fabric and ML in general. I had created a logistic regression model for a binary classification task. The model works fine for Prediction and I got my desired result. But ...
DavidDalley66
1 year agoRegular Visitor
Hy I was playing around with logistic regression in Fabric notebooks too, and totally get what you're aiming for. If you're looking to output probabilities instead of just binary predictions, try using predict proba from sklearn. It gives you the actual probabilities for each class instead of just a 0 or 1.Helped me a ton when I needed more nuance in the results!