is_nn | R Documentation |
Function to create a list of lists for neural network layers
is_nn(nn)
nn |
A neural network. Neural networks are defined to be an ordered
list of ordered pairs of |
TRUE or FALSE on whether nn is indeed a neural network as defined above.
We will use the definition of neural networks as found in:
Definition 2.1 in Rafi S., Padgett, J.L., Nakarmi, U. (2024) Towards an Algebraic Framework For Approximating Functions Using Neural Network Polynomials https://arxiv.org/abs/2402.01058
Which in turn is a modified version of the one found in:
Definition 2.3. Grohs, P., Hornung, F., Jentzen, A. et al. Space-time error estimates for deep neural network approximations for differential equations. (2019). https://arxiv.org/abs/1908.03833.
create_nn(c(5, 6, 7)) |> is_nn()
Sqr(2.1, 0.1) |> is_nn()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.