Docsity

Regression concepts and some ques, Slides of Machine Learning

Partial preview of the text

Download Regression concepts and some ques and more Slides Machine Learning in PDF only on Docsity!

SYLLABUS : Unit 2: Regression & Classification Regression: Linear Regression, Goodness of Fit, Bias Variance Trade off, Regularization. Classification: Logistic Regression, Bayesian Learning (Bayes theorem, Maximum a posterior hypothesis (MAP), Bayes Optimal Classifier, Naïve Bayes classifier). Instance based learning (K-Nearest Neighbors), Support Vector Machines (Dealing with inherent non-linearity, Dealing with noises), Decision Trees, Random Forest, CART Algorithm.

  • (^) Example: Suppose there is a marketing company A, who does various advertisement every year and get sales on that. The below list shows the advertisement made by the company in the last 5 years and the corresponding sales: Now, the company wants to do the advertisement of $200 in the year 2019 and wants to know the prediction about the sales for this year. So to solve such type of prediction problems in machine learning, we need regression analysis.
  • (^) Linear regression is one of the easiest and most popular

Machine Learning algorithms. It is a statistical method

that is used for predictive analysis. Linear regression

makes predictions for continuous/real or numeric

variables such as sales, salary, age, product price, etc.

  • (^) Linear regression algorithm shows a linear relationship

between a dependent (y) and one or more independent

(y) variables, hence called as linear regression. Since

linear regression shows the linear relationship, which

means it finds how the value of the dependent variable

is changing according to the value of the independent

variable.

Linear Regression in Machine Learning

The General Univariate

Linear Regression Problem

Least Mean Square Cost Function

Calculating The Least

Square Gradient

Steps of the Linear

Regression Procedure

Goodness of Fit

Here we can say which one is best But in case of high dimension ?? Normalize J in the range of 0 to 1 This measure is called Goodness of Fit (R Square)

GRADIENT DESCENT

Linear Regression-

Polynomial Curve Fitting