Fix column name and add Streamlit app for loan applications#20
Open
danchev wants to merge 2 commits into
Open
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a column name typo in the training feature selection and introduces a new Streamlit application for interactive loan applications.
- Fixed column name from
created_timestamptocreated_timestamp__in training feature selection - Added a Streamlit web application for interactive loan application demo
- Updated dependencies to include Streamlit, SHAP, and matplotlib as optional extras
Reviewed Changes
Copilot reviewed 4 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| credit_model.py | Fixed column name in training feature selection (typo correction) |
| streamlit_app.py | New Streamlit application for interactive loan applications using the trained model |
| pyproject.toml | Added optional Streamlit dependencies group with streamlit, shap, and matplotlib |
| README.md | Updated documentation with Streamlit app usage instructions and demo image |
| uv.lock | Updated lock file to include new dependencies for Streamlit functionality |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Introduced a new Streamlit application to facilitate interactive loan applications using the trained credit scoring model. - Updated README to include instructions for running the Streamlit app and added a demo image. - Enhanced pyproject.toml to include Streamlit as an optional dependency. This addition allows users to visualize and interact with the credit scoring model in a user-friendly manner. Signed-off-by: D. Danchev <12420863+danchev@users.noreply.github.com>
- Updated the column name from "created_timestamp" to "created_timestamp__" to ensure proper feature extraction during model training. Signed-off-by: D. Danchev <12420863+danchev@users.noreply.github.com>
Author
|
@shuchu Are you able to merge this, or is there anything else needed before we can close it? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Key changes include:
Corrected the column name in the training feature selection for proper data handling.
Introduced a new Streamlit application for interactive loan applications using the trained credit scoring model.
Updated README with instructions for running the Streamlit app and added a demo image.
Enhanced pyproject.toml to include Streamlit as an optional dependency.