Python में Generalized Linear Models
Ita Cirovic Donev
Data Science Consultant
सूत्र $$ D = -2LL(\beta) $$
त्रुटि का माप

# Extract null deviance
print(model.null_deviance)
4118.0992
# Extract model deviance
print(model.deviance)
4076.2378
print(-2*model.llf)
4076.2378
distance100 जोड़ने से फिट बेहतर हुआmodel_1 और model_2, जहाँmodel_2 में अधिक हैmodel_2 overfitting कर रहा हैPython में Generalized Linear Models