콘텐츠 기반 추천 소개

Python으로 추천 엔진 만들기

Rob O'Callaghan

Director of Data

콘텐츠 기반 추천이란?

사용자가 좋아한 책과 유사한 책이 추천되는 이미지.

Python으로 추천 엔진 만들기

아이템의 속성/특성

책과 그 속성의 이미지.

Python으로 추천 엔진 만들기

속성 벡터화하기

ITEM 속성 1 속성 2 속성 3 속성 4
Item_001 0 1 1 0
Item_002 1 0 1 0
Item_003 0 1 0 1
Python으로 추천 엔진 만들기

일대다 관계

Book Genre
The Hobbit Adventure
The Hobbit Fantasy
The Great Gatsby Tragedy
... ...
Book Adventure Fantasy Tragedy ...
The Hobbit 1 1 0 ...
The Great Gatsby 0 0 1 ...
... ... ... ... ...
Python으로 추천 엔진 만들기

교차표(crosstab)

pd.crosstab(                     ,                       )
Python으로 추천 엔진 만들기

교차표(crosstab)

pd.crosstab(book_genre_df['Book'], book_genre_df['Genre'])
Book Adventure Fantasy Tragedy Social commentary
The Hobbit 1 1 0 0
The Great Gatsby 0 0 1 1
A Game of Thrones 0 1 0 0
Macbeth 0 0 1 0
... ... ... ... ...
Python으로 추천 엔진 만들기

Vamos praticar!

Python으로 추천 엔진 만들기

Preparing Video For Download...