Record Class CsvDataLoader.RegressionData
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.problems.grammar.CsvDataLoader.RegressionData
- Enclosing class:
CsvDataLoader
public static record CsvDataLoader.RegressionData(List<CsvDataLoader.RegressionData.Row> rows, List<String> featureOrder)
extends Record
Regression dataset rows and feature order.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordOne regression row. -
Constructor Summary
ConstructorsConstructorDescriptionRegressionData(List<CsvDataLoader.RegressionData.Row> rows, List<String> featureOrder) Creates an instance of aRegressionDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefeatureOrderrecord component.final inthashCode()Returns a hash code value for this object.rows()Returns the value of therowsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RegressionData
Creates an instance of aRegressionDatarecord class.- Parameters:
rows- the value for therowsrecord componentfeatureOrder- the value for thefeatureOrderrecord 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). -
rows
Returns the value of therowsrecord component.- Returns:
- the value of the
rowsrecord component
-
featureOrder
-