abishekrsrikaanth/normalize-value

Normalizes a value according to the specified steps, using feature scaling.

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/abishekrsrikaanth/normalize-value

1.0 2018-04-01 06:31 UTC

This package is auto-updated.

Last update: 2025-09-14 08:25:40 UTC


README

Last version Donate

Normalizes a value according to the specified steps, using feature scaling.

Install

$ composer require abishekrsrikaanth/normalize-value

Usage

$normalizedValue = normalize_value(500, [
        ["value" => 0, "norm" => 1],
        ["value" => 1000, "norm" => 0]
    ]);

echo $normalizedValue; //0.5

License

normalize-value © Technicaliti, Released under the MIT License.