Plot a data scatter map for the case against the death

Assignment Help Python Programming
Reference no: EM133388385

Task 1. Exploratory data analysis

This task is to undertake exploratory data analysis on an Australian Covid-19 dataset which is provided with this assignment. This dataset summarises the number of daily cases and deaths from 01/01/2020 to 25/08/2020.

Write a Python program to complete the following tasks.

1. Load the data and extract information to fill the following form

 

Mean value

Max value

Min value

Case

 

 

 

Death

 

 

 

2. Plot a data scatter map for the case against the death. Copy your graph here.

3. Plot a bar chart for the case against the date. Use date as the horizontal axis and case as the vertical axis. Copy your graph here.

4. What observation can you get from two plotted graphs?

Task 2. Regression analysis

Given the above dataset, write a Python program to build regression models. Complete the following tasks.

1. Build a linear regression model to fit the relationship between case and death. Plot the regression model on a graph. Copy the graph here.

2. Given the regression model built from the data, what is the predicted deaths when cases are 1000? Put your analysis here.

3. Build polynomial regression models with different degrees of complexity. Plot graphs for degrees from 2 to 5. Which degree gives the best fit based on quantitative analysis? Put your analysis here.

Task 3. Classification

The provided dataset wine_quality.csv shows the relationship between chemical measures and quality. Build classifiers to classify the quality of wines. Use 50% of the data for training and 50% for testing. Report and compare the testing accuracies from logistic regression and support vector machine. Analyse the classification results.

1. Using different features as input to train logistic regression and support vector machines on the same training set, respectively, and then report the testing accuracy on the testing set in the following table.

Features used

Logistic regression

Support vector machine

fixed acidity

 

 

volatile acidity

 

 

citric acid

 

 

residual sugar

 

 

fixed acidity + volatile acidity + citric acid + residual sugar + chlorides value

 

 

All features

 

 

2. Make an analysis of the above results, and answer the following questions:

a) Which feature is more useful in predicting the quality, fixed acidity, volatile acidity, citric acid, or residual sugar?

b) Is there any relation between the number of features used with the prediction accuracy in this task?

Attachment:- Data analysis.rar

Reference no: EM133388385

Questions Cloud

Describe the three sets of factors mcadam identifies : Name and briefly describe the three sets of factors McAdam identifies, under his Political Process Model, for a social movement or "social insurgency"
What evidence does he uncover in his research : What evidence does he uncover in his research, and how does that help you understand Criminology from a Sociological lens. Tell me what Holly Sklar says about
What ways are local communities : In what ways are local communities (i.e. communities of proximity) less important in the contemporary world, and why? Give examples from your own life
Which branch of government has authority to enact law : In contrast to federal courts, state courts have what kind of jurisdiction? Which branch of government has the authority to enact law?
Plot a data scatter map for the case against the death : Plot a data scatter map for the case against the death and Plot a bar chart for the case against the date. Use date as the horizontal axis and case
How do civilians interact with police : Functionalist: Police departments are institutions in society with the purpose to serve and punish criminal activity. How else do police function in society?
Unsupported accusations-insinuations about your character : You have a big argument where your partner starts to call you terrible names and make all sorts of unsupported accusations and insinuations about your character
Who should be responsible for assigning domain names : Domain Names-who should be responsible for assigning domain names: a private company or the federal government?
Identify core concepts from each of the readings : identify core concepts from each of the readings; and 2) connect the concepts from the different readings to your everyday life. These are formal writing

Reviews

Write a Review

Python Programming Questions & Answers

  Data wrangling - child mortality

ICT702 - Data Wrangling - Child Mortality - Develop creative approaches to solving the wrangling/analysis problems - Write programs that produce correct

  Analyse the performance of a drone

analyse the performance of a drone, first run the simulation normally - The actual route the drone finds can then be compared to this ‘perfect knowledge route'

  What questions would you ask key stakeholders

What questions would you ask key stakeholders and team members as you start the project

  How do you connect the sakila database and add a record

In python, how do you connect the sakila database and add a record to the database? The response paper should be in APA format.

  Design and write program solutions to identified problems

ITECH1400 Foundations of Programming Assignment Help - Design and write program solutions to identified problems using accepted design constructs

  Calculate the amount of county sales tax

A retail company must file a monthly sales tax report listing the total sales for the month and the amount of state and county sales tax collected.

  Computing finite difference for first derivative of function

Computing finite difference approximations for the first derivative of a specified function, and to plot these approximations along with the analytical first

  What is one way interpreted programming languages differ

When writing a for loop in Python, programmers assign a numeric range to tell the loop where to start, how many times to repeat, and when to stop.

  Design a program for the hollywood movie rating guide

Design a program for the Hollywood Movie Rating Guide, in which users continuously enter a value from 0 to 4 that indicates the number of stars.

  Write a modularized body mass index program

Write a modularized Body Mass Index (BMI) Program which will calculate the BMI of a team player. The formula to calculate the BMI is as follows: BMI = Weight *703 / Height^2.

  Write a class called darts

One way to estimate the value of p is to simulate a darts game. The darts player throws at a circular board with a radius of 1 foot.

  Write a program that reads a list directly from the user

Write a program that reads a list directly from the user, then removes duplicate top-level elements in it and prints out the resulting list.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd