Packages

case class FeatureMatrix[T](features: Vector[Vector[Option[T]]]) extends LogSupport with Product with Serializable

Two-dimensional matrix of features, organized by row.

features

Matrix of related features, as Scala Options.

Linear Supertypes
Product, Equals, LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FeatureMatrix
  2. Product
  3. Equals
  4. LogSupport
  5. LazyLogger
  6. LoggingMethods
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FeatureMatrix(features: Vector[Vector[Option[T]]])

    features

    Matrix of related features, as Scala Options.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cell(r: Int, c: Int): Option[T]

    Retrieve value of matrix identified by row, column indices.

    Retrieve value of matrix identified by row, column indices.

    r

    Row index.

    c

    Column index.

  6. def cellIndex(cellValue: Option[T]): Vector[IndexedValue[T]]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. val columnCounts: Vector[Int]
  9. def columns: Int

    Number of columns in the FeatureMatrix.

  10. macro def debug(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  11. macro def debug(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  12. def delimited(emptyValue: String = "-", separator: String = "|"): String

    Compose a delimited-text representation of the matrix.

    Compose a delimited-text representation of the matrix.

    emptyValue

    String to use for None values.

    separator

    String to use in separating columns of the delimited-text output.

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. macro def error(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  15. macro def error(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  16. val features: Vector[Vector[Option[T]]]
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. lazy val indexedCells: Vector[IndexedValue[T]]
  19. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  20. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def labelColumns(labels: Vector[String], emptyValue: String = "-"): Vector[Vector[String]]

    Compose text table with columns labelled.

    Compose text table with columns labelled.

    labels

    List of labels to use.

    emptyValue

    String to represent None.

  23. def labelRows(labels: Vector[String], emptyValue: String = "-"): Vector[Vector[String]]

    Compose text table with rows labelled.

    Compose text table with rows labelled.

    labels

    List of labels to use.

    emptyValue

    String to represent None.

  24. macro def logAt(logLevel: LogLevel, message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  25. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  26. def markdown(rowLabels: Vector[String] = Vector.empty[String], emptyValue: String = "-"): String

    Create a markdown table.

    Create a markdown table.

    rowLabels

    List of labels to use for rows.

    emptyValue

    String to use for None.

  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def prettyPrint(emptyValue: String = "-", featureSeparator: String = " ", rowLabels: Vector[String] = Vector.empty[String], columnLabels: Vector[String] = Vector.empty[String]): String

    Generate String view of matrix.

    Generate String view of matrix.

    featureSeparator

    String to use to separate columns.

    rowLabels

    List of labels for rows.

    columnLabels

    List of labels for columns.

  31. def rows: Int

    Number of rows in the FeatureMatrix.

  32. def stringTable(emptyValue: String = "-"): Vector[Vector[String]]

    Compose a table of String values from features.

    Compose a table of String values from features.

    emptyValue

    String to use for occurrences of None.

  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  35. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  36. def transpose: FeatureMatrix[T]

    Create a new FeatureMatrix by transposing rows and columns.

  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  41. macro def warn(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped