kdpsingh / runway

Visualizing Prediction Model Performance
Other
75 stars 11 forks source link

only 1 bin displayed in plot #32

Open sulanyang opened 9 months ago

sulanyang commented 9 months ago

Hi,

I have only 1 bin displayed in my plot. Is it because most of my predicted probabilities are less than 0.2?

This is my code.

cal_plot(df, outcome = 'cvd', positive = '1', prediction = 'predrisk_frs', n_bins=10)

This is my plot. image

Many thanks!