Skip to content

MahvishLS/rosplProject

Repository files navigation

CredAdvisor

CredAdvisor is a professional Credit Card Recommendation System designed to help users find the most suitable credit cards based on their age, income, desired benefits, and annual fee preferences. The system leverages natural language processing and machine learning techniques to intelligently match user requirements with card features from a dataset.


Features

  1. Top Card Recommendations: Suggests the best 2 credit cards tailored to user requirements.
  2. Eligibility Filtering: Automatically checks age and income eligibility for each card.
  3. Customizable Preferences: Users can filter cards based on benefits such as cashback, lounge access, and more.
  4. Annual Fee Consideration: Filters out cards exceeding the user's specified maximum annual fee.
  5. Smart Matching Algorithm: Combines TF-IDF vectorization, cosine similarity, and coverage scores to provide accurate recommendations.
  6. Modular Design for Collaboration:
    • text_utils.py — text normalization and helper functions
    • data_utils.py — data loading and preprocessing
    • recommender.py — scoring, eligibility checks, and recommendation logic
    • app.py — Streamlit user interface

Screenshots

image image image

How It Works (Brief)

  1. Data Processing: Loads and normalizes card eligibility and benefits from CreditCardsData.csv.
  2. Requirement Matching: User requirements are converted into TF-IDF vectors and compared with card descriptions using cosine similarity.
  3. Coverage Scoring: Measures how well each card meets the user’s benefit requirements.
  4. Score Adjustment: Scores are adjusted based on eligibility, fees, and coverage.
  5. Top Recommendations: Returns the two best cards while avoiding duplicates from the same bank.

Technologies Used

  1. Python 3.x: Core programming language.
  2. Streamlit: Interactive web app interface.
  3. scikit-learn: TF-IDF vectorization and similarity computation.
  4. Pandas / NumPy: Data management and processing.
  5. Regex & String Processing: Eligibility rule extraction.
  6. Custom CSS: Enhanced visuals and styling for Streamlit UI.

Run Locally

Clone the repository: git clone https://github.com/your-username/CredAdvisor.git cd CredAdvisor

Install dependencies: pip install -r requirements.txt

Run the Streamlit app: streamlit run app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages