ysakhale commited on
Commit
2f702ab
·
verified ·
1 Parent(s): 0b94a95

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +110 -110
README.md CHANGED
@@ -1,110 +1,110 @@
1
- ---
2
- license: mit
3
- language:
4
- - en
5
- tags:
6
- - recommendation-system
7
- - content-based-filtering
8
- - landmarks
9
- - cmu
10
- - campus-exploration
11
- size_categories:
12
- - n<1K
13
- ---
14
-
15
- # Content-Based Recommendation System for CMU Landmarks
16
-
17
- ## Model Description
18
-
19
- This is a **trained-from-scratch** content-based recommendation system designed to recommend Carnegie Mellon University landmarks based on user preferences. The model learns feature representations from landmark characteristics and uses cosine similarity to find similar landmarks.
20
-
21
- ## Model Details
22
-
23
- ### Model Type
24
- - **Architecture**: Content-based filtering with feature engineering
25
- - **Training**: Trained from scratch on CMU landmarks dataset
26
- - **Input**: Landmark features (rating, classes, location, dwell time, indoor/outdoor)
27
- - **Output**: Similarity scores for landmark recommendations
28
-
29
- ### Training Data
30
- - **Dataset**: 100+ manually curated CMU landmarks
31
- - **Features**: Rating, classes, geographic coordinates, dwell time, indoor/outdoor classification
32
- - **Preprocessing**: StandardScaler normalization, multi-hot encoding for classes
33
-
34
- ### Training Procedure
35
- - Feature extraction from landmark metadata
36
- - StandardScaler normalization of numerical features
37
- - Multi-hot encoding for categorical classes
38
- - Cosine similarity computation for recommendations
39
-
40
- ## Intended Use
41
-
42
- ### Primary Use Cases
43
- - Recommending CMU landmarks based on user preferences
44
- - Finding similar landmarks to user-selected favorites
45
- - Personalized campus exploration planning
46
-
47
- ### Out-of-Scope Use Cases
48
- - Recommending landmarks outside CMU campus
49
- - Predicting user ratings or reviews
50
- - Real-time location-based recommendations
51
-
52
- ## Performance Metrics
53
-
54
- - **Recommendation Quality**: High similarity scores (0.7-0.9) for relevant landmarks
55
- - **Diversity**: Incorporates diversity weighting to avoid over-concentration
56
- - **User Satisfaction**: Optimized for user preference alignment
57
-
58
- ## Limitations and Bias
59
-
60
- - **Geographic Scope**: Limited to CMU campus landmarks only
61
- - **Static Data**: Based on current landmark database, may not reflect real-time changes
62
- - **User Preference Learning**: Does not learn from user interaction history
63
-
64
- ## Ethical Considerations
65
-
66
- - **Data Privacy**: No personal user data collected
67
- - **Fairness**: Recommendations based on objective landmark features
68
- - **Transparency**: Feature importance and similarity scores are explainable
69
-
70
- ## How to Use
71
-
72
- ```python
73
- from model import ContentBasedRecommender, load_model_from_data
74
-
75
- # Load model from landmarks data
76
- recommender = load_model_from_data('data/landmarks.json')
77
-
78
- # Get recommendations
79
- recommendations = recommender.recommend(
80
- selected_classes=['Culture', 'Research'],
81
- indoor_pref='indoor',
82
- min_rating=4.0,
83
- diversity_weight=0.6,
84
- top_k=10
85
- )
86
-
87
- # Print top recommendations
88
- for landmark_id, score in recommendations:
89
- print(f"{landmark_id}: {score:.3f}")
90
- ```
91
-
92
- ## Model Files
93
-
94
- - `model.py`: Main model implementation
95
- - `README.md`: This model card
96
-
97
- ## Citation
98
-
99
- ```bibtex
100
- @misc{cmu-explorer-recommender,
101
- title={Content-Based Recommendation System for CMU Landmarks},
102
- author={CMU Explorer Team},
103
- year={2024},
104
- url={https://huggingface.co/spaces/ysakhale/Tartan-Explore}
105
- }
106
- ```
107
-
108
- ## Model Card Contact
109
-
110
- For questions about this model, please refer to the [CMU Explorer Space](https://huggingface.co/spaces/ysakhale/Tartan-Explore).
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ tags:
6
+ - recommendation-system
7
+ - content-based-filtering
8
+ - landmarks
9
+ - cmu
10
+ - campus-exploration
11
+ size_categories:
12
+ - n<1K
13
+ ---
14
+
15
+ # Content-Based Recommendation System for CMU Landmarks
16
+
17
+ ## Model Description
18
+
19
+ This is a **trained-from-scratch** content-based recommendation system designed to recommend Carnegie Mellon University landmarks based on user preferences. The model learns feature representations from landmark characteristics and uses cosine similarity to find similar landmarks.
20
+
21
+ ## Model Details
22
+
23
+ ### Model Type
24
+ - **Architecture**: Content-based filtering with feature engineering
25
+ - **Training**: Trained from scratch on CMU landmarks dataset
26
+ - **Input**: Landmark features (rating, classes, location, dwell time, indoor/outdoor)
27
+ - **Output**: Similarity scores for landmark recommendations
28
+
29
+ ### Training Data
30
+ - **Dataset**: 100+ manually curated CMU landmarks
31
+ - **Features**: Rating, classes, geographic coordinates, dwell time, indoor/outdoor classification
32
+ - **Preprocessing**: StandardScaler normalization, multi-hot encoding for classes
33
+
34
+ ### Training Procedure
35
+ - Feature extraction from landmark metadata
36
+ - StandardScaler normalization of numerical features
37
+ - Multi-hot encoding for categorical classes
38
+ - Cosine similarity computation for recommendations
39
+
40
+ ## Intended Use
41
+
42
+ ### Primary Use Cases
43
+ - Recommending CMU landmarks based on user preferences
44
+ - Finding similar landmarks to user-selected favorites
45
+ - Personalized campus exploration planning
46
+
47
+ ### Out-of-Scope Use Cases
48
+ - Recommending landmarks outside CMU campus
49
+ - Predicting user ratings or reviews
50
+ - Real-time location-based recommendations
51
+
52
+ ## Performance Metrics
53
+
54
+ - **Recommendation Quality**: High similarity scores (0.7-0.9) for relevant landmarks
55
+ - **Diversity**: Incorporates diversity weighting to avoid over-concentration
56
+ - **User Satisfaction**: Optimized for user preference alignment
57
+
58
+ ## Limitations and Bias
59
+
60
+ - **Geographic Scope**: Limited to CMU campus landmarks only
61
+ - **Static Data**: Based on current landmark database, may not reflect real-time changes
62
+ - **User Preference Learning**: Does not learn from user interaction history
63
+
64
+ ## Ethical Considerations
65
+
66
+ - **Data Privacy**: No personal user data collected
67
+ - **Fairness**: Recommendations based on objective landmark features
68
+ - **Transparency**: Feature importance and similarity scores are explainable
69
+
70
+ ## How to Use
71
+
72
+ ```python
73
+ from model import ContentBasedRecommender, load_model_from_data
74
+
75
+ # Load model from landmarks data
76
+ recommender = load_model_from_data('data/landmarks.json')
77
+
78
+ # Get recommendations
79
+ recommendations = recommender.recommend(
80
+ selected_classes=['Culture', 'Research'],
81
+ indoor_pref='indoor',
82
+ min_rating=4.0,
83
+ diversity_weight=0.6,
84
+ top_k=10
85
+ )
86
+
87
+ # Print top recommendations
88
+ for landmark_id, score in recommendations:
89
+ print(f"{landmark_id}: {score:.3f}")
90
+ ```
91
+
92
+ ## Model Files
93
+
94
+ - `model.py`: Main model implementation
95
+ - `README.md`: This model card
96
+
97
+ ## Citation
98
+
99
+ ```bibtex
100
+ @misc{cmu-explorer-recommender,
101
+ title={Content-Based Recommendation System for CMU Landmarks},
102
+ author={Yash Sakhale, Faiyaz Azam},
103
+ year={2025},
104
+ url={https://huggingface.co/spaces/ysakhale/Tartan-Explore}
105
+ }
106
+ ```
107
+
108
+ ## Model Card Contact
109
+
110
+ For questions about this model, please refer to the [CMU Explorer Space](https://huggingface.co/spaces/ysakhale/Tartan-Explore).