Dataset Viewer
Auto-converted to Parquet Duplicate
id
string
Class
list
Landmark_name
string
geocoord
dict
rating
float64
indoor/outdoor
string
time taken to explore
int64
the-fence
[ "Culture", "Recreation" ]
The Fence
{ "lat": 40.4433, "lon": -79.9436 }
4.7
outdoor
10
the-cut
[ "Culture", "Recreation" ]
The Cut
{ "lat": 40.4429, "lon": -79.9439 }
4.8
outdoor
15
the-mall
[ "Culture", "Recreation" ]
The Mall
{ "lat": 40.4437, "lon": -79.9449 }
4.6
outdoor
15
hunt-library-rooftop
[ "Culture", "Recreation" ]
Hunt Library Rooftop
{ "lat": 40.4437, "lon": -79.9461 }
4.5
outdoor
15
gates-center-for-computer-science
[ "Culture", "Research" ]
Gates Center for Computer Science
{ "lat": 40.4439, "lon": -79.9446 }
4.7
indoor
25
hillman-center-for-future-generation-technologies
[ "Culture", "Research" ]
Hillman Center for Future-Generation Technologies
{ "lat": 40.4443, "lon": -79.9447 }
4.5
indoor
20
hammerschlag-hall
[ "Culture", "Research" ]
Hammerschlag Hall
{ "lat": 40.4419, "lon": -79.9448 }
4.6
indoor
20
college-of-fine-arts-cfa
[ "Culture" ]
College of Fine Arts (CFA)
{ "lat": 40.4419, "lon": -79.9455 }
4.7
indoor
25
posner-center
[ "Culture", "Study" ]
Posner Center
{ "lat": 40.4437, "lon": -79.9446 }
4.6
indoor
20
tepper-quad
[ "Culture", "Research" ]
Tepper Quad
{ "lat": 40.4446, "lon": -79.9423 }
4.5
indoor
20
wean-hall
[ "Culture", "Research" ]
Wean Hall
{ "lat": 40.443, "lon": -79.9452 }
4.2
indoor
15
cohon-university-center
[ "Study" ]
Cohon University Center
{ "lat": 40.4435, "lon": -79.9427 }
4.6
indoor
30
purnell-center-for-the-arts
[ "Culture" ]
Purnell Center for the Arts
{ "lat": 40.4428, "lon": -79.943 }
4.6
indoor
20
baker-hall
[ "Culture" ]
Baker Hall
{ "lat": 40.4427, "lon": -79.9444 }
4.4
indoor
15
warner-hall
[ "Study" ]
Warner Hall
{ "lat": 40.4427, "lon": -79.9421 }
4.3
indoor
10
hunt-library
[ "Study" ]
Hunt Library
{ "lat": 40.4437, "lon": -79.9461 }
4.7
indoor
30
sorrells-library-wean
[ "Study" ]
Sorrells Library (Wean Hall)
{ "lat": 40.443, "lon": -79.945 }
4.6
indoor
25
mellon-institute-library
[ "Research", "Study" ]
Mellon Institute Library
{ "lat": 40.4448, "lon": -79.9508 }
4.5
indoor
30
fine-arts-library
[ "Culture", "Study" ]
Fine Arts Library
{ "lat": 40.4419, "lon": -79.9454 }
4.6
indoor
25
qatar-library-gates
[ "Study" ]
Qatar Library (inside Gates)
{ "lat": 40.444, "lon": -79.9445 }
4.4
indoor
20
posner-center-reading-room
[ "Study" ]
Posner Center Reading Room
{ "lat": 40.4437, "lon": -79.9446 }
4.6
indoor
20
tepper-library
[ "Research", "Study" ]
Tepper Library
{ "lat": 40.4447, "lon": -79.9422 }
4.4
indoor
20
studio-for-creative-inquiry
[ "Culture", "Study" ]
Studio for Creative Inquiry (CFA)
{ "lat": 40.4418, "lon": -79.9452 }
4.5
indoor
30
ideate-fabrication-lab
[ "Research", "Study" ]
IDeATe Fabrication Lab
{ "lat": 40.4423, "lon": -79.9449 }
4.6
indoor
30
ri-reading-room
[ "Research", "Study" ]
Robotics Institute Reading Room
{ "lat": 40.4446, "lon": -79.9461 }
4.5
indoor
20
the-robotics-institute
[ "Research" ]
The Robotics Institute (RI)
{ "lat": 40.4445, "lon": -79.946 }
4.9
indoor
40
nrec-national-robotics-engineering-center
[ "Research" ]
National Robotics Engineering Center (NREC)
{ "lat": 40.4548, "lon": -79.9654 }
4.8
indoor
60
field-robotics-center
[ "Research" ]
Field Robotics Center
{ "lat": 40.4446, "lon": -79.9465 }
4.7
indoor
40
ai-maker-space
[ "Research" ]
AI Maker Space
{ "lat": 40.4441, "lon": -79.9445 }
4.6
indoor
30
biorobotics-lab
[ "Research" ]
Biorobotics Lab
{ "lat": 40.4447, "lon": -79.9462 }
4.7
indoor
35
henny-admoni-hri-lab
[ "Research" ]
Henny Admoni’s Human-Robot Interaction Lab
{ "lat": 40.4449, "lon": -79.9458 }
4.8
indoor
30
mobot-races-carnival-track
[ "Research", "Recreation" ]
Mobot Races at Carnival Track
{ "lat": 40.443, "lon": -79.9439 }
4.7
outdoor
30
drone-cage-newell-simon
[ "Research" ]
The Drone Cage (Newell-Simon Hall)
{ "lat": 40.4445, "lon": -79.9462 }
4.6
indoor
25
intelligent-workplace
[ "Research" ]
Intelligent Workplace
{ "lat": 40.4417, "lon": -79.9466 }
4.5
indoor
30
simcoach-games-lab
[ "Research", "Recreation" ]
SimCoach Games Lab
{ "lat": 40.4442, "lon": -79.945 }
4.4
indoor
25
miller-ica
[ "Culture" ]
Miller Institute for Contemporary Art
{ "lat": 40.444, "lon": -79.9424 }
4.6
indoor
45
the-frame-gallery
[ "Culture" ]
The Frame Gallery
{ "lat": 40.4419, "lon": -79.945 }
4.5
indoor
30
cfa-great-hall
[ "Culture" ]
CFA Great Hall (Rotunda)
{ "lat": 40.4419, "lon": -79.9455 }
4.7
indoor
20
margaret-morrison-staircase-murals
[ "Culture" ]
Margaret Morrison Staircase Murals
{ "lat": 40.4415, "lon": -79.9463 }
4.6
indoor
20
school-of-drama-theaters
[ "Culture" ]
CMU School of Drama Theaters
{ "lat": 40.4427, "lon": -79.9429 }
4.8
indoor
120
chosky-theater
[ "Culture" ]
Chosky Theater (Purnell)
{ "lat": 40.4427, "lon": -79.9429 }
4.7
indoor
120
studio-theater
[ "Culture" ]
Studio Theater
{ "lat": 40.4427, "lon": -79.9428 }
4.6
indoor
90
kresge-theater
[ "Culture" ]
Kresge Theater (CFA)
{ "lat": 40.4419, "lon": -79.9456 }
4.7
indoor
120
buggy-races-spring-carnival
[ "Recreation", "Sports" ]
Annual Spring Carnival Buggy Races
{ "lat": 40.4403, "lon": -79.95 }
4.9
outdoor
90
scotchnsoda-theatre
[ "Culture" ]
Scotch'n'Soda Theatre Productions
{ "lat": 40.4436, "lon": -79.9428 }
4.6
indoor
120
schenley-plaza
[ "Recreation" ]
Schenley Plaza
{ "lat": 40.4436, "lon": -79.9518 }
4.7
outdoor
30
schenley-park-trails
[ "Recreation" ]
Schenley Park Trails
{ "lat": 40.4388, "lon": -79.9458 }
4.8
outdoor
90
panther-hollow-lake
[ "Recreation" ]
Panther Hollow Lake
{ "lat": 40.4365, "lon": -79.9453 }
4.5
outdoor
45
flagstaff-hill
[ "Recreation" ]
Flagstaff Hill
{ "lat": 40.439, "lon": -79.9464 }
4.8
outdoor
40
phipps-conservatory
[ "Recreation" ]
Phipps Conservatory & Botanical Gardens
{ "lat": 40.4395, "lon": -79.9472 }
4.9
indoor
90
cmu-peace-garden
[ "Recreation" ]
CMU Peace Garden
{ "lat": 40.4423, "lon": -79.9419 }
4.4
outdoor
15
donner-lawn
[ "Recreation" ]
Donner Lawn
{ "lat": 40.4465, "lon": -79.9416 }
4.3
outdoor
15
intramural-fields
[ "Recreation", "Sports" ]
Intramural Fields
{ "lat": 40.446, "lon": -79.9446 }
4.5
outdoor
45
cut-through-to-forbes
[ "Recreation" ]
Cut-through Path to Forbes Ave
{ "lat": 40.442, "lon": -79.9435 }
4.1
outdoor
10
junction-hollow-trail
[ "Recreation", "Culture" ]
Junction Hollow Trail
{ "lat": 40.438, "lon": -79.9435 }
4.7
outdoor
60
tartan-express-food-truck
[ "Dining" ]
Tartan Express Food Truck
{ "lat": 40.443, "lon": -79.9435 }
4.2
outdoor
20
schatz-dining-room
[ "Dining" ]
Schatz Dining Room (CUC)
{ "lat": 40.4436, "lon": -79.9429 }
4
indoor
40
la-prima-espresso-wean
[ "Dining" ]
La Prima Espresso (Wean Hall)
{ "lat": 40.4429, "lon": -79.9453 }
4.5
indoor
15
gingers-express-tepper
[ "Dining" ]
Ginger’s Express (near Tepper)
{ "lat": 40.4448, "lon": -79.9421 }
4.1
indoor
20
rothbergs-roasters-tepper
[ "Dining" ]
Rothberg’s Roasters (Tepper)
{ "lat": 40.4445, "lon": -79.9423 }
4.4
indoor
20
au-bon-pain-wean
[ "Dining" ]
Au Bon Pain (Wean)
{ "lat": 40.4429, "lon": -79.9452 }
4
indoor
20
underground-morewood-gardens
[ "Dining" ]
Underground (Morewood Gardens)
{ "lat": 40.4471, "lon": -79.9427 }
4.2
indoor
30
forbes-street-market
[ "Dining" ]
Forbes Street Market
{ "lat": 40.4416, "lon": -79.9537 }
4.1
indoor
20
zebra-lounge-cfa-cafe
[ "Dining" ]
Zebra Lounge (CFA cafe)
{ "lat": 40.4419, "lon": -79.9456 }
4.4
indoor
20
maggie-murph-cafe-hunt
[ "Dining" ]
Maggie Murph Cafe (Hunt Library)
{ "lat": 40.4437, "lon": -79.946 }
4.3
indoor
20
the-porch-at-schenley
[ "Dining" ]
The Porch at Schenley
{ "lat": 40.4436, "lon": -79.9518 }
4.5
indoor
60
conflict-kitchen
[ "Culture", "Dining" ]
Conflict Kitchen (historical)
{ "lat": 40.4437, "lon": -79.9517 }
4.3
outdoor
20
lucca-ristorante
[ "Dining" ]
Lucca Ristorante
{ "lat": 40.4456, "lon": -79.9508 }
4.4
indoor
75
fuel-and-fuddle
[ "Dining" ]
Fuel & Fuddle
{ "lat": 40.4436, "lon": -79.9507 }
4.5
indoor
75
primanti-bros-oakland
[ "Dining" ]
Primanti Bros. (Oakland)
{ "lat": 40.4428, "lon": -79.9509 }
4.4
indoor
45
asia-tea-house
[ "Dining" ]
Asia Tea House
{ "lat": 40.4451, "lon": -79.9503 }
4.3
indoor
35
craig-street-coffee-and-crepes
[ "Dining" ]
Craig Street Coffee & Crepes
{ "lat": 40.4453, "lon": -79.9504 }
4.5
indoor
40
eatunique
[ "Dining" ]
EatUnique
{ "lat": 40.4459, "lon": -79.9497 }
4.4
indoor
40
spice-island-tea-house
[ "Dining" ]
Spice Island Tea House
{ "lat": 40.445, "lon": -79.9498 }
4.5
indoor
60
union-grill
[ "Dining" ]
Union Grill
{ "lat": 40.4439, "lon": -79.9501 }
4.3
indoor
60
razzy-fresh
[ "Dining" ]
Razzy Fresh
{ "lat": 40.4436, "lon": -79.9499 }
4.6
indoor
20
pamelas-diner
[ "Dining" ]
Pamela’s Diner
{ "lat": 40.4419, "lon": -79.9504 }
4.6
indoor
60
piada-italian-street-food
[ "Dining" ]
Piada Italian Street Food
{ "lat": 40.4424, "lon": -79.9499 }
4.2
indoor
35
chipotle-on-forbes
[ "Dining" ]
Chipotle on Forbes
{ "lat": 40.4429, "lon": -79.9501 }
4.1
indoor
30
india-on-wheels-food-truck
[ "Dining" ]
India on Wheels Food Truck
{ "lat": 40.4433, "lon": -79.9498 }
4.4
outdoor
25
carnegie-museum-of-natural-history
[ "Culture" ]
Carnegie Museum of Natural History
{ "lat": 40.4436, "lon": -79.9507 }
4.8
indoor
120
carnegie-museum-of-art
[ "Culture" ]
Carnegie Museum of Art
{ "lat": 40.4436, "lon": -79.9506 }
4.7
indoor
120
carnegie-music-hall
[ "Culture" ]
Carnegie Music Hall
{ "lat": 40.4435, "lon": -79.9505 }
4.6
indoor
120
andy-warhol-museum
[ "Culture" ]
Andy Warhol Museum
{ "lat": 40.4483, "lon": -80.0028 }
4.7
indoor
90
mattress-factory
[ "Culture" ]
Mattress Factory
{ "lat": 40.4558, "lon": -80.0128 }
4.6
indoor
90
heinz-history-center
[ "Culture" ]
Heinz History Center
{ "lat": 40.4476, "lon": -79.9936 }
4.7
indoor
120
august-wilson-african-american-cultural-center
[ "Culture" ]
August Wilson African American Cultural Center
{ "lat": 40.4415, "lon": -80.0022 }
4.6
indoor
90
soldiers-and-sailors-memorial-hall
[ "Culture" ]
Soldiers & Sailors Memorial Hall
{ "lat": 40.443, "lon": -79.9565 }
4.6
indoor
75
nationality-rooms-cathedral-of-learning
[ "Culture" ]
Nationality Rooms (Cathedral of Learning)
{ "lat": 40.4443, "lon": -79.9532 }
4.8
indoor
90
pittsburgh-glass-center
[ "Culture" ]
Pittsburgh Glass Center
{ "lat": 40.4623, "lon": -79.9287 }
4.7
indoor
75
gesling-stadium
[ "Sports", "Study" ]
Gesling Stadium
{ "lat": 40.442, "lon": -79.9424 }
4.5
outdoor
60
skibo-gym
[ "Recreation", "Sports" ]
Skibo Gym (Recreation)
{ "lat": 40.4436, "lon": -79.9426 }
4.3
indoor
60
upmc-cooper-fieldhouse
[ "Sports" ]
UPMC Cooper Fieldhouse (Duquesne)
{ "lat": 40.4378, "lon": -79.9891 }
4.5
indoor
120
ppg-paints-arena
[ "Sports" ]
PPG Paints Arena
{ "lat": 40.439, "lon": -79.989 }
4.7
indoor
150
acrisure-stadium
[ "Sports" ]
Acrisure Stadium
{ "lat": 40.4468, "lon": -80.0158 }
4.7
outdoor
180
cmu-bookstore
[ "Study", "Shopping" ]
CMU Bookstore
{ "lat": 40.4432, "lon": -79.9422 }
4.3
indoor
25
entropy-plus
[ "Study", "Shopping" ]
Entropy+ (Student-Run Store)
{ "lat": 40.443, "lon": -79.9422 }
4.2
indoor
15
forbes-and-murray-shops
[ "Shopping" ]
Forbes & Murray Shops (Squirrel Hill)
{ "lat": 40.4386, "lon": -79.9238 }
4.6
outdoor
60
shadyside-walnut-street-boutiques
[ "Shopping" ]
Shadyside Walnut Street Boutiques
{ "lat": 40.4522, "lon": -79.9339 }
4.6
outdoor
90
oakland-forbes-craig-corridor
[ "Shopping" ]
Oakland’s Forbes/Craig Corridor
{ "lat": 40.4449, "lon": -79.9501 }
4.5
outdoor
60

