Johnnyeee commited on
Commit
98fefbf
1 Parent(s): 1641745

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +29 -53
README.md CHANGED
@@ -58,10 +58,10 @@ And we will focus solely on restaurants, so we will follow these steps to get ou
58
  ## Restaurant Dataset
59
 
60
  ### Restaurant Dataset Summary
61
- - `yelp_train.csv`
62
- This dataset provides a detailed overview of businesses, focusing on aspects such as location, ratings, and customer reviews. It contains columns that identify each business, its geographical information, and metrics indicating its performance, such as aggregate ratings and review counts. Additionally, it includes specifics about the types of services and cuisines offered, operational hours, and detailed customer reviews with ratings, usefulness, humor, and coolness indicators, as well as the text content of the reviews and their posting dates. This dataset includes 3,779,578 rows and it is 6.7 GB.
63
- - `yelp_test.csv`
64
- This dataset provides the same information as `yelp_train.csv`, but it includes 944,895 rows and it is 1.7 GB.
65
 
66
  ### Supposed Tasks
67
  - Sentiment Analysis: By examining the textual reviews, natural language processing can be used to gauge customer sentiment towards businesses, categorizing opinions into positive, negative, or neutral sentiments.
@@ -97,50 +97,28 @@ This dataset provides the same information as `yelp_train.csv`, but it includes
97
 
98
  #### Variables Instances
99
  ```
100
- {
101
- "business_id":"MTSW4McQd7CbVtyjqoe9mw",
102
- "name":"St Honore Pastries",
103
- "address":"935 Race St",
104
- "city":"Philadelphia",
105
- "state":"PA",
106
- "postal_code":"19107",
107
- "latitude":39.9555052,
108
- "longitude":-75.1555641,
109
- "stars_x":4.0,
110
- "review_count":80,
111
- "is_open":1,
112
- "attributes":{
113
- "RestaurantsDelivery":"False",
114
- "OutdoorSeating":"False",
115
- "BusinessAcceptsCreditCards":"False",
116
- "BusinessParking":"{'garage': False, 'street': True, 'validated': False, 'lot': False, 'valet': False}",
117
- "BikeParking":"True",
118
- "RestaurantsPriceRange2":"1",
119
- "RestaurantsTakeOut":"True",
120
- "ByAppointmentOnly":"False",
121
- "WiFi":"u'free'",
122
- "Alcohol":"u'none'",
123
- "Caters":"True"
124
- },
125
- "categories":"Restaurants, Food, Bubble Tea, Coffee & Tea, Bakeries",
126
- "hours":{
127
- "Monday":"7:0-20:0",
128
- "Tuesday":"7:0-20:0",
129
- "Wednesday":"7:0-20:0",
130
- "Thursday":"7:0-20:0",
131
- "Friday":"7:0-21:0",
132
- "Saturday":"7:0-21:0",
133
- "Sunday":"7:0-21:0"
134
- },
135
- "review_id":"BXQcBN0iAi1lAUxibGLFzA",
136
- "user_id":"6_SpY41LIHZuIaiDs5FMKA",
137
- "stars_y":4.0,
138
- "useful":0,
139
- "funny":0,
140
- "cool":1,
141
- "text":"This is nice little Chinese bakery in the heart of Philadelphia's Chinatown! The female cashier was very friendly (flirtatious!) and the pastries shown in nicely adorned display cases. I stopped by early one evening had a sesame ball, which was filled with bean paste. The glutinous rice of the ball was nicely flavored, similar to Bai Tang Gao. Definitely as place worth stopping at if you are in the area.",
142
- "date":"2014-05-26 01:09:53"
143
- }
144
  ```
145
  ### Usage
146
  The dataset is compatible with the Hugging Face `datasets` library. The dataset class `YelpDataset` provides methods to access the structured data efficiently, including features detailing business information, user reviews, and user profiles.
@@ -163,7 +141,7 @@ A testing dataset example
163
  next(iter((dataset['test'])))
164
  ```
165
 
166
- You can check this Colab link to find out more details: [Link*](https://colab.research.google.com/drive/1B5Jd_-ZtkouRcu3DeOm3Nz6sWH_-w4lj?usp=sharing)
167
 
168
  ## Dataset Creation
169
  ### Curation Rationale
@@ -194,9 +172,7 @@ Yelp's dataset comes with a detailed set of terms of use, which you can review b
194
  # Links
195
  All relative links:
196
  - Yelp raw dataset: https://www.yelp.com/dataset/download
197
- - yelp_academic_dataset_business.json:https://yelpdata.s3.us-west-2.amazonaws.com/yelp_academic_dataset_business.json
198
- - yelp_academic_dataset_review.json:https://yelpdata.s3.us-west-2.amazonaws.com/yelp_academic_dataset_review.json
199
- - Yelp Restaurant training dataset: https://yelpdata.s3.us-west-2.amazonaws.com/yelp_train.csv
200
- - Yelp Restaurant testing dataset: https://yelpdata.s3.us-west-2.amazonaws.com/yelp_test.csv
201
  - Data Processing: https://colab.research.google.com/drive/1r_gUGmsawwtFpZCj23X1jWjfEi6Dw291?usp=sharing
202
  - Dataset Check: https://colab.research.google.com/drive/1ybXGIYUqJ7DH22A4apynfrWCMGzb2v_T?usp=sharing
 
58
  ## Restaurant Dataset
59
 
60
  ### Restaurant Dataset Summary
61
+ - `yelptrain_data.parquet`
62
+ This dataset provides a detailed overview of businesses, focusing on aspects such as location, ratings, and customer reviews. It contains columns that identify each business, its geographical information, and metrics indicating its performance, such as aggregate ratings and review counts. Additionally, it includes specifics about the types of services and cuisines offered, operational hours, and detailed customer reviews with ratings, usefulness, humor, and coolness indicators, as well as the text content of the reviews and their posting dates. This dataset includes 3,778,658 rows and it is 2.26 GB.
63
+ - `yelptest_data.parquet`
64
+ This dataset provides the same information as `yelptrain_data.parquet`, but it includes 943,408 rows and it is 591 MB.
65
 
66
  ### Supposed Tasks
67
  - Sentiment Analysis: By examining the textual reviews, natural language processing can be used to gauge customer sentiment towards businesses, categorizing opinions into positive, negative, or neutral sentiments.
 
97
 
98
  #### Variables Instances
99
  ```
