Topic - Data Mining Report

Assignment Help Other Subject
Reference no: EM132384028 , Length: word count:5000

Assignment Topic - Data Mining Report

1. Problem Description -

In this assignment, you will perform predictive analytics. You are given a CSV data file (data2019.student.csv) which contains a total of 1100 samples. The first 1000 samples have already been categorised into two classes. You are asked to predict the class labels of the last 100 samples associated with IDs from 1001 to 1100. You are given the following information:

The attribute Class indicates the class label. For each of the first 1000 samples, the class label is either 0 or 1. For each of the last 100 samples, the class label is missing. You are asked to predict these missing class labels.

There are exactly 50 samples from each class in the last 100 samples to be predicted.

Attributes are either categorical or numeric. Note that some attributes may appear numeric. You will need to decide whether to treat them as numeric or categorical and justify your action.

The data is known to contain imperfections:

  • There are missing/corrupted entries in the data set.
  • There are duplicates, both instances and attributes.
  • There are irrelevant attributes that do not contain any useful information useful for the classification task.
  • The labelled data is imbalanced: there is a considerable difference between the number of samples from each class.

Note that the attribute names and their values have been obfuscated. Any pre-processing and analytical steps to the data need to be based entirely on the values of the attributes.

Attempt the following:

  • Data Preparation: In this phase, you will need to study the data and address the issues present in the data. At the end of this phase, you will need to obtain a processed version of the original data ready for classification, and suitably divide the data into two subsets: a training set and a test set.
  • Data Classification: In this phase, you will perform analytical processing of the training data, build suitable predictive models, test and validate the models, select the models that you believe the most suitable for the given data, and then predict the missing labels.
  • Report: You will need to write a complete report documenting the steps taken, from data preparation to classification. In addition, you should also give comments or explain your choice/decision at every step. For example, if an attribute has missing entries, you have to describe what strategy taken to address them, and why you employ that particular strategy based on the observation of the data. Importantly, the report must also include your prediction of the missing labels.

You may choose either of the following approaches to complete the:

  • Programming Approach: If you choose the programming approach, it is expected that you will use the data mining software and the programming environment provided in this unit for completing the assignment. Your developed Python/R programs will be tested using the virtual machines provided. If you plan to use any extra tools/packages, you must obtain a written approval from the Unit Coordinator. This is to ensure fairness among students.
  • Non-Programming Approach: If you choose the non-programming approach, i.e. using only the Weka GUI, it is expected that you will need to submit a separate document myweka.pdf detailing how you use Weka to accomplish the tasks. See Subsection 2.4 for further detail.

2. The Tasks -

2.1 Data Preparation

In this first task, you will examine the data attributes and identify issues present in the data. For each of the issues that you have identified, decide and perform necessary action to address it. Finally, you will need to suitably split the data into two sets: one for training and one for testing, the latter contains 100 samples with missing class labels. The two sets must also be submitted electronically with your report. They must be presented in Weka ARFF format. Your marks for this task will depend on how well you identify the issues and address them. Use the following list as a general guide for this task:

Irrelevant attributes: this data set is known to have irrelevant attributes.

  • Describe what you think irrelevant attributes are.
  • For each attribute, carefully examine it and decide whether it is irrelevant. If so, give a brief explanation and remove the attribute.

Missing entries

  • Which attributes/instances have missing entries?
  • For those attributes/instances, how many missing entries are present?
  • For each attribute/instance with missing entries, make a suitable decision, justify it, and proceed.

Duplicates

  • Detect if there are any duplicates (instances/attributes) in the original data?
  • For each attribute/instance with duplicates, make a suitable decision, justify it, and proceed.

Data type:

  • For each attribute, carefully examine the default data type (e.g. Numeric, Nominal, Binary, String, etc.) that has been decided when Weka loads the original CSV file.
  • If the data type of an attribute is not suitable, give a brief explanation and convert the attribute to a more suitable data type. Provide detailed information of the conversion.

Scaling and standardisation:

  • For each numeric attribute, decide if any pre-processing (e.g. scaling, standardisation) is required. Give a brief explanation why it is needed (this should be discussed in relation to the subsequent classification task).
  • Feature engineering: you may also come up with attributes derived from existing attributes. If this is the case, give an explanation of the new attributes that you have created.

Feature/Attribute selection: if applicable, clearly indicate which attributes you decide to remove in addition to those (obviously) irrelevant attributes that you have identified above and give a brief explanation why.

Data instances: if you decide to make changes to the data instances with class labels (this may include selecting only a subset of the data, removing instances, randomizing or reordering instances, or synthetically injecting new data instances to the training data, etc.), provide an explanation.

Data imbalance: the data set is known to have more samples from one class than the other. If you employ any strategy to address the data imbalance issue, describe it thoroughly.

Others: describe other data-preparation steps not mentioned above.

Training, Validation, and Test Sets: suitably divide the prepared data into training, validation and test sets. These sets must be in ARFF format and submitted together with the electronic version of your report. See the Submission section for further information.

2.2 Data Classification

For this task, you will demonstrate convincingly how you select a suitable classification scheme to learn the predictive model from training data and use that model to predict the missing labels. You will also need to estimate the prediction accuracy on the actual test data. Finally, you will need to provide your prediction as a table in the report and a CSV file to be submitted electronically. You will need to demonstrate the following:

Classifier selection: you will need to select at least three (3) classifiers: k-NN, Naive Bayes, and Decision Trees (J48). Other classifiers, including meta classifiers, are also encouraged. Every classifier typically has parameters to tune. If you change the default parameters to achieve higher cross-validation performance, clearly indicate what the parameters mean, and what values you have selected.

