object ClassifierReal
The ClassifierReal
object provides helper methods.
- Alphabetic
- By Inheritance
- ClassifierReal
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def analyzer(model: ClassifierReal): Unit
Analyze a dataset using the given model using ordinary training with the 'train' method.
Analyze a dataset using the given model using ordinary training with the 'train' method.
- model
the model to be used
- def makeIsCont(size: Int, cont: Int*): Array[Boolean]
Make the 'isCont' flag that indicates which columns are continuous.
Make the 'isCont' flag that indicates which columns are continuous. Ex: makeIsCont (12, 7, 11) // 12 columns with 7 and 11 being continuous
- size
the number of variables/features
- cont
the column indices of the continuous variables/features
- def pullResponse(xy: MatriD, col: Int = -1): (MatriD, VectoI)
Pull out the designed response column from the combined matrix.
Pull out the designed response column from the combined matrix. When 'col' is negative or the last column, slice out the last column.
- xy
the combined data and response/classification matrix
- col
the designated response column to be pulled out