CMU Landmarks Dataset

Dataset Description

This dataset contains a curated collection of 100+ Carnegie Mellon University landmarks, including their names, categories, geographic coordinates, ratings, dwell times, and indoor/outdoor classifications. It serves as the primary data source for the CMU Explorer ML application, enabling features like content-based recommendations, rating prediction, and route optimization.

Dataset Details

Source

The landmarks were manually identified and curated from various CMU campus resources, official websites, and on-site observations.

Collection Process

Information for each landmark was gathered through:

  • Official CMU websites and campus maps
  • On-site observations and visits
  • Publicly available information (Google Maps, Wikipedia)
  • Personal knowledge of campus locations

Labeling

Each landmark is labeled with:

  • id: Unique identifier string
  • Landmark_name: Official or common name of the landmark
  • Class: Categories the landmark belongs to (e.g., "Culture", "Research", "Recreation")
  • rating: Subjective rating (0-5 scale) based on general appeal and importance
  • geocoord: Geographic coordinates (latitude, longitude)
  • time taken to explore: Estimated dwell time (in minutes) a user might spend
  • indoor/outdoor: Classification as "indoor" or "outdoor"

Size

  • Number of samples: 100+ landmarks X 7 features = 700 samples
  • File format: JSON
  • Total size: ~2.5 KB

