Nov. 14, 2023, 5:08 a.m. | /u/Fun_Elevator_814

Data Science www.reddit.com

I have created a Content Based Recommender using k-NN to recommend the 5 most similar books within a corpus. The corpus has been processed using nltk and I have applied TF-IDF Vectoriser from sklearn to get in the form of an array.

It works well, but I need to objectively assess it, and I have decided to use Normalised Discounted Cumulative Gain (NDCG).

How do I assess the test data against the training using NDCG? Do I need to create …

array books change data data science datascience form nltk science sklearn tf-idf

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Senior Data Scientist

@ ITE Management | New York City, United States