Package org.apache.spark.ml.feature
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 TypeMethodDescriptionCreates a summation term by concatenation of terms.org.apache.spark.ml.feature.Terms
asTerms()
Default representation of a single Term as a part of summed terms.Default interactions of a TermFold by adding deletion terms to the left.
-
Method Details
-
add
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
Default interactions of a Term -
subtract
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)
-