100
+ {'business_id': 'XQfwVwDr-v0ZS3_CbbE5Xw',
101
+ 'name': 'Turning Point of North Wales',
102
+ 'address': '1460 Bethlehem Pike',
103
+ 'city': 'North Wales',
104
+ 'state': 'PA',
105
+ 'postal_code': '19454',
106
+ 'latitude': 40.21019744873047,
107
+ 'longitude': -75.22364044189453,
108
+ 'stars_x': 3.0,
109
+ 'review_count': 169.0,
110
+ 'is_open': 1.0,
111
+ 'categories': 'Restaurants, Breakfast & Brunch, Food, Juice Bars & Smoothies, American (New), Coffee & Tea, Sandwiches',
112
+ 'hours': '{"Monday": "7:30-15:0", "Tuesday": "7:30-15:0", "Wednesday": "7:30-15:0", "Thursday": "7:30-15:0", "Friday": "7:30-15:0", "Saturday": "7:30-15:0", "Sunday": "7:30-15:0"}',
113
+ 'review_id': 'KU_O5udG6zpxOg-VcAEodg',
114
+ 'user_id': 'mh_-eMZ6K5RLWhZyISBhwA',
115
+ 'stars_y': 3.0,
116
+ 'useful': 0.0,
117
+ 'funny': 0.0,
118
+ 'cool': 0.0,
119
+ 'text': "If you decide to eat here, just be aware it is going to take about 2 hours from beginning to end. We have tried it multiple times, because I want to like it! I have been to it's other locations in NJ and never had a bad experience. \n\nThe food is good, but it takes a very long time to come out. The waitstaff is very young, but usually pleasant. We have just had too many experiences where we spent way too long waiting. We usually opt for another diner or restaurant on the weekends, in order to be done quicker.",
120
+ 'date': '2018-07-07 22:09:11',
121
+ 'attributes': '{"NoiseLevel": "u\'average\'", "HasTV": "False", "RestaurantsAttire": "\'casual\'", "BikeParking": "False", "Ambience": "{\'touristy\': False, \'hipster\': False, \'romantic\': False, \'divey\': False, \'intimate\': False, \'trendy\': False, \'upscale\': False, \'classy\': False, \'casual\': True}", "WiFi": "\'free\'", "DogsAllowed": "False", "Alcohol": "\'none\'", "BusinessAcceptsCreditCards": "True", "RestaurantsGoodForGroups": "True", "RestaurantsPriceRange2": "2", "RestaurantsReservations": "False", "WheelchairAccessible": "True", "BusinessAcceptsBitcoin": "False", "RestaurantsTableService": "True", "GoodForKids": "True", "Caters": "False", "HappyHour": "False", "RestaurantsDelivery": "True", "GoodForMeal": "{\'dessert\': False, \'latenight\': False, \'lunch\': True, \'dinner\': False, \'brunch\': True, \'breakfast\': True}", "OutdoorSeating": "True", "RestaurantsTakeOut": "True", "BusinessParking": "{\'garage\': False, \'street\': False, \'validated\': False, \'lot\': True, \'valet\': False}"}'}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
  ```
123
  ### Usage
124
  The dataset is compatible with the Hugging Face `datasets` library. The dataset class `YelpDataset` provides methods to access the structured data efficiently, including features detailing business information, user reviews, and user profiles.
 
141
  next(iter((dataset['test'])))
142
  ```
143
 
144
+ You can check this Colab link to find out more details: [Link*](https://colab.research.google.com/drive/1ybXGIYUqJ7DH22A4apynfrWCMGzb2v_T?usp=sharing)
145
 
146
  ## Dataset Creation
147
  ### Curation Rationale
 
172
  # Links
173
  All relative links:
174
  - Yelp raw dataset: https://www.yelp.com/dataset/download
175
+ - yelp_academic_dataset_business.json: https://yelpdata.s3.us-west-2.amazonaws.com/yelp_academic_dataset_business.json
176
+ - yelp_academic_dataset_review.json: https://yelpdata.s3.us-west-2.amazonaws.com/yelp_academic_dataset_review.json
 
 
177
  - Data Processing: https://colab.research.google.com/drive/1r_gUGmsawwtFpZCj23X1jWjfEi6Dw291?usp=sharing
178
  - Dataset Check: https://colab.research.google.com/drive/1ybXGIYUqJ7DH22A4apynfrWCMGzb2v_T?usp=sharing