Xplain.Db.Variable
- Xplain.Db.Variable()
This class represents a Variable used in a Predictive Model. Provides methods to get data from the Variable.
getName
- getName()
Returns the name of this variable.
- Returns
{string} the name of this variable
getRawData
- getRawData()
Returns this variable’s data as it has been returned by the backend, i.e. “raw”.
- Returns
{Object} This variable’s data as it has been returned by the backend
getSession
- getSession()
Returns the session to which this variable belongs.
- Returns
{Xplain.Db.Session} the session to which this variable belongs.
getVariableGroup
- getVariableGroup()
Returns the variable group to which this variable belongs.
- Returns
{Xplain.Db.VariableGroup} the variableGroup to which this variable belongs or
false
.