- R Deep Learning Essentials
- Mark Hodnett Joshua F. Wiley
- 256字
- 2021-08-13 15:34:32
Back to deep learning
Many of the concepts in the previous section apply to deep learning because deep learning is simply neural networks with two or more hidden layers. To demonstrate this, let's look at the following code in R that loads the mxnet deep learning library and calls the help command on the function in that library that trains a deep learning model. Even though we have not trained any models using this library yet, we have already seen many of the parameters in this function:
library(mxnet)
?mx.model.FeedForward.create
This brings up the help page for the FeedForward function in the mxnet library, which is the forward-propagation/model train function. mxnet and most deep learning libraries do not have a specific backward-propagation function, they handle this implicitly:
mx.model.FeedForward.create(symbol, X, y = NULL, ctx = NULL,
begin.round = 1, num.round = 10, optimizer = "sgd",
initializer = mx.init.uniform(0.01), eval.data = NULL,
eval.metric = NULL, epoch.end.callback = NULL,
batch.end.callback = NULL, array.batch.size = 128
...)
We will see more of this function in subsequent chapters; for now we will just look at the parameters.
- 觸摸屏實用技術與工程應用
- Linux KVM虛擬化架構實戰指南
- 電腦常見問題與故障排除
- Deep Learning with PyTorch
- Linux運維之道(第2版)
- Getting Started with Qt 5
- Learning Stencyl 3.x Game Development Beginner's Guide
- Svelte 3 Up and Running
- 計算機組裝維修與外設配置(高等職業院校教改示范教材·計算機系列)
- 單片機系統設計與開發教程
- 深入理解序列化與反序列化
- FPGA實驗實訓教程
- 計算機組裝與維護(慕課版)
- 從企業級開發到云原生微服務:Spring Boot實戰
- 多媒體應用技術(第2版)