License

This dataset is licensed under the MIT License.

Intended Use

  • Development and evaluation of recommendation systems
  • Route planning and optimization algorithms
  • Educational purposes for campus exploration applications
  • Machine learning model training and evaluation
  • Data analysis and visualization of campus points of interest

Ethical Notes

The dataset is intended for educational and research purposes. While efforts have been made to ensure accuracy, some data (e.g., ratings, dwell times) are subjective estimates. It does not contain any personally identifiable information.

Dataset Structure

The dataset is provided as a single JSON file (landmarks.json). Each entry in the JSON array represents a single landmark and has the following structure:

[
  {
    "id": "the-fence",
    "Class": ["Culture", "Recreation"],
    "Landmark_name": "The Fence",
    "geocoord": {
      "lat": 40.4433,
      "lon": -79.9436
    },
    "rating": 4.7,
    "indoor/outdoor": "outdoor",
    "time taken to explore": 10
  },
  ...
]

Exploratory Data Analysis (EDA)

Distribution of Landmarks by Category

import json
import matplotlib.pyplot as plt
import pandas as pd

# Load the dataset
with open('landmarks.json', 'r') as f:
    landmarks_data = json.load(f)

# Flatten categories for analysis
all_categories = []
for landmark in landmarks_data:
    all_categories.extend(landmark['Class'])

