Packages

c

com.johnsnowlabs.ml.search

SerializableKDTree

class SerializableKDTree[E] extends NearestNeighborSearch[Array[Float], E] with KNNSearch[Array[Float], E] with RNNSearch[Array[Float], E] with Serializable

Linear Supertypes
Serializable, RNNSearch[Array[Float], E], KNNSearch[Array[Float], E], NearestNeighborSearch[Array[Float], E], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SerializableKDTree
  2. Serializable
  3. RNNSearch
  4. KNNSearch
  5. NearestNeighborSearch
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SerializableKDTree(key: Array[Array[Float]], data: Array[E])

    Constructor.

    Constructor.

    key

    the keys of data objects.

    data

    the data objects.

  2. new SerializableKDTree()

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def isIdenticalExcluded(): Boolean

    Get whether if query object self be excluded from the neighborhood.

  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def knn(q: Array[Float], k: Int): Array[Neighbor[Array[Float], E]]
    Definition Classes
    SerializableKDTree → KNNSearch
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def nearest(q: Array[Float]): Neighbor[Array[Float], E]
    Definition Classes
    SerializableKDTree → NearestNeighborSearch
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def range(q: Array[Float], radius: Double, neighbors: List[Neighbor[Array[Float], E]]): Unit
    Definition Classes
    SerializableKDTree → RNNSearch
  19. def setDistanceFunction(dist: String): SerializableKDTree[E]

    Set distanceFunction either to "EUCLIDEAN" or "COSINE".

  20. def setIdenticalExcluded(excluded: Boolean): SerializableKDTree[E]

    Set if exclude query object self from the neighborhood.

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    SerializableKDTree → AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from RNNSearch[Array[Float], E]

Inherited from KNNSearch[Array[Float], E]

Inherited from NearestNeighborSearch[Array[Float], E]

Inherited from AnyRef

Inherited from Any

Ungrouped