com.alpine.util

FeatureUtil

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val CONF: String

  7. val DIST: String

  8. val INFO: String

  9. val PRED: String

  10. final def asInstanceOf[T0]: T0

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

  12. val classificationOutputFeatures: Seq[ColumnDef]

  13. def clone(): AnyRef

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

  15. def deDuplicate(columns: Seq[ColumnDef]): Seq[ColumnDef]

    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.

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. val regressionOutputFeatures: Seq[ColumnDef]

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

    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.

  27. val simpleModelOutputFeatures: Seq[ColumnDef]

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

    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped