BinaryResults.pred_table()

statsmodels.discrete.discrete_model.BinaryResults.pred_table

BinaryResults.pred_table(threshold=0.5) [source]

Prediction table

Parameters:

threshold : scalar

Number between 0 and 1. Threshold above which a prediction is considered 1 and below which a prediction is considered 0.

Notes

pred_table[i,j] refers to the number of times ?i? was observed and the model predicted ?j?. Correct predictions are along the diagonal.

doc_statsmodels
2017-01-18 16:07:25
Comments
Leave a Comment

Please login to continue.