un_normalize | R Documentation |

Internal function for going back to the original scale.

un_normalize(z,base,spread)

`z` |
a vector or matrix with values normalized between -1 and 1, this vector was obtained when normalizing a vector or matrix x. |

`base` |
If z is a vector, base is the minimum of x. If x is a matrix, base is a vector with the minimum for each of the columns of the matrix x. |

`spread` |
if z is a vector, spread=base-max(x). If x is a matrix, spread is a vector calculated for each of the columns of x. |

x=base+0.5*spread*(z+1)

A vector or matrix with the resulting un normalized values.

brnn documentation built on May 17, 2022, 1:05 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.