How many duplicate records marked

Assignment Help Python Programming
Reference no: EM132629483

Write a program to perform the following actions using Python Programming language with error handling and logs/outputs.

1. Read data1.txt, data2.xml and data3.json into data structures named data1, data2 and data3, respectively. Answer the following questions:
a. What are the data types in data1?
b. What are the data types in data2?
c. What are the data types in data3?
Ensure the data types in the data1, data2 and data3 structures conform to the data types described in theData Set Overview section.

2. Merge the three data sets into a single data set based on the ID attribute and mark duplicates. Answer the following question:
a. How many rows and columns are in the merged data set?
b. What columns in the merged data contain missing values?
c. How many duplicate records marked?

3. Create a new data set from the merge data set by removing any rows with missing values. Answer the following question:
a. How many rows are there in the new data set?
b. What percentage of rows contains "M" vs "R" in the Class attribute?
c. Calculate the minimum, 1st quartile, median, mean, 3rd quartile, maximum for the following attributes: V1, V2, V30, V40, V50 and V60.

4. For the 60 attributes V1, V2, ...V60, calculate the Pearson correlation for each pairwise combination of attributes? Note: Do not include pairs where the attribute is paired with itself, e.g., pairs V1 and V1, V2 and V2, ... should not be included.
a. What are the "Top 5" positively correlated attributes?
b. What are the "Top 5" negatively correlated attributes?


5. Generate the following plots:
a. Histogram for attribute V17
b. Boxplot of attribute V5 segregated by Class attribute
c. Scatter plot of attributes V17 vs V18. Color each point based on the value of the Class attribute.
6. Develop a predictive model. The response variable is Class. The set of possible explanatory variables are V1, V2, V3, ...V60. Use as many or as few(V1, to V10) of the explanatory variables as you deem necessary.
a. Fit prediction value
b. Accuracy value
Provide an assessment on the predictive model's performance.

7. Develop a predictive model. The response variable is Class. The set of possible explanatory variables are V1, V2, V3, ...V60. Use as many or as few (V1, to V40) of the explanatory variables as you deem necessary.
a. Fit prediction value
b. Accuracy value
Provide an assessment on the predictive model's performance.

8. Provide details of processing of columnsV1, V2, ... V60 in XML dataset.
a. What XML functions used to loop through records V1, V2, .... V60
b. How exceptions handled while processing XML dataset for invalid datatypes

9. Generate the following metrics outputs:
a. Data consistency checks metrics (e.g. count) for data1.txt, data2.xml and data3.json
b. Unique rows in the combined data set

Attachment:- test today to solve.rar

Reference no: EM132629483

Questions Cloud

Define self-efficacy and self-esteem : Define self-efficacy and self-esteem. How are these concepts different? Which appears to be more important when raising children who will someday seek out.
Positive and negative examples of using a corporate script : In "What Was Volkswagen Thinking?," Jerry Useem (2016) explains that organizations can be defined and shaped through communication. Useem discusses the techniqu
How can enrollment in this course be increased : How can enrollment in this course be increased - formulate 5 research questions, each of which is an action that management might take to solve the dilemma
Explain the social cognitive career theory : According to social cognitive career theory, explain why children that live in families of higher socioeconomic status may consider a wider array of career.
How many duplicate records marked : Write a program to perform the following actions using Python Programming language with error handling and logs/outputs - What columns in the merged data
7328LAW Advanced Urban Planning Law Assignment : 7328LAW Advanced Urban Planning Law Assignment Help and Solution, Griffith University - Assessment Writing Service - What is the human right to housing?
What impacts can this have on the company balance sheet : Why might a company choose to take the self-constructed approach? What impacts can this have on the company's balance sheet
What impact would you expect on your potential profits : What method do you choose to use and why? What impact would you expect on your potential profits
Create incentive and loyalty among walmart managers : Please agree or disagree with the post and cite any references used.

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

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