Cross validation: you will need to address the following

  • How to evaluate the effectiveness of a classifier on the given data?
  • How to address the issue of class imbalance in the training data?
  • What is your choice of validation/cross-validation?
  • For each classifier that you've selected, what is the validation/cross-validation performance? Give an interpretation of the confusion matrix.
  • For each classifier that you've selected, what is the estimated classification accuracy on the actual test data?

Classifier comparison:

  • Compare the classification performance between difference classifiers. You need to select at least two (2) evaluation metrics, for example F-measure and classification accuracy, when comparing them. Your comparison must take into account the variation between different runs due to cross-validation.
  • Based on the comparison, select the best two (2) classification schemes for final prediction. Note that the two classification schemes can be one type of classifier, but with two different parameters. Clearly indicate the final choice of parameters if they are not the default values.

Prediction:

  • Use the best two classification schemes that you have identified in the previous step to predict the missing class labels of the last 100 samples in the original data set.
  • Provide your prediction in the report by creating a table, the first column is the sample ID, the second and third columns are the predicted class labels respectively.
  • Produce a CSV file with the name predict.csv that contain your prediction in a similar format: the first column is the sample ID, the second and third columns are the predicted class labels. This file must be submitted electronically with the electronic copy of the report.

IMPORTANT: Please ensure that your prediction is correctly formatted as required. You must also indicate clearly in the report your estimated prediction accuracy. This should be based on the validation study.

2.3 Report

You will also need to submit a written report. It should serve the following objectives:

  • It demonstrates your understanding of the problem and the necessary steps you have attempted to solve the tasks.
  • It contains information necessary for marking your work.
  • Page limit: your report must not exceed 20 pages. Pages beyond 20 will be ignored!

What you should include in the report: Structure of the report:

Cover page

Summary: briefly list the major findings (data preparation and classification) and the lessons you've learned.

Methodology: address the requirements described above for

  • Data preparation
  • Data classification

Prediction: produce a table that describes the best two prediction results.

References: list any relevant work that you refer to.

Appendices: important things not mentioned above.

Visual illustration to support your analysis which may include: tables, figures, plots, diagrams, and screenshots.

Attachment:- Assignment Files - Data Mining Report.rar

Reference no: EM132384028

Questions Cloud

How much do you have to save each month if you can earn : How much do you have to save each month if you can earn an annual return of 11.1 percent?
What is the marginal rate of substitution : What is the marginal rate of substitution and why does it diminish as the consumer substitutes one product for another? Use examples to illustrate.
Pertaining to police response to domestic violence calls : This week's reading provides an overview pertaining to police response to domestic violence calls. After reading the assigned reading for week six
Can we say whose demand is likely to be more elastic : What can we say about the price elasticity of demand for nicotine products in the group of nicotine addicted users, versus the group of "social smokers"?
Topic - Data Mining Report : Assignment Topic - Data Mining Report. In this first task, you will examine the data attributes and identify issues present in the data
Should newtons donuts spend more on advertising : Calculate the price elasticity of demand for Newton's Donuts and describe what it means. Should Newton's Donuts spend more on advertising?
How do you feel about illegal recreational drug use : Would the reasons influence the type of drug he may be using? Explain. How do you feel about illegal recreational drug use? Explain.
Explain what are recreational drugs : What are recreational drugs? Explain. Are the reasons for teen drug use and abuse different than those of adults? Explain.
Evaluate the arguments of the two partners : Evaluate the arguments of the two partners. Explain and illustrate their points by identifying the relevant and irrelevant costs for this decision.

Reviews

Write a Review

Other Subject Questions & Answers

  Difference between police pressure and police coercion

What is the difference between police pressure and police coercion in the interrogation setting?

  Describe the major stakeholders in healthcare system

Describe the major stakeholders in healthcare system. Analyze the top-management structure, investigate and enumerate the code of ethics.

  Drawing the color line

Why do you think there is little know about Africa being "civilized"? Discuss what is said in the article "Drawing the Color Line" about this and why it isn't a well known fact.

  Summarize your background and what makes you unique

Identify three to four companies for whom you want to work (your target market and how you can fulfill its needs/wants), and how you think your skill set will benefit them.

  Discuss how the particular offender''s crimes were solved

Discuss how the particular offender's crimes were solved (if applicable: if they were unresolved, discuss this, too); and the resolution of the case.

  Questionnegotiating skills stay a critical capability for

questionnegotiating skills stay a critical capability for procurement practitioners. skilled negotiators have potential

  Describe radio frequency identification

Describe Radio Frequency Identification (RFID) and how it is an improvement in relation to bar coding

  Focus on the cons of technology and future technology

Mostly to focus on the Cons of Technology and future technology. No double space. Single space only. Times new roman. 12font. Also a page that includes the references.

  Media articles often focus on corrupt business practices

Media articles often focus on corrupt business practices or individuals who have committed criminal acts, etc., and cynics may argue that morality is less significant in the 21st Century. What do you think?

  Explain the terms deductive reasoning and decision making

Explain the terms "deductive reasoning" and "decision making", providing examples from daily life that illustrates each of these cognitive processes.

  Why do men typically pay for expenses on a date

Using these major perspectives, (sociocultural, evolutionary, social learning, and social cognitive), answer the questions that follow:

  Customer satisfaction and customer integration

Now, when it comes to customer satisfaction and customer integration, I am a fanatic. You wouldn't believe how much we have learned about our customers' needs from discussion sessions we have with them. But, hold on. To integrate customers into the t..

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