Package smile.data.formula
Interface Term
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Abs
,AbstractBiFunction
,AbstractFunction
,Add
,Constant
,Date
,Delete
,Div
,Dot
,DoubleFunction
,FactorCrossing
,FactorInteraction
,Intercept
,IntFunction
,Mul
,Operator
,Round
,Sub
,Variable
An abstract term in the formula. A term is recursively constructed
from constant symbols, variables and function symbols. A formula
consists of a series of terms. To be concise, we also allow
HyperTerms that can be expanded to multiple simple terms.
-
Method Summary
-
Method Details
-
bind
Binds the term to a schema.- Parameters:
schema
- the schema to bind the term with.- Returns:
- the feature list.
-
variables
Returns the set of variables used in this term.- Returns:
- the set of variables used in this term.
-
expand
Expands the term (e.g. FactorCrossing).- Returns:
- the expanded terms.
-