recodehive / Stackoverflow-Analysis

Stack overflow is a professional community for developers. This repo analysis 3 years of developer Survey done by Stackoverflow and do visualization and predict the salary of Data Scientist in future.
https://stackoverflow-analysis.streamlit.app/
MIT License
219 stars 108 forks source link

[Bug]: Model Evaluation Metrics Display Incorrectly in Streamlit App #334

Closed Swapnilden closed 2 months ago

Swapnilden commented 2 months ago

Is there an existing issue for this?

What happened?

In the Streamlit app for job satisfaction prediction, the evaluation metrics (accuracy, classification report, confusion matrix, ROC curve) are incorrectly displayed based on the prediction of a single input rather than using actual test data. This causes misleading results and incorrect model performance metrics. When a user inputs their data and submits the form, the app makes a prediction and then attempts to display evaluation metrics using this single input. This results in inaccurate accuracy scores, confusion matrix, and ROC curve because they are based on a single prediction rather than a comprehensive test set.

Add ScreenShots

N/A

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

Record

github-actions[bot] commented 2 months ago

Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.

github-actions[bot] commented 2 months ago

Hello @Swapnilden! Your issue #334 has been closed. Thank you for your contribution!