Downloads · 30 days
0
ysakhale/cmu-content-based-recommender
cmu-content-based-recommender is a machine learning model from ysakhale. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
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 character…
Downloads · 30 days
0
Access
Public
Updated Oct 9, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py9.2 KB · 65%
From the Hugging Face model README
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.
from model import ContentBasedRecommender, load_model_from_data
# Load model from landmarks data
recommender = load_model_from_data('data/landmarks.json')
# Get recommendations
recommendations = recommender.recommend(
selected_classes=['Culture', 'Research'],
indoor_pref='indoor',
min_rating=4.0,
diversity_weight=0.6,
top_k=10
)
# Print top recommendations
for landmark_id, score in recommendations:
print(f"{landmark_id}: {score:.3f}")
model.py: Main model implementationREADME.md: This model card@misc{cmu-explorer-recommender,
title={Content-Based Recommendation System for CMU Landmarks},
author={Yash Sakhale, Faiyaz Azam},
year={2025},
url={https://huggingface.co/spaces/ysakhale/Tartan-Explore}
}
For questions about this model, please refer to the CMU Explorer Space.