- Machine Learning Solutions
- Jalaj Thanaki
- 254字
- 2021-08-27 18:53:56
Exploring problems with the existing approach
In this section, we will be discussing the problems of the existing approach. There are mainly three errors we could have possibly committed, which are listed as follows:
- Alignment
- Smoothing
- Trying a different ML algorithm
Let's discuss each of the points one by one.
Alignment
As we have seen in the graph, our actual price and predicted prices are not aligned with each other. This becomes a problem. We need to perform alignment on the price of the stocks. We need to consider the average value of our dataset, and based on that, we will generate the alignment. You can understand more about alignment in upcoming section called Alignment-based approach.
Smoothing
The second problem I feel we have with our first model is that we haven't applied any smoothing techniques. So for our model, we need to apply smoothing techniques as well. We will be using the Exponentially Weighted Moving Average (EWMA) technique for smoothing. This technique is used to adjust the variance of the dataset.
Trying a different ML algorithm
For our model, we have used the RandomForestRegressor
algorithm. But what if we try the same thing with our model using a different algorithm, say Logistic Regression? In the next section, you will learn how to implement this algorithm—after applying the necessary alignment and smoothing, of course.
We have seen the possible problems with our first baseline approach. Now, we will try to understand the approach for implementing the alignment, smoothing, and Logistic Regression
algorithms.
- 觸摸屏實用技術與工程應用
- Instant uTorrent
- Python GUI Programming:A Complete Reference Guide
- Creating Dynamic UI with Android Fragments
- 辦公通信設備維修
- 嵌入式系統中的模擬電路設計
- 單片機系統設計與開發教程
- Internet of Things Projects with ESP32
- Istio服務網格技術解析與實踐
- IP網絡視頻傳輸:技術、標準和應用
- Building Machine Learning Systems with Python
- Angular 6 by Example
- 微控制器的應用
- USB應用開發寶典
- Deep Learning with Keras