Packages

object ClassifierReal

The ClassifierReal object provides helper methods.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClassifierReal
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. 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

  2. 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

  3. 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