zimolzak / ml-detect-diagnostic-safety

Machine Learning to Enhance Detection of Diagnostic Safety Events
2 stars 0 forks source link

probably a bug in one `print(...shape())` for `bool` #11

Open zimolzak opened 6 months ago

zimolzak commented 6 months ago

print('Boolean Risk Factors:', dizzy_rf_df_labeled.shape,abdpain_rf_df_labeled.shape)

This uses the ordinary "count" df called dizzy_rf_df_labeled, when it should use the boolean one.

zimolzak commented 6 months ago

Should be printing shape of bool_dizzy_rf_df_labeled.

This is in the file Analysis_Dizziness_AbdPain_Apr2023.ipynb, by the way.