Record Class Sampling.Result<T>
java.lang.Object
java.lang.Record
io.jenetics.prog.regression.Sampling.Result<T>
- Type Parameters:
T- the sample result type
This class represents the result of a sample calculation, which contains
the array of calculated values and a corresponding array with expected
sample values. This two arrays can then be used for calculating the
error between modeled regression function and actual sample values.
- Since:
- 6.0
- Version:
- 7.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionT[]Returns the value of thecalculatedrecord component.final booleanIndicates whether some other object is "equal to" this one.T[]expected()Returns the value of theexpectedrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Result
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
calculated
Returns the value of thecalculatedrecord component.- Returns:
- the value of the
calculatedrecord component
-
expected
-