Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Essay

K-mean Analysis Uber Data

Rating
-
Sold
-
Pages
17
Grade
A
Uploaded on
17-05-2021
Written in
2019/2020

This document shows a step-by-step guide to exploring data using python libraries pandas and seaborn. Finding the most popular times an uber has been ordered in New York City and the popular locations.

Content preview

Machine Learning Final
Project:
Uber Data Analysis Using Jupyter Notebook




Albert Savill 3505901

,Table of Contents
Table of Figures.....................................................................................................................................1
1 Introduction........................................................................................................................................3
2 Data....................................................................................................................................................3
2.1 Uber New York City April 2014.....................................................................................................3
3 Methods.............................................................................................................................................4
3.1 K-Means Clustering......................................................................................................................4
3.2 Cross Analysis...............................................................................................................................4
4 Modelling............................................................................................................................................5
4.1 Data Manipulation.......................................................................................................................5
4.2 Analysing Time.............................................................................................................................7
4.2.1 Analysing Hours....................................................................................................................7
4.2.2 Analysing Weekdays.............................................................................................................8
5 Results................................................................................................................................................8
5.1 K-Means Clustering......................................................................................................................9
5.2 Cross Analysis.............................................................................................................................12
5.2.1 Hours & Days......................................................................................................................12
5.2.2 Longitude & Latitude..........................................................................................................12
6 Conclusion........................................................................................................................................15
References...........................................................................................................................................16
Bibliography & Link to Dataset............................................................................................................16

Table of Figures
- Figure 1: Raw Data Rows....................................................................................................................4

- Figure 2: Loading CSV File & Raw Data................................................................................................5

- Figure 3: Manipulating Date/Time.......................................................................................................5

- Figure 4: Adding Extra Column............................................................................................................6

- Figure 5: Adding Weekday & Hour......................................................................................................6

- Figure 6: Plotting & Analysing Hours...................................................................................................7

- Figure 7: More Plotting & Analysing Weekdays...................................................................................8

- Figure 8: Beginning of K-Means Clustering.........................................................................................9

- Figure 9: Output K Rows.....................................................................................................................9

- Figure 10: Sorted Values...................................................................................................................10

- Figure 11: K-means Chart 1................................................................................................................11

, - Figure 12: K-means Chart 2................................................................................................................11

- Figure 13: Cross-Analysis...................................................................................................................12

- Figure 14: Separate Longitude & Latitude Visualised Data...............................................................13

- Figure 15: Cross-Analysis of Longitude & Latitude.............................................................................14

- Figure 16: Input of NYC Map.............................................................................................................14

- Figure 17: NYC Map...........................................................................................................................15

Document information

Uploaded on
May 17, 2021
Number of pages
17
Written in
2019/2020
Type
ESSAY
Professor(s)
Unknown
Grade
A
£11.39
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
savilla1110

Get to know the seller

Seller avatar
savilla1110 I hop
View profile
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
5 year
Number of followers
1
Documents
0
Last sold
5 year ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions