LogNormalization class
Logarithmic normalization: log(value + 1) / scale, clamped to 0, 1.
- Inheritance
-
- Object
- NormalizationConfig
- LogNormalization
Constructors
- LogNormalization({double scale = 5.0})
-
const
-
LogNormalization.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
normalize(
double value) → double -
Normalize a raw value.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Convert to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited