代写31250 Introduction to Data Analytics Assessment Task 2调试Python程序

- 首页 >> Python编程

Assessment Task 2: Data exploration and preparation

Scenario

You have just started working as a data miner/analyst in the Analytics Unit of a company. The Head of the Analytics Unit has brought you a dataset [a welcome present:-))]. The dataset includes two files: a description of the attributes and a table with the actual values of these attributes. The Head of the Analytics Unit has mentioned to you that this is some sort of loan data that a potential client has provided for analysis. The Head of the Analytics Unit would like to have a report with some insights about the data, that he/she could deliver to the client. Your tasks include:

Understanding the specifics of the dataset;

Extracting information about each of the attributes, possible associations between them and other specifics of the dataset.

The tasks in the assignment are specified below.

Tasks

A. Initial data exploration

A1. Identify the attribute type of each attribute in your dataset fage, loan default, asset_cost, ., marital status) (nominal, ordinal, interval or ratio). If it's not clear, you may need to justify why you chose the type.

A2. Identify the values of the summarising properties for the attributes, including frequency, distributions, min, max, medians, means, variances, standard deviation, percentiles, etc. - the statistics that have been covered in the lectures and materials given. Note that not all of these summary statistics will make sense for all the attribute types, so use your judgement! Where necessary, use proper visualisations for the corresponding statistics. NOTE: If there are missing values, demonstrate their impact on the summary statistics of the attributes.

A3. Using KNIME or other tools, explore your dataset and identify any outliers, clusters of similar instances, "interesting" attributes and specificl values of those attributes. Note that you may need to 'temporarily' recode attributes to numeric or from numeric to nominal. The report includes the corresponding snapshots from the tools and an explanation of what has been identified there. NoTE: If there are missing values, demonstrate their impact on the data exploration.

Present your findings in the assignment report.

B. Data preprocessing

Perform. each of the following data preparation tasks (each task applies to the original data) using your choice of tool:

B1. Use the following binning techniques to smooth the values of the "age" attribute:

Equi-width binning

Equi-depth binning.

In the assignment report, for each of these techniques, you need to illustrate your steps. In your Excel workbook file place the results in separate columns in the corresponding spreadsheet, Use your judgement in choosing the appropriate number of bins - and justify this in the report.

B2. Use the following techniques to normalise the attribute "asset_cost":

min-max normalization to transform. the values onto the range [0.0-1.0]

z-score normalization to transform. the values.

The assignment report provides an explanation of each of the applied techniques. In your Excel workbook file place the results in separate columns in the corresponding spreadsheet.

B3. Discretise the "PERFORM_CNS.SCORE" attribute into the following categories: Very Low Risk, Low Risk, Medium Risk, High Risk and Very High Risk. Provide the frequency of each category in your dataset.

The assignment report explains each of the applied techniques. In your Excel workbook file place the results in a separate column in the corresponding spreadsheet.

B4. Binarise the "marital status" variable [with values "O" or "1"].

The assignment report explains the applied binarisation technique. In your Excel workbook file place the results in separate columns in the correspnding spreadshee.

C. Summary

At the end of the report include a summary section in which you summarise your findings. The summary is not a narrative of what you have done, but a condensed informative section of what you have found about the data that you should report to the Head of the Analytics Unit. The summary may include the most important findings (specific characteristics (or values) of some attributes, important information about the distributions, some clusters identified visually that you propose to examine, associations found that should be investigated more rigorously, etc.).

Deliverables

The deliveries are:

A report, for which the structure should follow the tasks of the assignment

An Excel workbook file with individual spreadsheets for each task (spreadsheets should be labelled according to the task names, for example, "B"). Each of the results of parts (B1) through (B4) in task B should be presented in a separate spreadsheet (and respectively table in thel assignment report).

A Knime workflow (ida_xxx.knwf) or Python notebook (ida_xxx.ipynb).

In the report, include a section (starting with a section title) for each of the tasks in the assignment.




站长地图