Record Class ReproUtil.OutputDiff<T extends Output<T>>
java.lang.Object
java.lang.Record
org.tribuo.reproducibility.ReproUtil.OutputDiff<T>
- Type Parameters:
T- The type of the output.- Record Components:
originalOutput- The unique output dimensions from the original model.reproducedOutput- The unique output dimensions from the reproduced model.
-
Constructor Summary
ConstructorsConstructorDescriptionOutputDiff(Set<T> originalOutput, Set<T> reproducedOutput) Creates an instance of aOutputDiffrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theoriginalOutputrecord component.Returns the value of thereproducedOutputrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OutputDiff
Creates an instance of aOutputDiffrecord class.- Parameters:
originalOutput- the value for theoriginalOutputrecord componentreproducedOutput- the value for thereproducedOutputrecord component
-
-
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). -
originalOutput
Returns the value of theoriginalOutputrecord component.- Returns:
- the value of the
originalOutputrecord component
-
reproducedOutput
Returns the value of thereproducedOutputrecord component.- Returns:
- the value of the
reproducedOutputrecord component
-