Skip to main content

Posts

Showing posts with the label linear regression

Multivariable Regression in Machine Learning

  Multivariable regression : A more complex, multi-variable linear equation might look like this, where  w  represents the coefficients, or weights, our model will try to learn.   f(x,y,z)=w 1 x+w 2 y+w 3 z The variables  x ,y,z  represent the attributes, or distinct pieces of information, we have about each observation. For sales predictions, these attributes might include a company’s advertising spend on radio, TV, and newspapers. Sales = w 1 Radio + w 2 TV + w 3 News Let’s say we are given  data  on TV, radio, and newspaper advertising spend for a list of companies, and our goal is to predict sales in terms of units sold. Company TV Radio News Units Amazon 230.1 37.8 69.1 22.1 Google 44.5 39.3 23.1 10.4 Facebook 17.2 45.9 34.7 18.3 ...