SamplesSet<P extends Sample<num, dynamic, dynamic, Scale<num>>> class

Samples Set.

Constructors

SamplesSet(List<P> samples, {String subject = '', double inputTolerance = 0.01, double outputTolerance = 0.01})

Properties

defaultTargetGlobalError double
The computed default target Global Error.
no setter
first → P
Returns the first samle.
no setter
hashCode int
The hash code for this object.
no setterinherited
inputGroups int
The number of input patterns/groups.
no setter
inputLength int
Input length.
no setter
inputTolerance double
The input tolerance. Used to compute inputGroups.
final
length int
no setter
outputGroups int
The number of output patterns/groups.
no setter
outputLength int
Output length.
no setter
outputTolerance double
The output tolerance. Used to compute outputGroups.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samples List<P>
final
subject String
The subject/title of this samples set.
final
targetGlobalError double
getter/setter pair

Methods

computeConflicts({double? inputTolerance, double? outputTolerance}) List<Map<int, List<P>>>
Compute all samples with conflicts.
computeConflictsToRemove({double? inputTolerance, double? outputTolerance}) List<P>
Computs samples with conflicts that should be removed.
inputsSignalLevels([List<P>? samples]) Map<P, double>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
outputsSignalLevels([List<P>? samples]) Map<P, double>
removeConflicts({double? inputTolerance, double? outputTolerance}) List<P>
Removes samples with conflict (similar inputs with different output group).
samplesCopy() List<P>
samplesGroupsIndexes(List<Set<P>> groups) Map<P, int>
samplesInputsGroups({double? tolerance}) List<Set<P>>
Computes the samples inputs groups.
samplesOutputsGroups({double? tolerance}) List<Set<P>>
Computes the samples outputs groups.
samplesSimilarityGroups(double proximity(P s1, P s2), {double? tolerance, List<P>? samples}) List<Set<P>>
samplesSortedByInput() List<P>
samplesSortedByOutput() List<P>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int index) → P