Class

org.clustering4ever.scala.umap

EuclideanRPSplit

Related Doc: package umap

Permalink

final case class EuclideanRPSplit(data: Array[Array[Double]], indices: ArrayBuffer[Int], rngState: Array[Long] = Array(2, 1, 1)) extends RPSplit with Product with Serializable

Given a set of indices for data points from data, create a random hyperplane to split the data, returning two arrays indices that fall on either side of the hyperplane. This is the basis for a random projection tree, which simply uses this splitting recursively. This particular split uses euclidean distance to determine the hyperplane and which side each data sample falls on.

data

The original data to be split

indices

The indices of the elements in the data array that are to be split in the current operation.

Linear Supertypes
Product, Equals, RPSplit, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EuclideanRPSplit
  2. Product
  3. Equals
  4. RPSplit
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EuclideanRPSplit(data: Array[Array[Double]], indices: ArrayBuffer[Int], rngState: Array[Long] = Array(2, 1, 1))

    Permalink

    data

    The original data to be split

    indices

    The indices of the elements in the data array that are to be split in the current operation.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. val data: Array[Array[Double]]

    Permalink

    The original data to be split

    The original data to be split

    Definition Classes
    EuclideanRPSplitRPSplit
  7. def describe(): Unit

    Permalink
    Definition Classes
    EuclideanRPSplitRPSplit
  8. final val dim: Int

    Permalink
    Definition Classes
    RPSplit
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. val hyperplane: DenseVector[Double]

    Permalink
    Definition Classes
    RPSplit
  12. val indices: ArrayBuffer[Int]

    Permalink

    The indices of the elements in the data array that are to be split in the current operation.

    The indices of the elements in the data array that are to be split in the current operation.

    Definition Classes
    EuclideanRPSplitRPSplit
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val leftIndices: ArrayBuffer[Int]

    Permalink
    Definition Classes
    RPSplit
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. var offset: Double

    Permalink
  19. val rand: Random

    Permalink
    Definition Classes
    RPSplit
  20. val rightIndices: ArrayBuffer[Int]

    Permalink
    Definition Classes
    RPSplit
  21. val rngState: Array[Long]

    Permalink
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from RPSplit

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped