Tay | R Documentation |
The Tay function
Tay(f, n, q, eps)
f |
the function to be Taylor approximated, for now "exp", "sin" and "cos". NOTE use the quotation marks when using this argument. |
n |
The number of Taylor iterations. Accuracy as well as computation
time increases as |
q |
a real number in |
eps |
a real number in |
a neural network that approximates the function f. For now only
sin
, cos
, and e^x
are available.
Tay("sin", 2, 2.3, 0.3) |> inst(ReLU, 1.5) # May take some time, please only click once
Tay("cos", 2, 2.3, 0.3) |> inst(ReLU, 1) # May take some time, please only click once
Tay("exp", 4, 2.3, 0.3) |> inst(ReLU, 1.5) # May take some time, please only click once
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.