Need help with your Discussion

Get a timely done, PLAGIARISM-FREE paper
from our highly-qualified writers!

glass
pen
clip
papers
heaphones

St Josephs University GreenHub Initiative Android Energy Consumption Analysis

St Josephs University GreenHub Initiative Android Energy Consumption Analysis

St Josephs University GreenHub Initiative Android Energy Consumption Analysis

Description

Description

The GreenHub initiative is a collaborative approach to Android energy consumption analysis. Its most important component is a dataset. The entries in the GreenHub dataset include multiple pieces of information, e.g., active sensors, memory usage, battery voltage, and temperature, running applications, model and manufacturer, and network details. This raw data was obtained by continuous crowdsourcing through a mobile application called BatteryHub. It is worth noting that all such data is publicly available, while maintaining the anonymity and privacy of all its users. Indeed, it is impossible to associate any data with the user who originated it. The dataset is sizable and thus far it comprises of 23+ million unique samples, including more than 700+ million data points pertaining to processes running on these devices. The dataset is also diverse. It includes data stemming from 1.6k+ different brands, 11.8k+ smartphone models, from over 50 Android versions, across 160 countries. Overall, the dataset comprises more than 120GB of uncompressed data.

For this assignment, you will have to examine a small part of this dataset, the dataset-samples part (hereafter just the “dataset-samples” dataset). It consists of multiple files, each one grouping approximately 300,000 observations collected from a number of devices. Each of these observations includes data such as the temperature of the device when the observation was collected, whether wifi was on or off, amount of free memory, cpu usage, current battery level, among others. The files are organized so that each row corresponds to one observation. The values in each observation are separated by semicolon (‘;’) and in this manner organized as columns. The first row of each file contains the labels for the columns. The following is the list of columns of each of these files:

[‘id’, ‘device_id’, ‘timestamp’, ‘battery_state’, ‘battery_level’, ‘timezone’, ‘country_code’, ‘memory_active’, ‘memory_inactive’, ‘memory_free’, ‘memory_user’, ‘charger’, ‘health’, ‘voltage’, ‘temperature’, ‘usage’, ‘up_time’, ‘sleep_time’, ‘network_status’, ‘network_type’, ‘mobile_network_type’, ‘mobile_data_status’, ‘mobile_data_activity’, ‘wifi_status’, ‘wifi_signal_strength’, ‘wifi_link_speed’, ‘screen_on’, ‘screen_brightness’, ‘roaming_enabled’, ‘bluetooth_enabled’, ‘location_enabled’, ‘power_saver_enabled’, ‘nfc_enabled’, ‘developer_mode’, ‘free’, ‘total’, ‘free_system’, ‘perform the following tasks:

0. Obtain the dataset and familiarize yourself with the data contained in the .csv files.

1.Build a function named getColumnValues() that takes as argument a list of column names and creates a NumPy array containing the values in the corresponding columns of the dataset-samples dataset, for all the files in the dataset. This function should be parameterized by the number of files to be read! The number of columns of the matrix should be the same as the list of column names received as argument. The function should return that NumPy array, filled in with the values read from the observations, for the corresponding columns.

2.Write a function named minMaxTemperatures() that receives the matrix produced by getColumnValues() as argument to determine the minimum and maximum temperatures among all the observations in the dataset. What are the ids of the devices with these values?

3.Write a function named percentageLocationEnabled() to determine what is the percentage of observations where location is enabled. Again, its argument should be a matrix produced by getColumnValues().

4.Implement a function named averageBatteryLevel() to calculate the average battery level when power saver mode is enabled or disabled. The function should take as argument the matrix produced by getColumnValues() and a flag named powerSaver whose value should be True to select observations where power saver mode is enabled and False otherwise.

5.Write a function to calculate the percentage of the observations where different kinds of network connection are off. This function should receive the matrix with the observations as argument, as well as a string whose values can be ‘network’, ‘mobile’, or ‘wifi’. These values determine whether the function will calculate the percentage of observations pertaining to the cell network, mobile data, or wi-fi.

Deliverables

This assignment has two deliverables:

  • A Jupyter Notebook with all the code that you wrote. Your functions should commented, in English, explaining their basic functionality and rationale. Functions and variables in your project should, as much as possible, have names that convey well their meaning.
  • A report of up to 2 pages (font size 12, single spacing, written in English, in .PDF format) discussing the following topics:
  • ?A general explanation of the solution idea for each task

    ?A summary of the obtained results

    ?Main obstacles faced during the execution of the project and how the team circumvented them

    ?A quick summary of the responsibilities of each team member

    General Requirements

  • Only use samples that were recorded after September 2017 (inclusive).
  • It must be possible to test the solutions by reading only one or a few of the data files from the dataset, just by changing the initialization of a global constant or by providing a different argument to the getColumnValues() function.
  • You can use NumPy or Pandas to store the data in memory and manipulate it. This is 100% your choice. Having said that, please indicate with a comment on the top of the Notebook which one you have decided to use.
  • Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

    Order Solution Now

    Our Service Charter


    1. Professional & Expert Writers: Eminence Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

    2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

    3. Plagiarism-Free Papers: All papers provided by Eminence Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

    4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Eminence Papers are known for the timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

    5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

    6. 24/7 Customer Support: At Eminence Papers, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

    We Can Write It for You! Enjoy 20% OFF on This Order. Use Code SAVE20

    Stuck with your Assignment?

    Enjoy 20% OFF Today
    Use code SAVE20