官术网_书友最值得收藏!

Simple regression model

The linear regression model is a learning algorithm that is concerned with predicting a quantitative (also known as numerical) response using a combination of explanatory features (or inputs or predictors).

A simple linear regression model with only one feature takes the following form:

y = beta0 + beta1x

Here:

  • y is the predicted numerical value (response) → sales
  • x is the the feature
  • beta0 is called the intercept
  • beta1 is the coefficient of the feature x → TV ad

Both beta0 and beta1 are considered as model coefficients. In order to create a model that can predict the value of sales in the advertising example, we need to learn these coefficients because beta1 will be the learned effect of the feature x on the response y. For example, if beta1 = 0.04, it means that an additional $100 spent on TV ads is associated with an increase in sales by four widgets. So, we need to go ahead and see how can we learn these coefficients.

主站蜘蛛池模板: 尚义县| 岳池县| 虹口区| 花垣县| 罗山县| 宝鸡市| 文化| 湖南省| 垫江县| 沙洋县| 渑池县| 当阳市| 马鞍山市| 清徐县| 商河县| 墨江| 泗洪县| 葵青区| 河北区| 五原县| 桃源县| 西昌市| 阿勒泰市| 凌源市| 微山县| 东方市| 屏东市| 威宁| 长白| 余江县| 疏勒县| 靖安县| 鄂伦春自治旗| 深州市| 榆社县| 江川县| 新沂市| 临高县| 贵德县| 镇原县| 莱州市|