Normalizes a value according to the specified steps, using log norm2 formula.
npm install normalize-value!Last version





> Normalizes a value according to the specified steps, using feature scaling.
``bash`
$ npm install normalize-value --save
`js
const normalizeValue = require('normalize-value')
const normalizedValue = normalizeValue(500, [
{ value: 0, norm: 1 },
{ value: 1000, norm: 0 }
])
console.log(normalizedValue) // => 0.5
``
normalize-value © Kiko Beats, Released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.
> kikobeats.com · GitHub @Kiko Beats · Twitter @Kikobeats