def min_max

mlbend-preprocess@0.1.0.0 · main.bend:235

import mlbend-preprocess@0.1.0.0/main.bend as MlbendPreprocess
import Base
import bend-ml-tensor@0.1.0.0/main.bend as T

235# The min-max scaler: every column mapped onto [0, 1].
236def min_max(+r: Nat, +c: Nat, +a: T.Mat<r, c>) -> T.Mat<r, c>:
237  mat_of(r, c, scaled(r, c, a, bounds_of(r, c, a)))

Uses (5)

Used by (0)

No other definition uses this definition.