ML Basics Flashcards
Which Python library is primarily used for numerical operations essential in collaborative filtering?
NumPy.
Which Python library should you use for manipulating data tables when working with collaborative filtering?
Pandas.
What is the standard Python library for interacting with SQLite databases?
SQLite3.
What machine learning library in Python provides tools to implement collaborative filtering?
Scikit-Learn.
What are the three basic types of tables you need in a database for collaborative filtering?
User table, item table, and ratings/interactions table.
Which technique is often used in collaborative filtering to decompose the user-item interaction matrix?
Matrix factorization, specifically methods like Singular Value Decomposition (SVD) or Alternating Least Squares (ALS).
What metric can be used to evaluate the accuracy of a collaborative filtering model’s predictions?
RMSE (Root Mean Square Error).
How do you load data from an SQLite database into a Pandas DataFrame for processing in Python?
Use the read_sql_query function from Pandas, providing it with an SQL query and a connection object.
What is the purpose of decomposing the interaction matrix in collaborative filtering?
To reduce its dimensionality, enabling the approximation of missing entries and facilitating easier computation of recommendations.
What evaluation metrics can be used to measure the performance of a recommender system in terms of relevance and user satisfaction?
Precision and recall.
What distinguishes content-based filtering from collaborative filtering?
Content-based filtering recommends items based on the features of the items and a profile of the user’s preferences, unlike collaborative filtering which uses user-item interactions.
What are hybrid recommender systems?
Hybrid recommender systems combine collaborative filtering, content-based filtering, and other methods to improve recommendation performance and overcome single approach limitations.
What is the cold start problem in recommender systems?
The cold start problem occurs when there is insufficient data to make accurate recommendations for new users or items.
What does sparsity mean in the context of collaborative filtering?
Sparsity refers to the condition where the user-item interaction matrix has a large percentage of missing values, posing challenges in learning effective recommendations.
How are implicit feedback and explicit feedback different in recommender systems?
Implicit feedback is derived from user actions such as views and clicks, whereas explicit feedback involves direct ratings or preferences provided by the user.