This document provides instructions for a machine learning assignment to predict air quality using linear regression. Students are asked to:
1. Analyze a dataset containing air quality information to determine the number of features.
2. Train a linear regression model using gradient descent with various learning rates and stochastic gradient descent, reporting coefficients, intercept, and hypothesis function.
3. Implement a function to compute the coefficient of determination and report the score on the training dataset.
4. Make predictions on a test dataset and compute the score, then compare the training and test scores.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
48 views1 page
Assignment 2
This document provides instructions for a machine learning assignment to predict air quality using linear regression. Students are asked to:
1. Analyze a dataset containing air quality information to determine the number of features.
2. Train a linear regression model using gradient descent with various learning rates and stochastic gradient descent, reporting coefficients, intercept, and hypothesis function.
3. Implement a function to compute the coefficient of determination and report the score on the training dataset.
4. Make predictions on a test dataset and compute the score, then compare the training and test scores.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
Machine
Learning Online | Assignment - II
Linear Regression | Air Quality Prediction
In this problem, you are given a dataset (https://github.com/coding-blocks-archives/machine- learning-online-2018/tree/master/assignment_datasets/Regression_Data) containing information about various features on which air quality depends. Download the data set from the above link, train your Linear Regression Model without using library function for linear regression.
1. How many features you observe in the dataset.
2. Use Gradient Descent Algorithm with variouse leanring rates. Use Convergence criteria as change in error. Repeat the same part with stochastic gradient descent(batch size=1). 3. Report the value of coefficients and intercept, and hypothesis function. 4. Implement a function to compute Coefficient of Determination. Report the 'Score' on the training dataset. 5. Make predictions on test dataset and compute score. Compare your Training and Test Scores. Which one is better?
DATA MINING and MACHINE LEARNING. CLASSIFICATION PREDICTIVE TECHNIQUES: SUPPORT VECTOR MACHINE, LOGISTIC REGRESSION, DISCRIMINANT ANALYSIS and DECISION TREES: Examples with MATLAB
DATA MINING and MACHINE LEARNING. PREDICTIVE TECHNIQUES: ENSEMBLE METHODS, BOOSTING, BAGGING, RANDOM FOREST, DECISION TREES and REGRESSION TREES.: Examples with MATLAB
Python Advanced Programming: The Guide to Learn Python Programming. Reference with Exercises and Samples About Dynamical Programming, Multithreading, Multiprocessing, Debugging, Testing and More