Record Class MissingnessIndicatorAdder.Result
java.lang.Object
java.lang.Record
edu.cmu.tetrad.search.utils.MissingnessIndicatorAdder.Result
- Record Components:
data- The augmented dataset, with knowledge attached if the spec asked for it.indicatorNames- The names of the indicators added, in column order.rates- The missingness rate of every variable in the input, in column order.skipped- Human-readable reasons for variables that did not get an indicator.
- Enclosing class:
MissingnessIndicatorAdder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondata()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theindicatorNamesrecord component.rates()Returns the value of theratesrecord component.skipped()Returns the value of theskippedrecord component.summary()Returns a short summary suitable for a log entry.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Result
public Result(DataSet data, List<String> indicatorNames, Map<String, Double> rates, List<String> skipped) Creates an instance of aResultrecord class.- Parameters:
data- the value for thedatarecord componentindicatorNames- the value for theindicatorNamesrecord componentrates- the value for theratesrecord componentskipped- the value for theskippedrecord component
-
-
Method Details
-
summary
-
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). -
data
-
indicatorNames
Returns the value of theindicatorNamesrecord component.- Returns:
- the value of the
indicatorNamesrecord component
-
rates
-
skipped
-