- Artificial Intelligence for Big Data
- Anand Deshpande Manish Kumar
- 212字
- 2021-06-25 21:57:13
Linear regression
With linear regression, we model the relationship between the dependent variable, y, and an explanatory variable or independent variable, x. When there is one independent variable, it is called simple linear regression, and in the case of multiple independent variables, the regression is called multiple linear regression. The predictor function in the case of linear regression is a straight line (refer to figure 4 for an illustration). The regression line defines the relationship between x and y. When the value of y increases when x increases, there is a positive relationship between x and y. Similarly, when x and y are inversely proportional, there is a negative relationship between x and y. The line should be plotted on x and y dimensions to minimize the difference between the predicted value and the actual value, called prediction error.
In its simplest form, the linear regression equation is:
This is the equation of a straight line, where y is the value of dependent variable, a is the y intercept (the value of y where the regression line meets the y axis), and b is the slope of the line. Let's consider the least square method in which we can derive the regression line with minimum prediction error.
- iOS and OS X Network Programming Cookbook
- 數據驅動設計:A/B測試提升用戶體驗
- 數亦有道:Python數據科學指南
- 企業級數據與AI項目成功之道
- Starling Game Development Essentials
- Python金融數據分析(原書第2版)
- Apache Kylin權威指南
- 淘寶、天貓電商數據分析與挖掘實戰(第2版)
- Construct 2 Game Development by Example
- Spark分布式處理實戰
- SAS金融數據挖掘與建模:系統方法與案例解析
- 菜鳥學SPSS數據分析
- Google Cloud Platform for Architects
- Cognitive Computing with IBM Watson
- 數字化轉型實踐:構建云原生大數據平臺