MUSEO: A Recommendation System for Museum Selection

Posted on Sep 22, 2016

Why Do this Project?

As someone who enjoys visiting museums, I found it time consuming to locate the museums of interest. Thus, I created an app, MUSEO, to:

  1. Recommend museums based on users’ preference


  1. Allow users to filter the museums that meet their needs


Data Collecting and Processing

Data from 1600 museums was scraped from TripAdvisor. The graph below highlights the information I collected for each museum.

Next, I converted some categorical features, such as “Recommended length of visit” (<1 hr, 1-2hr, 2-3hr, >3hr), “Fee”(Yes, No), “Country” (US, non-US), into dummy variables. Then I followed the diagram below to generate new features for museum categories, review tags, and textural data such as user review, user quote, and museum description. Missing values were handled by KNN imputation.


Construction of Recommendation System

The algorithm for my recommendation system:

  1. Read the user input (selected museums)
  2. Compute and sort cosine similarity across 1600 museums using 219 features (“Review Count” and “Total Things to Do” are removed to avoid bias)
  3. Remove duplicate recommendations
  4. Return museums with sorted descending similarity score


Limitation and Improvement

Since there were only 1600 museums in my master data frame on the back-end, the app has some limitations. A potential improvement would be to allow users to select the features that are most important for them and assign weights to those features to further customize the recommendation.


Future Work

  1. Apply association rule to review tags to see if some tags such as “worth a visit” and “van gogh” would be grouped together
  2. Predict whether a museum will be featured or not
  3. Conduct cluster analysis and add the cluster as a new feature for the recommendation system
  4. Allow users to filter the museums by rating



  • Lure people to explore the museums around the globe and boost the tourism economy
  • Save time for people to locate the museums that match with their travel plans by specifying the length of visit and interests (e.g., good for family/kids…etc)
I hope you find this app useful. It’s time to explore a new museum that is right for you! 🙂


Technical Development

See the full code here.


  1. Web Scraping
  2. Adding New Features
  3. Sentiment Analysis
  4. Cosine Similarity

R (Shiny App server.R):

  1. Recommendation tab
  2. Map tab

About Author

Chia-An (Anne) Chen

Anne Chen has a Masters degree in Bioengineering from the University of Pennsylvania. Prior to working at a biotech startup developing a liver cancer diagnosis device, Anne researched and evaluated open-source Electronic Health Records software for small-scale hospitals...
View all posts by Chia-An (Anne) Chen >

Related Articles

Leave a Comment

No comments found.

View Posts by Categories

Our Recent Popular Posts

View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI