Interface Term

All Known Subinterfaces:
InteractableTerm

public interface Term
R formula terms. See the R formula docs here for more information: http://stat.ethz.ch/R-manual/R-patched/library/stats/html/formula.html
  • Method Summary

    Modifier and Type
    Method
    Description
    add(Term other)
    Creates a summation term by concatenation of terms.
    org.apache.spark.ml.feature.Terms
    Default representation of a single Term as a part of summed terms.
    interact(Term other)
    Default interactions of a Term
    subtract(Term other)
    Fold by adding deletion terms to the left.
  • Method Details

    • add

      Term add(Term other)
      Creates a summation term by concatenation of terms.
    • asTerms

      org.apache.spark.ml.feature.Terms asTerms()
      Default representation of a single Term as a part of summed terms.
    • interact

      Term interact(Term other)
      Default interactions of a Term
    • subtract

      Term subtract(Term other)
      Fold by adding deletion terms to the left. Double negation doesn't cancel deletion in order not to add extra terms, e.g. a - (b - c) = a - Deletion(b) - Deletion(c) = a
      Parameters:
      other - (undocumented)
      Returns:
      (undocumented)