package util
Utility functions.
- Alphabetic
- By Inheritance
- util
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- lazy val logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
- def pdist(data: Array[Array[Double]], half: Boolean = true): Array[Array[Double]]
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.
- def proximity[T](data: Array[T], dist: Distance[T], half: Boolean = true): Array[Array[Double]]
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.
- implicit def toJavaBiFunction[T, U, R](f: (T, U) => R): BiFunction[T, U, R]
Wraps Scala lambda as Java's.
- implicit def toJavaFunction[T, R](f: (T) => R): Function[T, R]
Wraps Scala lambda as Java's.
- object time
Measure running time of a function/block
Smile (Statistical Machine Intelligence and Learning Engine) is a fast and comprehensive machine learning, NLP, linear algebra, graph, interpolation, and visualization system in Java and Scala. With advanced data structures and algorithms, Smile delivers state-of-art performance.
Smile covers every aspect of machine learning, including classification, regression, clustering, association rule mining, feature selection, manifold learning, multidimensional scaling, genetic algorithms, missing value imputation, efficient nearest neighbor search, etc.