Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix Model Evaluation Metrics Display Issue #342

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
sanjay-kv merged 1 commit into recodehive:main from Swapnilden:correct_prediction
Jul 17, 2024

Conversation

@Swapnilden
Copy link
Contributor

@Swapnilden Swapnilden commented Jul 17, 2024

Fixes: #334

Summary

This pull request addresses a bug in the Streamlit app for job satisfaction prediction where evaluation metrics (accuracy, classification report, confusion matrix, ROC curve) were incorrectly displayed based on a single input prediction rather than using actual test data. The evaluation metrics have been removed to ensure accurate and relevant predictions are presented to the user.

Changes Made

  1. Removed Evaluation Metrics: The accuracy score, classification report, confusion matrix, and ROC curve calculations and displays have been removed from the Streamlit app. These evaluations should be part of the model development and validation process, not the user-facing prediction application.
  2. Label Encoding: Added label encoding for the user inputs to match what the model expects. This ensures that the input data is correctly formatted for the prediction model.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to Our repository.🎊 Thank you so much for taking the time to point this out.

@sanjay-kv sanjay-kv merged commit da7c769 into recodehive:main Jul 17, 2024
Copy link

🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to our project. Your efforts are greatly appreciated. Feel free to reach out if you have any more contributions or if there's anything else we can assist you with. Keep up the fantastic work! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@github-actions github-actions[bot] github-actions[bot] left review comments

@sanjay-kv sanjay-kv sanjay-kv approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

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

AltStyle によって変換されたページ (->オリジナル) /