Skip to content

AvraamMavridis/mean-normalization

Repository files navigation

mean-normalization

npm version Greenkeeper badge Build Status

where x is an original value, x' is the normalized value.

import meanNormalize from 'meanNormalize';

meanNormalize(5, [1,2,3,4,5]); // 0.5
meanNormalize(1, [1,2,3,4,5]); // -0.5

About

Simple module to normalize a value of an array based on the avg of it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published