GithubHelp home page GithubHelp logo

kmac's Introduction

KMAC 빅데이터 실전 프로젝트

빅데이터 분석 Case Study & 실전프로젝트

: 2021.10.16 ~ 2021.11.20

  • 수료증

Inked143247983-7fef2a1a-86ed-4da2-8567-e2df493901a2

구매 기록 기반 상품 추천하기

<STEP1. 탐색적 분석>

: 유저별 구매 패턴 분석

[UK Retail 데이터셋]

  • InvoiceNo : 거래 고유 번호
  • StockCode : 상품 고유 번호
  • Description : 상품명
  • Quantity : 거래 수량
  • InvoiceDate : 거래 일시
  • UnitPrice : 상품 단가
  • CustomerID : 구매자 고유 번호
  • Country : 구매 국가

<STEP2. 예측 분석>

: SVD를 활용한 상품 구매예측

(1) 알고리즘 선택 : SVD

surprise : 파이썬 기반의 추천 시스템 구축을 위한 전용 패키지

[Surprise 추천 알고리즘]

image

(2) SVD 모델 학습

image

[SVD 모델 파라미터 설정]

  • n_factors=8
  • lr_all=0.005
  • reg_all=0.02
  • n_epochs=200

[모델 성능 평가]

  • RMSE : 0.338
  • 0에 가까울 수록 좋으나, 평균과 같이 고려해야 함

<STEP3. 예측 평가하기>

(1) 상품 추천 시뮬레이션

1. 이전에 구매하지 않았던 상품 추천 : anti_build_testset()을 사용

2. 이전에 구매했던 상품 다시 추천 : build_testset()을 사용

3. 모든 상품을 대상으로 하여 상품 추천

(2) 상품 추천 결과

image

  • 고객에 따라 실제 주문과 5개의 상품 추천결과를 비교해서 나타냄
  • 제대로 상품을 추천했는지에 대해 재현도를 평가 점수로 나타냄
  • 추천한 상품에 대해 평가 점수가 매우 좋지 않음
  • 모델 성능 개선이 필요

kmac's People

Contributors

jaeyeongs avatar

Watchers

 avatar  avatar

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.