Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Applied Statistics Expert

Machine Learning Assignment

1) Regression; Consider the Bike Share dataset from the UCI machine learning repository. The dataset contains three files, viz. day.csv, hour.csv, and Readme.txt. Both the datasets (data.csv and hour.csv) contain a combination of integer-valued (e.g., season, weekday or not) and real-valued features (e.g., temperature, windspeed). Details of the dataset are described in the README (Readme.txt) in the Data Characteristics section. Just like the previous assignment, spend some time understanding the structure of the dataset, how the instances are organized, how the features are organized, what the various features mean (info in README), what features are useful for the task at hand, and so on. Do not attempt to run any machine learning algorithm before understanding the structure of the dataset.

Note, in particular, the last three fields in the data, viz. casual (denotes casual riders), registered (registered riders), and cnt (total ridership count).

1. Using only hour.csv, implement regression algorithms (both linear and k-nearest neighbors) to predict the hourly values for:

a. the number of casual riders

b. the number of registered riders

c. total ridership count

2. Using only day.csv, implement regression algorithms (both linear and k-nearest neighbors) to predict the daily values for:

a. the number of casual riders

b. the number of registered riders

c. total ridership count

Therefore, for each dataset, you are reporting 3 models for linear regression and 3 models for KNN regression.

Note: Remember that using one of the target values (as a feature) in predicting the outcome of any of the counts - casual, registered, or total would defeat the purpose of the learning algorithm. It will make the problem too easy. That is, the number of casual riders cannot be used as a feature to predict the number of registered riders or total ridership. Similarly, the number of registered riders cannot be used to predict the other two values, and so on. Only features like season, temperature, real-feel, etc. have to be used by the learning algorithm.

For instance, suppose you are using hourly.csv dataset and you want to predict the number of casual riders. You have to remove the columns related to the number of registered riders and total ridership first and then start training/testing your model. Similarly, when you are making the prediction model for total ridership, you have to remove the columns related to casual rides and registered riders first and then start training/testing your model.

As before, you will need to separate the data into training set and test set (decide on the proportion of splits yourself). Evaluate the performance of your regression using suitable measures. Report on the performance results and which model(s) worked best (and why in your opinion).

2) Clustering; Consider the Seeds data set from the UCI machine learning repository. The dataset comprises of features from three different types of wheat kernels. There are seven features (area, perimeter, compactness, length, width, asymmetry coefficient, and length of kernel groove) that describe each data point. (Note that the dataset has an eighth column (class information with labels 1, 2, and 3), which we will use as ground truth to verify our clustering results.)

Using the k-means algorithm cluster this dataset into three clusters based on the seven features at your disposal. Demonstrate the effectiveness of your implementation by comparing the results against the ground truth. Follow the steps in the k-means demo video from the lectures.

Also, note that the default label values in scikit learn start from 0, whereas the dataset here starts labels with 1. While evaluating your implementation's effectiveness, ensure to account for this discrepancy.

As a performance measure, compare the clusters identified by k-means w.r.t. the ground truth data and make observations.

Attachment:- Assignment Files.rar

Applied Statistics, Statistics

  • Category:- Applied Statistics
  • Reference No.:- M92496492
  • Price:- $75

Guranteed 36 Hours Delivery, In Price:- $75

Have any Question?


Related Questions in Applied Statistics

The scientific method assessment task - data analysis

The Scientific Method Assessment Task - Data Analysis Assignment QUESTION 1 - Single-factor experiments Use Minitab for this question. The data in Q1 tab of 60902_AssessmentTask3Data_Spring2018.xlsx records blood cholest ...

Assessment task -you become interested in the non-skeletal

Assessment Task - You become interested in the non-skeletal effects of vitamin D and review the literature. On the basis of your reading you find that there is some evidence to suggest that vitamin D deficiency is linked ...

Question - go to the website national quality forum nqf

Question - Go to the website, National Quality Forum (NQF), located in the Webliography, and download the article by WIRED FOR QUALITY: The Intersection of Health IT and Healthcare Quality, Number 8, MARCH 2008. You are ...

Assignment -a psychologist was interested in evaluating the

Assignment - A psychologist was interested in evaluating the effectiveness of a domestic violence prevention program in changing attitudes towards domestic violence in a sample of high school students. The psychologist r ...

Assignment - statistics in educational researchpart a -

Assignment - Statistics in Educational Research Part A - Show all your work Q1) A teacher asked each of her students how many novels they had read in the previous six months. The results are shown below. 0 1 5 4 2 1 3 2 ...

What are the uses of the chi-square test in terms of data

What are the uses of the chi-square test in terms of data analysis for quality, safety, and patient safety? Provide two specific examples of when a HIM professional would use chi-square and why.

Business analytics and statistics research report -this

Business Analytics and Statistics Research Report - This assignment is based on fictional data. You are creating a business report for the CEO of a retail company called, Athlete Panda. It must be professional in present ...

Using minitab to construct linear regression modelsscatter

Using Minitab to Construct Linear Regression Models Scatter Plot To obtain a simple scatter plot using Minitab: One of the first steps in the analysis of the study data is to create a scatter plot that compares the quant ...

Part a -question 1 - true or false in data collection the

Part A - Question 1 - True or False: In data collection, the most common technique to ensure proper representation of the population is to use a random sample. True False Question 2 - Most analysts focus on the cost of H ...

A company produces labeled packaging material and the

A company produces labeled packaging material and the company intends to buy a new machine for shaping and labeling. The company has been approached by two different companies and the production manager did a test on the ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As