Class Delete

java.lang.Object
smile.data.formula.Delete
All Implemented Interfaces:
Serializable, Term

public class Delete extends Object implements Term
Remove a factor from the formula.
See Also:
  • Constructor Details

    • Delete

      public Delete(Term x)
      Constructor.
      Parameters:
      x - the term to delete.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • bind

      public List<Feature> bind(StructType schema)
      Description copied from interface: Term
      Binds the term to a schema.
      Specified by:
      bind in interface Term
      Parameters:
      schema - the schema to bind the term with.
      Returns:
      the feature list.
    • variables

      public Set<String> variables()
      Description copied from interface: Term
      Returns the set of variables used in this term.
      Specified by:
      variables in interface Term
      Returns:
      the set of variables used in this term.
    • expand

      public List<Term> expand()
      Description copied from interface: Term
      Expands the term (e.g. FactorCrossing).
      Specified by:
      expand in interface Term
      Returns:
      the expanded terms.