1 / 5

CS 204423: Assignment 1

CS 204423: Assignment 1. Play around with your data. The dataset. You are given a data set named ‘Auto MPG’ The data concerns fuel consumption in miles per gallon of cars Attribute Information: 1. mpg: continuous 2. cylinders: multi-valued discrete 3. displacement: continuous

Download Presentation

CS 204423: Assignment 1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS 204423: Assignment 1 Play around with your data

  2. The dataset • You are given a data set named ‘Auto MPG’ • The data concerns fuel consumption in miles per gallon of cars • Attribute Information: • 1. mpg: continuous • 2. cylinders: multi-valued discrete • 3. displacement: continuous • 4. horsepower: continuous • 5. weight: continuous • 6. acceleration: continuous • 7. model year: multi-valued discrete • 8. origin: multi-valued discrete (Europe, Asia, America) • 9. car name: string (unique for each instance)

  3. Tasks 1) Examine basic characteristics of your data 1.1 How many data points? 1.2 What is the dimensionality of the data? 2) Preprocess your data into a matrix form 2.1 How will you deal with the missing attributes? There is no absolute correct answer. Express you idea! 2.2 The last field is a string data. This can’t be stored as a matrix. What to do? 3) Find the correlations between all pairs of attributes 3.1 Take the most positively correlated variables and plot them using scatter plot. Does the result make sense? Discuss your finding. 3.2 Take the most negatively correlated variables and plot them using scatter plot. Does the result make sense? Discuss your finding. 3.3 Can you find spurious correlations? 4) Standardise your data (z-normalisation) 4.1 What is the mean of your standarised dataset? 4.2 What is the standard deviation of your standardised dataset?

  4. Useful things • mean(), std() • max(), min() • corr() • textread() • scatter() • help …..  help textread • Give you the manual for such function

  5. For more data sets • Visit UCI data repository • https://archive.ics.uci.edu/ml/index.html • Or collect your own 

More Related