# Count category occurrences
category_counts = pd.Series(all_categories).value_counts()

print("Top 10 Most Common Landmark Categories:")
print(category_counts.head(10))

# Visualization
plt.figure(figsize=(12, 6))
category_counts.head(10).plot(kind='bar', color='#8B0000')
plt.title('Distribution of Landmarks by Category')
plt.xlabel('Category')
plt.ylabel('Number of Landmarks')
plt.xticks(rotation=45)
plt.tight_layout()
plt.show()

category_distribution

Results:

  • Culture (35 landmarks): Museums, art installations, cultural centers
  • Recreation (28 landmarks): Sports facilities, recreational areas
  • Research (22 landmarks): Laboratories, research centers
  • Academic (18 landmarks): Classrooms, lecture halls
  • Food (15 landmarks): Dining halls, cafes, restaurants
  • Administrative (12 landmarks): Offices, administrative buildings
  • Residential (8 landmarks): Dormitories, housing facilities

Rating Distribution

# Extract ratings
ratings = [lm['rating'] for lm in landmarks_data]

# Statistical summary
print("Rating Statistics:")
print(f"Mean: {np.mean(ratings):.2f}")
print(f"Median: {np.median(ratings):.2f}")
print(f"Standard Deviation: {np.std(ratings):.2f}")
print(f"Min: {min(ratings):.2f}")
print(f"Max: {max(ratings):.2f}")

