Practice
Solution
Step 1: Identify the role of each component
The cross-modal attention layer is designed to align and integrate features from different modalities, such as images and text.Step 2: Eliminate wrong options
Image encoder and text encoder process their respective modalities independently. The output classifier is responsible for final predictions, not alignment.Final Answer:
Option A -> Option AQuick Check:
Cross-modal aligns semantics between modalities. [OK]
Solution
Step 1: Analyze data availability
When user data is sparse, content-based filtering is more effective as it relies on item attributes rather than user interactions.Step 2: Eliminate wrong options
A: Collaborative filtering struggles with sparse data. C: It captures preferences well but needs data. D: Computational power is not the main concern here.Final Answer:
Option A -> Option AQuick Check:
Content-based works with sparse user data. [OK]
Solution
Step 1: Identify the impact of infrequent updates.
Infrequent updates lead to stale data.Step 2: Evaluate options.
Recommending too many new connections (A) is unlikely with stale data. Computational expense (B) is unrelated to update frequency. Outdated connections (C) are a direct result of stale data. Scaling issues (D) relate to system architecture, not update frequency.Final Answer:
Option A -> Option AQuick Check:
Stale data leads to outdated recommendations. [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]
Solution
Step 1: Analyze scaling impact
As data size increases, candidate generation must process more data, potentially becoming a bottleneck.Step 2: Eliminate wrong options
Ranking stage due to increased number of candidates. is incorrect because the ranking stage processes a fixed number of candidates. Data storage due to increased data volume. is incorrect because data storage is a separate concern. Network bandwidth due to increased data transfer. is incorrect because network bandwidth is not directly related to retrieval stages.Final Answer:
Option B -> Option BQuick Check:
Candidate generation struggles first with more data. [OK]
