differential-privacy-library icon indicating copy to clipboard operation
differential-privacy-library copied to clipboard

predict_proba method

Open Zeyu-Shen opened this issue 2 years ago • 1 comments

The predict_proba method of logistic regression (and I think maybe for all models) simply outputs 1 for the predicted label and 0 otherwise.

Zeyu-Shen avatar Jul 15 '22 17:07 Zeyu-Shen

Hi there,

It seems that the logistic regression model does indeed give a binary 0 or 1 output when using predict_proba in some instances, however there are occasions when a more granular output is produced (in the cases I have considered, this happens for large epsilon). This will require further investigation. If you have any code examples you can share, that would be helpful.

naoise-h avatar Jul 18 '22 13:07 naoise-h