Learn R Programming

nnR (version 0.1.0)

Phi: The Phi function

Description

The Phi function

Usage

Phi(eps)

Value

neural network Phi that approximately squares a number between 0 and 1.

Arguments

eps

parameter for Phi in \((0,\infty)\)

References

Definition 2.23. 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

Examples

Run this code
Phi(0.5) |> view_nn()
Phi(0.1) |> view_nn()

Run the code above in your browser using DataLab