sujal7102003 commited on
Commit
663bffc
ยท
verified ยท
1 Parent(s): 630141a

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +117 -0
README.md ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ๐ŸŽต Music Feature Dataset Analysis
2
+
3
+ This repository contains an exploratory data analysis (EDA) on a music features dataset. The objective is to understand the patterns in audio features and how they relate to the user's preferences (`liked` column).
4
+
5
+ ---
6
+
7
+ ## ๐Ÿ“ Dataset: `data.csv`
8
+
9
+ ### ๐Ÿ“Œ Features:
10
+
11
+ - `danceability`: How suitable a track is for dancing.
12
+ - `energy`: Intensity and activity level of a track.
13
+ - `key`: Musical key.
14
+ - `loudness`: Overall loudness in decibels (dB).
15
+ - `mode`: Major or minor tonality.
16
+ - `speechiness`: Presence of spoken words.
17
+ - `acousticness`: Confidence measure of whether the track is acoustic.
18
+ - `instrumentalness`: Predicts if a track is instrumental.
19
+ - `liveness`: Presence of audience in the recording.
20
+ - `valence`: Musical positiveness.
21
+ - `tempo`: BPM of the track.
22
+ - `duration_ms`: Track duration in milliseconds.
23
+ - `time_signature`: Estimated time signature.
24
+ - `liked`: User preference (continuous score).
25
+
26
+ ---
27
+
28
+ ## ๐Ÿงผ Data Preprocessing
29
+
30
+ - โœ… Checked for missing values.
31
+ - โœ… Identified and removed duplicates.
32
+ - โœ… Normalized numeric features using **Z-score**.
33
+ - โœ… Outliers examined using box plots.
34
+ - โœ… Computed statistical metrics: **mean**, **standard deviation**, etc.
35
+
36
+ ---
37
+
38
+ ## ๐Ÿ“Š Visualizations
39
+
40
+ ### ๐Ÿ”น Missing Values
41
+
42
+ ![Missing Values](missing_values_graph.png)
43
+
44
+ ---
45
+
46
+ ### ๐Ÿ”น Unique & Duplicated Records
47
+
48
+ ![Unique and Duplicated](unique_duplicated.png)
49
+
50
+ ---
51
+
52
+ ### ๐Ÿ”น Z-score Normalization
53
+
54
+ ![Z-Score](zscore.png)
55
+
56
+ ---
57
+
58
+ ### ๐Ÿ”น Top & Bottom Liked Songs
59
+
60
+ ![Top & Bottom Liked](top_bottom_liked.png)
61
+
62
+ ---
63
+
64
+ ### ๐Ÿ”น Distribution Plots
65
+
66
+ ![Distribution](distribution.png)
67
+
68
+ ---
69
+
70
+ ### ๐Ÿ”น Danceability Histogram
71
+
72
+ ![Danceability Histogram](danceblity_histogram.png)
73
+
74
+ ---
75
+
76
+ ### ๐Ÿ”น Mean & Standard Deviation
77
+
78
+ ![Mean and STD](mean_std_plot.png)
79
+
80
+ ---
81
+
82
+ ### ๐Ÿ”น Correlation Heatmap
83
+
84
+ ![Correlation Heatmap](correlation_heatmap.png)
85
+
86
+ ---
87
+
88
+ ### ๐Ÿ”น Boxplots for Outlier Detection
89
+
90
+ ![Boxplot](boxplot.png)
91
+
92
+ ---
93
+
94
+ ## ๐Ÿ“ˆ Summary
95
+
96
+ - Most features were normally distributed.
97
+ - Strong correlation found between **energy**, **valence**, and **liked** score.
98
+ - Songs with higher **danceability** and **valence** tended to have higher `liked` scores.
99
+ - Some features (like **key** and **mode**) had low correlation with the target variable.
100
+
101
+ ---
102
+
103
+ ## ๐Ÿ› ๏ธ Tools Used
104
+
105
+ - `Python`
106
+ - `Pandas`, `NumPy`
107
+ - `Matplotlib`, `Seaborn`
108
+ - `Scikit-learn`
109
+
110
+ ---
111
+
112
+ ## ๐Ÿ”š Conclusion
113
+
114
+ The analysis highlights key audio features that influence user preferences. The results may be useful for recommendation systems or user profiling based on listening history.
115
+
116
+ ---
117
+