Sample<N extends num, E, T extends Signal<N, E, T> , S extends Scale<N> > class
abstract
Base class for ANN samples.
- Implementers
Constructors
- Sample.normalized(T input, T output, S scale)
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- input → T
-
Input values.
final
- inputSignalLevel → double
-
The signal level of the input. Used to sort samples.
no setter
- output → T
-
Output values.
final
- outputSignalLevel → double
-
The signal level of the output. Used to sort samples.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → S
-
Scale of sample values.
final
Methods
-
inputProximityStatistics<
P extends Sample< (N, E, T, S> >P other) → DataStatistics< num> -
inputStatistics(
) → DataStatistics< num> -
Returns a DataStatistics of
input.values
. -
normalize(
T signal) → T -
Normalize
signal
using scale. -
normalizeWithScale(
T signal, S scale) → T -
Normalize
signal
usingscale
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
outputProximityStatistics<
P extends Sample< (N, E, T, S> >P other) → DataStatistics< num> -
outputStatistics(
) → DataStatistics< num> -
Returns a DataStatistics of
output.values
. -
proximityStatistics<
P extends Sample< (N, E, T, S> >P other) → DataStatistics< num> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Properties
- REGEXP_IN_OUT_DELIMITER → RegExp
-
final
- REGEXP_VALUE_DELIMITER → RegExp
-
final