1111###### Do the core files exist: ` app.py ` , ` models/svd_model.py ` , ` models/pmf_model.py ` , and ` utils/recommendation.py ` ?
1212
1313###### Do the main dependencies import without error?
14+
1415``` bash
1516python -c " import numpy, pandas, scipy, streamlit, matplotlib"
1617```
@@ -54,19 +55,21 @@ python -c "import numpy, pandas, scipy, streamlit, matplotlib"
5455###### Is there a justification for when to stop training based on the learning curves?
5556
5657###### Does ` reports/model_metrics.json ` exist with fields:
57- ``` json
58- {
59- "SVD_RMSE" : ...,
60- "PMF_RMSE" : ...,
61- "PMF_vs_SVD_improvement_%" : ...
62- }
63- ```
58+
59+ ``` json
60+ {
61+ "SVD_RMSE" : ...,
62+ "PMF_RMSE" : ...,
63+ "PMF_vs_SVD_improvement_%" : ...
64+ }
65+ ```
6466
6567###### Are the following thresholds met?
66- * SVD RMSE ≤ 0.90
67- * PMF RMSE ≤ 0.85
68- * PMF improvement ≥ 5%
69- * Are the plots saved? ` reports/rmse_comparison.png ` and ` reports/predicted_vs_actual.png ` .
68+
69+ - SVD RMSE ≤ 0.90
70+ - PMF RMSE ≤ 0.85
71+ - PMF improvement ≥ 5%
72+ - Are the plots saved? ` reports/rmse_comparison.png ` and ` reports/predicted_vs_actual.png ` .
7073
7174##### Recommendation Generation
7275
@@ -75,6 +78,7 @@ python -c "import numpy, pandas, scipy, streamlit, matplotlib"
7578###### Does the recommendation system return the top 10 movie recommendations for a given user?
7679
7780###### Does ` utils/recommendation.py ` expose:
81+
7882``` python
7983def generate_recommendations (user_id , model , top_n = 10 ):
8084 ...
@@ -99,10 +103,11 @@ def generate_recommendations(user_id, model, top_n=10):
99103###### For the 2 users from the training set, is there an analysis of why the recommendations were accurate for one and less accurate for the other?
100104
101105###### Are required visuals present in ` reports/ ` with proper titles and labeled axes?
102- * ` pmf_convergence.png `
103- * ` rmse_comparison.png `
104- * ` predicted_vs_actual.png `
105- * ` user_comparison.png `
106+
107+ - ` pmf_convergence.png `
108+ - ` rmse_comparison.png `
109+ - ` predicted_vs_actual.png `
110+ - ` user_comparison.png `
106111
107112##### Streamlit Dashboard
108113
0 commit comments