Calculate the values of the integrated schema

Assignment Help Python Programming
Reference no: EM132688684

Task 1: Data Integration

In this task, you are required to integrate the input datasets (i.e., 7 datasets including hospitals, supermarkets, shopping centers, real estate files (one XML and one Json), Vic_suburb_boundary, and GTFS_Melbourne_Train_Information files) into one dataset with the following schema.

Table 2. Description of the final schema

COLUMN

DESCRIPTION

Property_id

A unique id for the property

lat

The property latitude

lng

The property longitude

addr_street

The property address

suburb (15%)

The property suburb. Default value: "not available"

price

The property price

property_type

The type of the property

year

Year of sold

bedrooms

Number of bedrooms

bathrooms

Number of bathrooms

parking_space

The number of parking space of the property

Shopping_center_id (5%)

The closest shopping center to the property. Default value: "not available"

Distance_to_sc (5%)

The Euclidean distance from the closest shopping center to the property. Default value: 0

Train_station_id (10%)

The closest train station to the property. Default value: 0

Distance_to_train_s tation (5%)

The Euclidean distance from the closest train station to the property. Default value: 0

travel_min_to_CBD (15%)

The average travel time (minutes) from the closest train station to the "Flinders street" station on weekdays (i.e. Monday-Friday) departing between 7 to 9 am. For example, if there are 3 trip departing from the closest train station to the Flinders street station on weekdays between 7-9am and each take 6, 7, and 8 minutes respectively, then the value of this column for the property should be (6+7+8)/3. If there are any direct transfers b etween the closest station and Flinders street station, only the a verage of direct transfers should be calculated. Default value: 0

Transfer_flag (15%)

A Boolean attribute indicating whether there is a direct trip to the Flinders street station from the closest station between 7-9am on the weekdays. This flag is 0 if there is a direct trip (i.e. no transfer between trains is required to get from the closest train station to the Flinders station) and 1 otherwise. Default value: -1

Hospital_id (5%)

The closest

available"

hospital

to

the

property. Default value: "not

Distance_to_hospita l (5%)

The Euclidean distance from the closest hospital to the property.

Default value: 0

Supermarket_id (5%)

The closest supermarket to the property. Default value: "not available"

Distance_to_super maket (5%)

The Euclidean distance from the closest supermarket to the property. Default value: 0

Task 2: data reshaping

In this task, you need to study the effect of different normalization/transformation methods (i.e. standardization, minmax normalization, log, power, box-cox transformation) on the "price", "Distance_to_sc", "travel_min_to_CBD", and "Distance_to_hospital" attributes and observe and explain their effect assuming we want to develop a linear model to predict the "price" using "Distance_to_sc", "travel_min_to_CBD", and "Distance_to_hospital" attributes. The linear regression assumptions that you need to study in this task are: Normality a nd Linearity.

Task 3: Documentation

The main focus of the documentation would be on the quality of your explanation on task 2 but similar to the previous assignments, your notebook file should be in a decent format with proper sections and subsections.

Note 1: the output csv file must have the exact same columns as specified on the schema.

Please note that the output files which are not in a correct format, as specified in the i ntegrated schema, won't be marked.

Note 2: if you decide not to calculate any of the required columns, then you must have that column in your final dataframe with the ‘default value' as the value of all the rows.

Please note that the output files which are not in a correct format, as specified in the integrated schema, won't be marked.

Note 3: No external data is allowed to calculate the values of the integrated schema. For example, to calculate the suburb, you can only use the shape files provided in the Google d rive.

Note 4: the radius of the earth is still 6378 km!

Note 5: In table 2, numbers in front of some of the columns in the format of (a%) are the allocated mark associated with that column. For example, column "suburb" carries 15% of the total output mark of task 1. Also, please note that we are aware that the summation of p ercentages is 90%. The other 10% goes to the issue(s) that may appear during data i ntegration tasks and you should find and resolve them.

Attachment:- Data Integration.rar

Reference no: EM132688684

Questions Cloud

Discuss typography and the importance of appearance of text : Discuss Typography and the importance of appearance of text. Discuss the following color harmonies: (Usage, Pros, and Cons).
Negligence is unintentional tort : Negligence is an unintentional tort because it happens by accident. Product liability arises when one is injured by a defective product.
How much dividends did the company declare and pay : How much dividends did the Company declare and pay during fiscal year 2020? What is the amount of dividends payable at the end of fiscal year 2020?
Paula can make against cash mart : What are the possible tort claims that Paula can make against Cash Mart? Discuss the elements of the claim and how those elements relate to the facts
Calculate the values of the integrated schema : Calculate the values of the integrated schema. For example, to calculate the suburb, you can only use the shape files provided in the Google d rive
Discuss the use of a tool for manual examination of a phone : In this weekly discussion, you will discuss the use of a tool for manual examination of a phone: Select one of the tools mentioned in the text and describe.
What difference does make report the lease : Current accounting, What difference does it make whether we report the lease as a liability or simply describe its terms in footnotes? Discuss.
Damages awarded to plaintiff in tort case : Do you believe there should be a limit or cap on the amount of damages awarded to a plaintiff in a tort case? Why or why not? Be specific.
Define the importance of custom variables : Define the importance of custom variables, attached chapter 9 (Advanced Web Metrics with Google Analytics by Brian Clifton) explains the importance of each.

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