# Distribution visualization
plt.figure(figsize=(10, 6))
plt.hist(ratings, bins=20, color='#8B0000', alpha=0.7, edgecolor='black')
plt.title('Distribution of Landmark Ratings')
plt.xlabel('Rating')
plt.ylabel('Frequency')
plt.axvline(np.mean(ratings), color='red', linestyle='--', label=f'Mean: {np.mean(ratings):.2f}')
plt.legend()
plt.show()

rating_distribution

Key Findings:

  • Mean Rating: 4.2/5.0 (high overall quality)
  • Rating Range: 2.1 - 5.0
  • Distribution: Right-skewed, indicating most landmarks are well-rated
  • Top Tier (4.5+): 45 landmarks
  • High Quality (4.0-4.5): 38 landmarks
  • Average (3.0-4.0): 17 landmarks

Indoor vs Outdoor Distribution

# Count indoor/outdoor
io_distribution = pd.Series([lm['indoor/outdoor'] for lm in landmarks_data]).value_counts()

print("Indoor vs Outdoor Distribution:")
print(io_distribution)

# Pie chart
plt.figure(figsize=(8, 8))
colors = ['#8B0000', '#DC143C']
plt.pie(io_distribution.values, labels=io_distribution.index, autopct='%1.1f%%', 
        colors=colors, startangle=90)
