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

Introduction

In the previous chapter, you were introduced to the fundamentals of Artificial Intelligence (AI), which helped you create the game Tic-Tac-Toe. In this chapter, we will be looking at regression, which is a machine learning algorithm that can be used to measure how closely related independent variable(s), called features, relate to a dependent variable called a label.

Linear regression is a concept with many applications a variety of fields, ranging from finance (predicting the price of an asset) to business (predicting the sales of a product) and even the economy (predicting economy growth).

Most of this chapter will deal with different forms of linear regression, including linear regression with one variable, linear regression with multiple variables, polynomial regression with one variable, and polynomial regression with multiple variables. Python provides lots of forms of support for performing regression operations and we will also be looking at these later on in this chapter.

We will also use an alternative regression model, called Support Vector Regression (SVR), with different forms of linear regression. Throughout this chapter, we will be using a few sample datasets along with the stock price data loaded from the Quandl Python library to predict future prices using different types of regression.

Note

Although it is not recommended that you use the models in this chapter to provide trading or investment advice, this is a very exciting and interesting journey that explains the fundamentals of regression.

主站蜘蛛池模板: 万州区| 蒲江县| 张掖市| 岚皋县| 康定县| 天等县| 寿光市| 敦化市| 华阴市| 凤阳县| 陈巴尔虎旗| 赣榆县| 竹北市| 新乡市| 肃宁县| 建瓯市| 北碚区| 汉中市| 苏尼特右旗| 枝江市| 蒙自县| 中卫市| 北辰区| 宝坻区| 凉城县| 朔州市| 沙坪坝区| 赫章县| 安阳县| 南平市| 武平县| 连云港市| 烟台市| 九江市| 天祝| 保定市| 佛坪县| 上饶市| 花莲县| 岚皋县| 通许县|