แนะนำการแนะนำเนื้อหาแบบ Content-based

การสร้าง Recommendation Engine ด้วย Python

Rob O'Callaghan

Director of Data

การแนะนำแบบ Content-based คืออะไร?

ภาพแสดงการแนะนำหนังสือที่คล้ายกับหนังสือที่ผู้ใช้ชอบ

การสร้าง Recommendation Engine ด้วย Python

แอตทริบิวต์หรือคุณลักษณะของรายการ

ภาพหนังสือและแอตทริบิวต์ของหนังสือ

การสร้าง Recommendation Engine ด้วย Python

การแปลงแอตทริบิวต์เป็นเวกเตอร์

ITEM Attribute 1 Attribute 2 Attribute 3 Attribute 4
Item_001 0 1 1 0
Item_002 1 0 1 0
Item_003 0 1 0 1
การสร้าง Recommendation Engine ด้วย 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 ...
... ... ... ... ...
การสร้าง Recommendation Engine ด้วย Python

การทำ Crosstabulation

pd.crosstab(                     ,                       )
การสร้าง Recommendation Engine ด้วย Python

การทำ Crosstabulation

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
... ... ... ... ...
การสร้าง Recommendation Engine ด้วย Python

มาฝึกกันเถอะ!

การสร้าง Recommendation Engine ด้วย Python

Preparing Video For Download...