top of page

CORRELATIONS

 We First applied K-means Algorithm to make clusters of data w.r.t to 6 features such as speed value, event-time, vehicle type, violations,  day(Mon, Tue..), Gate id(Camera number)

We first encoded the data we have so that they can be used for unsupervised algorithm properly;  For  example Speed value to speed value/100 ; event-time to  sin(time) etc…

We then Tried to find Correlation coefficient between features to find some correlation between them.[Plotted correlation matrix];

Screenshot (507).png

We tried to find the efficient value of K in K-means by plotting elbow graph which shows k value should be between 2-5, so we plotted kor K=3 and K=4;

Screenshot (510).png
Screenshot (511).png
Screenshot (516).png
bottom of page