Giter Site home page Giter Site logo

bigluck07 / sec3_project_pred_card_category Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 458 KB

카드사의 데이터에서 몇몇 특성을 뽑아 카드를 새롭게 발급 받을 때 카드의 등급을 예측하는 모델을 만들고, 이를 서비스하는 웹서비스를 배포했습니다.

Python 68.11% HTML 28.99% Mako 2.62% Procfile 0.28%

sec3_project_pred_card_category's Introduction

📄 sec3_project_pred_Card_Category

  • 카드회사의 데이터로 해당데이터들을 통해 어떤 고객이 이탈을할지 예측하는 데이터였으나, 데이터를 통해 카드유형을 예측하는 모델을 만들고, 이를 웹에서 고객이 개인정보를 기입하는 경우, 자신이 발급받을 수 있는 카드의 유형을 확인할 수 있는 서비스를 제작하여 배포하고자 한다.

  • 데이터에서 몇몇 칼럼을 뽑아 해당 특성을 통해 카드를 새롭게 발급받을때 카드의 등급을 예측하는 모델을 만들었다

📃 Data

🔠 Columns

  • 특성설명
    • Customer_age: 고객연령
    • Gender: 고객성별
    • Deendent_count: 부양가족 수
    • Education_Level: 교육수준
    • Marital_Status: 결혼상태
    • Income_Category : 연소득

🖥️ Model

LabelEncoder() # 카테고리들의 범주화
Ensemble_pipe = make_pipeline(
    TargetEncoder(),
    SimpleImputer(),
    StandardScaler(), 
    RandomForestClassifier(random_state=2)
)
RandomizedSearchCV() # 최적의 파라미터값을 찾음

💻 Heroku

🏠 Home

  • 해당 웹의 서비스를 설명하고, 사용할 수 있도록 만들어진 기본 페이지입니다.

🧍 User

  • 사용자가 자신의 정보를 입력하여 데이터베이스에 저장하는 기능을 가진 페이지입니다.
  • 사용자는 자신의 정보를 입력 후, 데이터베이스에 저장하여 Predict페이지에서 자신의 결과값을 확인할 수 있습니다.
  • 결과값 확인후 User페이지로 돌아와서 자신의 정보를 삭제할 수 있습니다.

💳 Predict

  • 사용자가 자신의 이름을 입력하여 데이터베이스의 정보를 불러온 후, 카드의종류를 예측하는 기능을 가능 페이지입니다.
  • 사용자는 자신의 이름을 입력하고 자신이 발급받게될 카드의 종류의 예상, 즉 결과값을 확인할 수 있습니다.
  • 이후 User페이지로 돌아가 자신의 정보를 삭제할 수 있습니다.

🖼️ Schema

  • 해당 데이터베이스에서 사용되는 테이블의 스키마입니다.

스크린샷 2021-06-02 오후 12 07 16

Project review

  • 모델의 과적합으로 하나의 등급만 부여합니다. 차후 데이터수집을 통해 데이터를 충분하게 만들고, 모델링 수정을 통해 업데이트 하여 모델의 성능을 높히고자 합니다

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.