class SerializableKDTree[E <: TreeData] extends NearestNeighbourSearch[Array[Float], E] with KNNSearch[Array[Float], E] with RNNSearch[Array[Float], E] with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SerializableKDTree
- Serializable
- RNNSearch
- KNNSearch
- NearestNeighbourSearch
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
concat(first: Array[E], second: Array[E], blackList: Set[Integer]): Array[TreeData]
- Attributes
- protected[search]
-
def
concat(first: Array[Array[Float]], second: Array[Array[Float]], blackList: Set[Integer]): Array[Array[Float]]
- Attributes
- protected[search]
- def continueTraining(newKeys: Array[Array[Float]], newData: Array[E], blackList: Set[String], overwrite: Boolean): SerializableKDTree[E]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isIdenticalExcluded(): Boolean
Get whether if query object self be excluded from the neighborhood.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
knn(q: Array[Float], k: Int): Array[Neighbour[Array[Float], E]]
- Definition Classes
- SerializableKDTree → KNNSearch
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nearest(q: Array[Float]): Neighbour[Array[Float], E]
Search the nearest neighbor to the given sample.
Search the nearest neighbor to the given sample.
- q
the query key.
- returns
the nearest neighbor
- Definition Classes
- SerializableKDTree → NearestNeighbourSearch
- Annotations
- @Override()
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
range(q: Array[Float], radius: Double, neighbors: List[Neighbour[Array[Float], E]]): Unit
Search the neighbors in the given radius of query object, i.e.
Search the neighbors in the given radius of query object, i.e. d(q, v) ≤ radius.
- q
the query key.
- radius
the radius of search range from target.
- neighbors
the list to store found neighbors in the given range on output.
- Definition Classes
- SerializableKDTree → RNNSearch
- Annotations
- @Override()
-
def
setDistanceFunction(dist: String): SerializableKDTree[E]
Set distanceFunction either to "EUCLIDEAN" or "COSINE".
-
def
setIdenticalExcluded(excluded: Boolean): SerializableKDTree[E]
Set if exclude query object self from the neighborhood.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- SerializableKDTree → AnyRef → Any
- Annotations
- @Override()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()