Record Class ReproUtil.FeatureDiff
java.lang.Object
java.lang.Record
org.tribuo.reproducibility.ReproUtil.FeatureDiff
- Record Components:
originalFeatures- The unique features from the original model.reproducedFeatures- The unique features from the reproduced model.
-
Constructor Summary
ConstructorsConstructorDescriptionFeatureDiff(Set<String> originalFeatures, Set<String> reproducedFeatures) Creates an instance of aFeatureDiffrecord 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 theoriginalFeaturesrecord component.Returns the value of thereproducedFeaturesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FeatureDiff
Creates an instance of aFeatureDiffrecord class.- Parameters:
originalFeatures- the value for theoriginalFeaturesrecord componentreproducedFeatures- the value for thereproducedFeaturesrecord 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). -
originalFeatures
Returns the value of theoriginalFeaturesrecord component.- Returns:
- the value of the
originalFeaturesrecord component
-
reproducedFeatures
Returns the value of thereproducedFeaturesrecord component.- Returns:
- the value of the
reproducedFeaturesrecord component
-