Record Class Intercept
java.lang.Object
java.lang.Record
smile.data.formula.Intercept
- Record Components:
bias- The flag if the model has the intercept.
- All Implemented Interfaces:
Serializable, Term
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbias()Returns the value of thebiasrecord component.bind(StructType schema) Binds the term to a schema.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.Returns the set of variables used in this term.
-
Constructor Details
-
Intercept
public Intercept(boolean bias) Creates an instance of aInterceptrecord class.- Parameters:
bias- the value for thebiasrecord component
-
-
Method Details
-
toString
-
variables
-
bind
-
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 with thecomparemethod from their corresponding wrapper classes. -
bias
-