slm {nnR} | R Documentation |
slm
Description
The function that returns the left scalar multiplication neural network
Usage
slm(a, nu)
a %slm% nu
Arguments
a |
A real number. |
nu |
A neural network of the type generated by create_nn(). |
Value
Returns a neural network that is . This
instantiates as
under continuous function activation. More specifically
we define operation as:
Let . We will denote by
the function satisfying for all
and
that
.
References
Definition 2.3.4. Jentzen, A., Kuckuck, B., and von Wurstemberger, P. (2023). Mathematical introduction to deep learning: Methods, implementations, and theory. https://arxiv.org/abs/2310.20360.
Note: We will have two versions of this operation, a prefix and an infix version.
Examples
5 |> slm(Prd(2.1, 0.1))
Prd(2.1, 0.1) |> srm(5)
[Package nnR version 0.1.0 Index]