Bånder

MinMaxNorm
in package

Table of Contents

Properties

$max  : float|int|null
$min  : float|int|null
$values  : array<string|int, mixed>

Methods

__construct()  : mixed
calculate()  : mixed
normalizeFeatures()  : array<string|int, mixed>

Properties

$max read-only

private float|int|null $max = null

$min read-only

private float|int|null $min = null

$values read-only

private array<string|int, mixed> $values

Methods

__construct()

public __construct(array<string|int, mixed> $values[, float|int|null $min = null ][, float|int|null $max = null ]) : mixed
Parameters
$values : array<string|int, mixed>
$min : float|int|null = null
$max : float|int|null = null

normalizeFeatures()

public static normalizeFeatures(array<string|int, mixed> $featureSets) : array<string|int, mixed>
Parameters
$featureSets : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results