What is the average number of unhelpful votes?

Burdened by Homework? Let us write your essays and assignments Order This Now

-Amazon Reviews-
Write a program that will analyze 5 million of the amazon mobile app store reviews.
Go to https://s3.amazonaws.com/amazon-reviews-pds/tsv/index.txt
Download the following file:
https://s3.amazonaws.com/amazon-reviews-pds/tsv/amazon_reviews_us_Mobile_Apps_v1_00.tsv.gz
Write a nodejs program to calculate the following information:
What is the average number helpful votes?
What is the average number of unhelpful votes?
Example:
Execute:
node amazon.js
Output:
Avg Helpful: 2.6348289895290953825
Avg Unhelpful: 0.80084539680723236253
Note:
You should use the package big.js to deal with arbitrarily big input numbers, also consider using d3-dsv to parse tsv data one line at a time. Loading the file at once is a bad idea. Running this program took roughly 30 seconds or so.
*Document the code (// comments) and create a readme.md file for the teacher to read

Burdened by Homework? Let us write your essays and assignments Order This Now

Leave a comment