- Machine Learning for Finance
- Jannes Klaas
- 245字
- 2021-06-11 13:26:17
A forward pass
Over the course of this book, we will build powerful neural networks that are able to approximate extremely complex functions. We will be mapping text to named entities, images to their content, and even news articles to their summaries. But for now, we will work with a simple problem that can be solved with logistic regression, a popular technique used in both economics and finance.
We will be working with a simple problem. Given an input matrix, X, we want to output the first column of the matrix, X1. In this example, we will be approaching the problem from a mathematical perspective in order to gain some intuition for what is going on.
Later on in this chapter, we will implement what we have described in Python. We already know that we need data to train a neural network, and so the data, seen here, will be our dataset for the exercise:

In the dataset, each row contains an input vector, X, and an output, y.
The data follows the formula:

The function we want to approximate is as follows:

In this case, writing down the function is relatively straightforward. However, keep in mind that in most cases it is not possible to write down the function, as functions expressed by deep neural networks can become very complex.
For this simple function, a shallow neural network with only one layer will be enough. Such shallow networks are also called logistic regressors.
- 深入理解Spring Cloud與實戰(zhàn)
- Raspberry Pi 3 Cookbook for Python Programmers
- 電腦軟硬件維修大全(實例精華版)
- 電腦維護與故障排除傻瓜書(Windows 10適用)
- INSTANT Wijmo Widgets How-to
- 精選單片機設計與制作30例(第2版)
- 從零開始學51單片機C語言
- 嵌入式系統(tǒng)中的模擬電路設計
- Mastering Adobe Photoshop Elements
- SiFive 經典RISC-V FE310微控制器原理與實踐
- 電腦高級維修及故障排除實戰(zhàn)
- 基于Proteus仿真的51單片機應用
- 單片機技術及應用
- Istio服務網格技術解析與實踐
- Spring Cloud微服務和分布式系統(tǒng)實踐