Skip to content

Methods · Machine learning · Recommender systems

Content-Based Recommender with TF-IDF Item Profiles

A content-based recommender describes each item by the words in its description, weighted by TF-IDF, and builds a profile for each user from the items they rated, weighting liked items up and disliked items down. Items the user has not seen are ranked by cosine similarity to that profile.

각 항목을 설명 글의 단어에 TF-IDF 가중치를 준 벡터로 나타내고, 사용자가 평가한 항목으로 사용자 취향 벡터를 만들어 좋아한 항목은 더 크게, 싫어한 항목은 작게 반영합니다. 아직 보지 않은 항목은 취향 벡터와의 코사인 유사도로 순위를 매깁니다.

Which items should I suggest to each user based on what the items are about and what the user liked before?

항목의 내용과 사용자가 전에 좋아한 것을 바탕으로 각 사용자에게 어떤 항목을 추천해야 합니까?

The method returns a top-N list per user and checks itself by hiding one liked item per user: the hit rate and mean reciprocal rank show how often the hidden item comes back near the top, compared with simply recommending popular items.

When to use Content-Based Recommender with TF-IDF Item Profiles

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A content-based recommender using TF-IDF profiles of [value] items reached a leave-one-out hit rate@[value] of [value] (MRR = [value]), against [value] for a popularity ranking.

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with reference values computed independently in the test suite.

    독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 1건 통과.

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run Content-Based Recommender with TF-IDF Item Profiles on Quorant

Data you need
a table (CSV or Excel) with a unit (entity) ID, a grouping variable and a text column
Price
400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
Checking
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q71063 · Reviewed 2026-10-25