How sklearn logistic regression computes accuracy, recall etc if we don't provide threshold?
The default threshold is 0.5, so it is computed on that basis. It is kind of a problem as it isn't well documented (not even on the logistic regression predict page) and a very common pitfall. The two ...
Only top scored, non community-wiki answers of a minimum length are eligible