Package

smile

util

Permalink

package util

Utility functions.

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

Value Members

  1. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  2. def pdist(data: Array[Array[Double]], half: Boolean = true): Array[Array[Double]]

    Permalink

    Returns the pairwise Euclidean distance matrix.

    Returns the pairwise Euclidean distance matrix.

    data

    the data set.

    half

    if true, only the lower half of matrix is allocated to save space.

    returns

    the lower half of proximity matrix.

  3. def proximity[T](data: Array[T], dist: Distance[T], half: Boolean = true): Array[Array[Double]]

    Permalink

    Returns the proximity matrix of a dataset for given distance function.

    Returns the proximity matrix of a dataset for given distance function.

    data

    the data set.

    dist

    the distance function.

    half

    if true, only the lower half of matrix is allocated to save space.

    returns

    the lower half of proximity matrix.

  4. object time

    Permalink

    Measure running time of a function/block

  5. implicit def toJavaBiFunction[T, U, R](f: (T, U) ⇒ R): BiFunction[T, U, R]

    Permalink

    Wraps Scala lambda as Java's.

  6. implicit def toJavaFunction[T, R](f: (T) ⇒ R): Function[T, R]

    Permalink

    Wraps Scala lambda as Java's.

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped