com.cra.figaro.algorithm.decision

index

package index

Visibility
  1. Public
  2. All

Type Members

  1. trait Distance[T] extends AnyRef

    Trait Distance

  2. class FlatIndex[T, U] extends Index[T, U]

    FlatIndex class implements a nearest neighbor index that simply computes the distance between the query and all the stored samples, and returns the k nearest values using a simple sort.

  3. trait INode[T, U] extends Node[T, U]

    Convenience trait for internal node of a tree

  4. abstract class Index[T, U] extends AnyRef

    Abstract base class for indices used to retrieve nearest neighbors in an approximate decision strategy.

  5. trait L2Norm extends AnyRef

    Trait to compute the L-2 Norm

  6. trait LNode[T, U] extends Node[T, U]

    Convenience trait for leaf node of a tree

  7. abstract class Node[T, U] extends AnyRef

    Helper class to create indices.

  8. abstract class TupleDistance extends AnyRef

    Abstract class to define the distance between tuples of classes that implement the Distance[T] trait

  9. case class TupleDistance2[T1, T2](value: (T1, T2))(implicit evidence$1: (T1) ⇒ Distance[T1], evidence$2: (T2) ⇒ Distance[T2]) extends TupleDistance with Distance[(T1, T2)] with L2Norm with Product with Serializable

    TupleDistance2 defines the distance between tuples of two values (not necessarily of the same class).

  10. class VPIndex[T, U] extends Index[T, U]

    A VP index to compute nearest neighbor queries.

Value Members

  1. object Distance

    Contains implicit conversions from Int, Double and Boolean to classes that extend the Distance[T] trait, as well as 2-tuples of Int, Double and Boolean.

  2. object FlatIndex

  3. object VPIndex

Ungrouped