113 lines
		
	
	
		
			5.9 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			113 lines
		
	
	
		
			5.9 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
 | 
						|
        <!DOCTYPE html>
 | 
						|
        <html>
 | 
						|
        <head>
 | 
						|
            <meta charset="utf-8">
 | 
						|
            <title>MovieLens Dataset Analysis Report</title>
 | 
						|
            <style>
 | 
						|
                body { font-family: Arial, sans-serif; margin: 0; padding: 20px; color: #333; }
 | 
						|
                .container { max-width: 1200px; margin: 0 auto; }
 | 
						|
                h1 { color: #2c3e50; text-align: center; margin-bottom: 30px; }
 | 
						|
                h2 { color: #3498db; margin-top: 30px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
 | 
						|
                .summary { background-color: #f9f9f9; padding: 15px; border-radius: 5px; margin-bottom: 20px; }
 | 
						|
                .gallery { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 20px; }
 | 
						|
                .gallery img { max-width: 100%; height: auto; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
 | 
						|
                .figure { margin-bottom: 30px; text-align: center; }
 | 
						|
                .figure img { max-width: 100%; height: auto; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
 | 
						|
                .figure .caption { margin-top: 10px; font-style: italic; color: #666; }
 | 
						|
                table { width: 100%; border-collapse: collapse; margin: 20px 0; }
 | 
						|
                th, td { padding: 10px; text-align: left; border-bottom: 1px solid #ddd; }
 | 
						|
                th { background-color: #f2f2f2; }
 | 
						|
                tr:hover { background-color: #f5f5f5; }
 | 
						|
            </style>
 | 
						|
        </head>
 | 
						|
        <body>
 | 
						|
            <div class="container">
 | 
						|
                <h1>MovieLens Dataset User-Movie Preference Analysis Report</h1>
 | 
						|
 | 
						|
                <div class="summary">
 | 
						|
                    <h2>Data Overview</h2>
 | 
						|
                    <p>This analysis is based on the MovieLens dataset, containing 6040 users、3883 movies and 1000209 original rating records。</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <h2>User Profile Analysis</h2>
 | 
						|
                <div class="figure">
 | 
						|
                    <img src="user_analysis/gender_distribution.png" alt="User Gender Distribution">
 | 
						|
                    <p class="caption">User Gender Distribution</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <div class="figure">
 | 
						|
                    <img src="user_analysis/age_distribution.png" alt="User Age Distribution">
 | 
						|
                    <p class="caption">User Age Distribution</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <div class="figure">
 | 
						|
                    <img src="user_analysis/occupation_distribution.png" alt="User Occupation Distribution">
 | 
						|
                    <p class="caption">User Occupation Distribution</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <h2>Movie Distribution Analysis</h2>
 | 
						|
                <div class="figure">
 | 
						|
                    <img src="movie_analysis/genre_distribution.png" alt="Movie Genre Distribution">
 | 
						|
                    <p class="caption">Movie Genre Distribution</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <div class="figure">
 | 
						|
                    <img src="movie_analysis/year_distribution.png" alt="Movie Release Year Distribution">
 | 
						|
                    <p class="caption">Movie Release Year Distribution</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <div class="figure">
 | 
						|
                    <img src="movie_analysis/most_rated_movies.png" alt="Top 20 Most Rated Movies">
 | 
						|
                    <p class="caption">Top 20 Most Rated Movies</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <h2>Rating Distribution Analysis</h2>
 | 
						|
                <div class="figure">
 | 
						|
                    <img src="rating_analysis/rating_distribution.png" alt="Rating Distribution">
 | 
						|
                    <p class="caption">Rating Distribution</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <div class="figure">
 | 
						|
                    <img src="rating_analysis/genre_avg_ratings.png" alt="Average Rating by Movie Genre">
 | 
						|
                    <p class="caption">Average Rating by Movie Genre</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <div class="figure">
 | 
						|
                    <img src="rating_analysis/top_rated_movies.png" alt="Top 20 Highest Rated Movies">
 | 
						|
                    <p class="caption">Top 20 Highest Rated Movies (min. 100 ratings)</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <h2>User Characteristics and Movie Preferences</h2>
 | 
						|
                <div class="figure">
 | 
						|
                    <img src="preference_analysis/gender_genre_heatmap.png" alt="Movie Genre Preferences by Gender">
 | 
						|
                    <p class="caption">Movie Genre Preferences by Gender</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <div class="figure">
 | 
						|
                    <img src="preference_analysis/age_genre_heatmap.png" alt="Movie Genre Preferences by Age Group">
 | 
						|
                    <p class="caption">Movie Genre Preferences by Age Group</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <div class="figure">
 | 
						|
                    <img src="preference_analysis/age_year_heatmap.png" alt="Preferences for Movies by Decade Across Age Groups">
 | 
						|
                    <p class="caption">Preferences for Movies by Decade Across Age Groups</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <div class="figure">
 | 
						|
                    <img src="preference_analysis/gender_avg_rating.png" alt="Average Rating by Gender">
 | 
						|
                    <p class="caption">Average Rating by Gender</p>
 | 
						|
                </div>
 | 
						|
 | 
						|
                <h2>Conclusions and Insights</h2>
 | 
						|
                <p>Through in-depth analysis of the MovieLens dataset, we found significant correlations between user characteristics (gender, age, occupation) and movie preferences. Key findings include:</p>
 | 
						|
                <ul>
 | 
						|
                    <li>Significant differences in movie genre preferences between genders</li>
 | 
						|
                    <li>Age influences how users rate movies from different decades</li>
 | 
						|
                    <li>Occupational background correlates with genre preferences</li>
 | 
						|
                </ul>
 | 
						|
                <p>These findings provide valuable reference for designing movie recommendation systems and developing movie marketing strategies.</p>
 | 
						|
            </div>
 | 
						|
        </body>
 | 
						|
        </html>
 | 
						|
         |