BestStep
The BestStep is used to record the best improvement step found so far during feature selection. Note, best depends on whether maximizing or minimizing
Value parameters
- bestq
-
the best QoF for metric qk so far
- col
-
the column/variable to ADD/REMOVE for this step
- mod
-
the model including selected features/variables for this step
- mod_cols
-
the columns selected for mod
- qk
-
the index for the Quality of Fit (QoF) measure/metric used for comparison
- qof
-
the Quality of Fit (QoF) for this step
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Return the better between this and candidate step.
Return the better between this and candidate step.
Value parameters
- cand
-
the new candidate
Attributes
Return the better between this and the to be formed candidate step.
Return the better between this and the to be formed candidate step.
Value parameters
- j
-
the index of the feature/variable
- mod_cols
-
the columns selected for mod_j
- mod_j
-
the model with j
- qof_j
-
the QoF for mod_j
Attributes
Return the comparison result between this and that step.
Return the comparison result between this and that step.
Value parameters
- that
-
the other candidate
Attributes
Return whether this step is better than or equal to that step.
Return whether this step is better than or equal to that step.
Value parameters
- that_qof
-
the QoF for that step
Attributes
Return whether this step is better than that step.
Return whether this step is better than that step.
Value parameters
- that_qof
-
the Qof for that step
Attributes
Inherited methods
Returns true if this is less than that
Returns true if this is less than that
Attributes
- Inherited from:
- Ordered
Returns true if this is less than or equal to that.
Returns true if this is less than or equal to that.
Attributes
- Inherited from:
- Ordered
Returns true if this is greater than that.
Returns true if this is greater than that.
Attributes
- Inherited from:
- Ordered
Returns true if this is greater than or equal to that.
Returns true if this is greater than or equal to that.
Attributes
- Inherited from:
- Ordered
Result of comparing this with operand that.
Result of comparing this with operand that.
Attributes
- Inherited from:
- Ordered
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product