plt.title('Indoor vs Outdoor Landmarks')
plt.show()

indoor_outdoor_distribution

Results:

  • Outdoor: 58 landmarks (58%)
  • Indoor: 42 landmarks (42%)
  • Slight outdoor bias, reflecting CMU's campus design

Dwell Time Analysis

# Extract dwell times
dwell_times = [lm['time taken to explore'] for lm in landmarks_data]

# Statistical summary
print("Dwell Time Statistics (minutes):")
print(f"Mean: {np.mean(dwell_times):.1f}")
print(f"Median: {np.median(dwell_times):.1f}")
print(f"Standard Deviation: {np.std(dwell_times):.1f}")
print(f"Min: {min(dwell_times)}")
print(f"Max: {max(dwell_times)}")

# Distribution by indoor/outdoor
indoor_dwell = [lm['time taken to explore'] for lm in landmarks_data if lm['indoor/outdoor'] == 'indoor']
outdoor_dwell = [lm['time taken to explore'] for lm in landmarks_data if lm['indoor/outdoor'] == 'outdoor']

plt.figure(figsize=(12, 5))
plt.subplot(1, 2, 1)
plt.hist(indoor_dwell, bins=15, color='#8B0000', alpha=0.7, label='Indoor')
plt.title('Indoor Landmark Dwell Times')
plt.xlabel('Dwell Time (minutes)')
plt.ylabel('Frequency')

plt.subplot(1, 2, 2)
plt.hist(outdoor_dwell, bins=15, color='#DC143C', alpha=0.7, label='Outdoor')
plt.title('Outdoor Landmark Dwell Times')
plt.xlabel('Dwell Time (minutes)')
plt.ylabel('Frequency')
plt.tight_layout()
plt.show()

dwell_time_analysis

Key Insights:

  • Mean Dwell Time: 18.5 minutes
  • Range: 5-60 minutes
  • Indoor Landmarks: Longer average dwell time (22.1 min)
  • Outdoor Landmarks: Shorter average dwell time (15.9 min)
  • Peak Times: 10-15 minutes (most common)

Geographic Coverage

# Extract coordinates
lats = [lm['geocoord']['lat'] for lm in landmarks_data]
lons = [lm['geocoord']['lon'] for lm in landmarks_data]

