HeartWise-AI / HeartWise_StatPlots

1 stars 1 forks source link

Fix Typing for RegressionCode in Stats_Plots library #3

Closed linear[bot] closed 1 month ago

linear[bot] commented 1 month ago

I am getting issues with regression metrics however.
I Have y_true = [0.9 0.89 0.89 0.91 0.91 1. 0.96 0.95 0.95 0.95 0.95 0.78 0.78 0.93 0. 0. 0.97 0.84 0.75 0.75 0.88 0.88 0. 0.91 0.91 0.91 0.97 0.72 0.72 0.95 0.98 0.83 0.98 0.98 0.86 0.98 0.95 0.89 0.91 0.91 0.94 0.94 0.88]

This doesn't seem to run.

Error:
TypeCheckError: Argument 'y_true' must be of type numpy.ndarray with dtype (int64), not ndarray. Array has dtype float64

linear[bot] commented 1 month ago

MHI-40 Fix Typing for RegressionCode in Stats_Plots library