Object

com.alpine.util

FeatureUtil

Related Doc: package util

Permalink

object FeatureUtil

This class is a utility for defining features, in particular the output features of models.

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val CONF: String

    Permalink
  5. val DIST: String

    Permalink
  6. val INFO: String

    Permalink
  7. val PRED: String

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def categoricalModelSQLOutputFeatures(detailPrefix: String, classLabels: Seq[String]): Seq[ColumnDef]

    Permalink
  10. val classificationOutputFeatures: Seq[ColumnDef]

    Permalink
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val clusteringOutputFeatures: Seq[ColumnDef]

    Permalink
  13. def deDuplicate(columns: Seq[ColumnDef]): Seq[ColumnDef]

    Permalink

    Adds integer suffices to column names, to makes sure none are duplicated in the list.

    Adds integer suffices to column names, to makes sure none are duplicated in the list. The returned Seq of will be same length and have column types in the same order as the original, but column names may be changed.

    columns

    Seq of column definitions, which may contain duplicate names.

    returns

    New Seq of column definitions with non-duplicate names.

  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. val regressionOutputFeatures: Seq[ColumnDef]

    Permalink
  24. def sanitizeStringForColumnName(s: String, maxLength: Option[Int] = None): String

    Permalink

    Cleans up a string to make it suitable as a column name.

    Cleans up a string to make it suitable as a column name. These names are used in Pig / SQL scripts, so they need to satisfy some constraints.

    Cleaning includes: Strips accents; replacing non-alphanumeric characters with "_"; prefixing with an "_" if the string starts with a digit; truncating characters beyond the maximum length (optional).

    s

    String to be sanitized.

    maxLength

    Optional, length to truncate the string at.

    returns

    Processed string suitable for use as a column name.

  25. val simpleModelOutputFeatures: Seq[ColumnDef]

    Permalink
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped