Practice
Solution
Step 1: Identify the evaluation goal.
The goal is to evaluate link prediction effectiveness, balancing precision and recall.Step 2: Evaluate options.
Mean Squared Error (A) is for regression tasks. Precision (B) only considers true positives and false positives, ignoring recall. Silhouette Score (D) is for clustering quality. F1 Score (C) balances precision and recall, making it suitable for link prediction evaluation.Final Answer:
Option C -> Option CQuick Check:
F1 balances precision and recall. [OK]
Solution
Step 1: Identify the role of each component
The ranking algorithm is responsible for determining the relevance of documents to a query.Step 2: Eliminate wrong options
Indexing module organizes data, query parser interprets queries, and crawler collects data.Final Answer:
Option B -> Option BQuick Check:
Ranking algorithm determines relevance. [OK]
Solution
Step 1: Analyze environment characteristics
Dynamic environments require quick adaptation to changes.Step 2: Match approach to environment
Reactive planning is suited for quick responses, while deliberative planning is slower and more resource-intensive.Final Answer:
Option D -> Option DQuick Check:
Dynamic = Reactive for speed [OK]
Solution
Step 1: Consider scaling effects on components.
Embedding tables grow with user and feature diversity.Step 2: Eliminate wrong options.
Preprocessing (A) and inference (B) scale with compute resources. Storage (D) is less critical than real-time constraints.Final Answer:
Option D -> Option DQuick Check:
Embedding tables grow with scale. [OK]
Solution
Step 1: Analyze the impact of data scale on Isolation Forest.
As data increases, the depth of trees in the Isolation Forest can increase, leading to longer training times.Step 2: Eliminate wrong options.
Memory usage due to storing more trees. is incorrect because memory usage is more affected by the number of trees, not directly by data scale. Inference time due to increased number of features. is incorrect because inference time is less affected by feature count in Isolation Forests. Data preprocessing time due to feature scaling. is incorrect because feature scaling is a preprocessing step that doesn't scale linearly with data size.Final Answer:
Option A -> Option AQuick Check:
10x data = tree depth increases, training slows [OK]