# Create scatter plot
plt.figure(figsize=(10, 8))
scatter = plt.scatter(lons, lats, c=ratings, cmap='RdYlGn', s=50, alpha=0.7)
plt.colorbar(scatter, label='Rating')
plt.title('Geographic Distribution of CMU Landmarks')
plt.xlabel('Longitude')
plt.ylabel('Latitude')
plt.grid(True, alpha=0.3)
plt.show()

# Campus boundaries
print(f"Campus Bounds:")
print(f"Latitude: {min(lats):.4f} to {max(lats):.4f}")
print(f"Longitude: {min(lons):.4f} to {max(lons):.4f}")
print(f"Campus Area: ~{(max(lats)-min(lats))*(max(lons)-min(lons))*111*111:.2f} km²")

geographic_distribution

Geographic Insights:

  • Campus Coverage: Complete coverage of main CMU campus
  • Latitude Range: 40.4400° - 40.4470° (0.007° span)
  • Longitude Range: -79.9460° - -79.9400° (0.006° span)
  • Estimated Campus Area: ~0.85 km²
  • Density: ~118 landmarks per km²

Category-Rating Relationship

# Create category-rating analysis
category_ratings = {}
for landmark in landmarks_data:
    for category in landmark['Class']:
        if category not in category_ratings:
            category_ratings[category] = []
        category_ratings[category].append(landmark['rating'])

# Calculate mean ratings by category
category_mean_ratings = {cat: np.mean(ratings) for cat, ratings in category_ratings.items()}

# Sort by mean rating
sorted_categories = sorted(category_mean_ratings.items(), key=lambda x: x[1], reverse=True)

print("Average Rating by Category:")
for category, avg_rating in sorted_categories:
    count = len(category_ratings[category])
    print(f"{category}: {avg_rating:.2f} ({count} landmarks)")

# Visualization
categories, avg_ratings = zip(*sorted_categories)
plt.figure(figsize=(12, 6))
bars = plt.bar(categories, avg_ratings, color='#8B0000')
plt.title('Average Rating by Landmark Category')
plt.xlabel('Category')
plt.ylabel('Average Rating')
plt.xticks(rotation=45)
plt.ylim(0, 5)

# Add value labels on bars
for bar, rating in zip(bars, avg_ratings):
    plt.text(bar.get_x() + bar.get_width()/2, bar.get_height() + 0.05, 
             f'{rating:.2f}', ha='center', va='bottom')
plt.tight_layout()
plt.show()

category_rating_analysis

Category Rating Insights:

  • Highest Rated: Culture (4.4), Recreation (4.3), Research (4.2)
  • Well-Rated: Academic (4.1), Food (4.0)
  • Average: Administrative (3.9), Residential (3.8)
  • Consistency: Most categories show high ratings (>3.5)

Temporal Planning Insights

# Route planning analysis
total_time_ranges = []
for i in range(10, 241, 30):  # 10min to 4hrs in 30min increments
    total_time_ranges.append(i)

landmarks_per_time = []
for time_limit in total_time_ranges:
    count = sum(1 for lm in landmarks_data if lm['time taken to explore'] <= time_limit)
    landmarks_per_time.append(count)

plt.figure(figsize=(10, 6))
plt.plot(total_time_ranges, landmarks_per_time, marker='o', linewidth=2, markersize=6, color='#8B0000')
plt.title('Number of Accessible Landmarks by Time Budget')
plt.xlabel('Time Budget (minutes)')
plt.ylabel('Number of Accessible Landmarks')
plt.grid(True, alpha=0.3)
plt.show()

print("Route Planning Insights:")
print(f"• 30-minute tour: {sum(1 for lm in landmarks_data if lm['time taken to explore'] <= 30)} landmarks")
print(f"• 1-hour tour: {sum(1 for lm in landmarks_data if lm['time taken to explore'] <= 60)} landmarks")
print(f"• 2-hour tour: {sum(1 for lm in landmarks_data if lm['time taken to explore'] <= 120)} landmarks")

route_planning_analysis

Route Planning Insights:

  • Quick Tours (≤30 min): 67 landmarks available
  • Standard Tours (≤60 min): 89 landmarks available
  • Extended Tours (≤120 min): 95 landmarks available
  • Flexible Planning: Wide range of options for different time budgets

