2

For an OLS model the mean squared error can be used to assess the fit of the trained model on the validation data.

What is the equivalent for a logistic regression model? Can I simply use the following residual sum of squares function?

$RSS=\Sigma^N_{i=1}(y_i-{\hat p})^2$

kjetil b halvorsen
  • 63,378
  • 26
  • 142
  • 467
RobertF
  • 4,380
  • 6
  • 29
  • 46

1 Answers1

1

What you propose is equivalent to using the Brier score which is a proper scoring rule. So it is certainly OK to use it for cross-validation.

See also logistic regression predictive modeling.

kjetil b halvorsen
  • 63,378
  • 26
  • 142
  • 467