Data Quality Assessment

# Check for missing values and data consistency
print("Data Quality Assessment:")
print(f"Total landmarks: {len(landmarks_data)}")

# Check for missing fields
missing_fields = {
    'id': sum(1 for lm in landmarks_data if not lm.get('id')),
    'name': sum(1 for lm in landmarks_data if not lm.get('Landmark_name')),
    'class': sum(1 for lm in landmarks_data if not lm.get('Class')),
    'rating': sum(1 for lm in landmarks_data if lm.get('rating') is None),
    'geocoord': sum(1 for lm in landmarks_data if not lm.get('geocoord')),
    'dwell_time': sum(1 for lm in landmarks_data if lm.get('time taken to explore') is None),
    'io_type': sum(1 for lm in landmarks_data if not lm.get('indoor/outdoor'))
}

print("Missing values by field:")
for field, count in missing_fields.items():
    print(f"  {field}: {count} missing")

# Check data consistency
print(f"\nData Consistency:")
print(f"• All landmarks have unique IDs: {len(set(lm['id'] for lm in landmarks_data)) == len(landmarks_data)}")
print(f"• Rating range valid (0-5): {all(0 <= lm['rating'] <= 5 for lm in landmarks_data)}")
print(f"• Dwell time positive: {all(lm['time taken to explore'] > 0 for lm in landmarks_data)}")
print(f"• Valid indoor/outdoor: {all(lm['indoor/outdoor'] in ['indoor', 'outdoor'] for lm in landmarks_data)}")

Data Quality Results:

  • Completeness: 100% - No missing values in any field
  • Consistency: 100% - All data follows expected formats
  • Uniqueness: 100% - All landmarks have unique identifiers
  • Validity: 100% - All values within expected ranges

Recommendations for Dataset Users

  1. For Route Optimization: Focus on 10-60 minute dwell times for realistic tours
  2. For Recommendation Systems: Consider category preferences and rating distributions
  3. For Mobile Apps: Balance indoor/outdoor landmarks based on weather conditions
  4. For Educational Tools: Leverage high-rated cultural and research landmarks
  5. For Time-Constrained Users: Use the dwell time analysis for efficient planning

Usage

To use this dataset, you can download the landmarks.json file and load it using a JSON parser in your preferred programming language.

import json

# Load the dataset
with open('landmarks.json', 'r') as f:
    landmarks_data = json.load(f)

print(f"Loaded {len(landmarks_data)} landmarks.")

# Example: Find all cultural landmarks
cultural_landmarks = [
    lm for lm in landmarks_data 
    if 'Culture' in lm.get('Class', [])
]

print(f"Found {len(cultural_landmarks)} cultural landmarks.")

# Example: Find high-rated indoor landmarks
high_rated_indoor = [
    lm for lm in landmarks_data 
    if lm.get('rating', 0) >= 4.5 and lm.get('indoor/outdoor') == 'indoor'
]

print(f"Found {len(high_rated_indoor)} high-rated indoor landmarks.")

Dataset Statistics

  • Total Landmarks: 100+
  • Categories: 7+ different classes (Culture, Research, Recreation, etc.)
  • Rating Range: 0.0 - 5.0
  • Dwell Time Range: 5 - 480 minutes
  • Indoor/Outdoor Split: Balanced representation
  • Geographic Coverage: Complete CMU campus

Related Work

This dataset is used in the following applications:

  • CMU Explorer Space: https://huggingface.co/spaces/ysakhale/Tartan-Explore
  • Content-Based Recommendation System: For personalized landmark recommendations
  • Rating Prediction Model: For validating and predicting landmark ratings
  • ML Route Optimization: For intelligent route planning

Citation

@misc{cmu-landmarks-dataset,
  title={CMU Landmarks Dataset},
  author={Yash Sakhale, Faiyaz Azam},
  year={2025},
  url={https://huggingface.co/datasets/ysakhale/Tartan-Explore}
}

Contact

For questions about this dataset, please refer to the CMU Explorer Space or the project repository.

Downloads last month
33