Object

io.github.edouardfouche.index

Slicing2

Related Doc: package index

Permalink

object Slicing2 extends Slicer[(Int, Float)]

Created by fouchee on 07.07.17.

Linear Supertypes
Slicer[(Int, Float)], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Slicing2
  2. Slicer
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type S = Array[T]

    Permalink
    Definition Classes
    Slicer
  2. type T = Array[(Int, Float)]

    Permalink
    Definition Classes
    Slicer

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. def allSlice(m: S, dimensions: Set[Int], sliceSize: Int): Array[Boolean]

    Permalink
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def getSafeCut(cut: Int, index: S, reference: Int): Int

    Permalink

    Return a "safe cut" in a reference vector, given an original random cut.

    Return a "safe cut" in a reference vector, given an original random cut. A "safe cut" is a cut that do not fall in the middle of a tie. In the case the value has ties, the cut should fall on the first element of the tie, so that no tie will be splitted accross the 2 partitions

    cut

    An index in the reference array

    reference

    The reference array. It is an array of 2-Tuple, first element is the position in the data, the second is the rank

    returns

    An index which is a safe cut (the original cut might be safe already)

  12. def getSafeLowerCut(cut: Int, reference: T): Int

    Permalink
  13. def getSafeUpperCut(cut: Int, reference: T): Int

    Permalink
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def mean(xs: Array[Int]): Float

    Permalink
    Definition Classes
    Slicer
  17. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def randomSlice(m: S, dimensions: Set[Int], referenceDim: Int, sliceSize: Int): Array[Boolean]

    Permalink

    Produce a subspace slice by conditioning on all dimensions, except a reference dimension

    Produce a subspace slice by conditioning on all dimensions, except a reference dimension

    m

    An index structure. Array of 2-D Tuple where the first element in the index, the second the rank

    dimensions

    The set of dimensions of the subspaces

    referenceDim

    The dimension that is considered as reference

    sliceSize

    The size of the slice for each dimensions, determined by alpha

    returns

    Returns an array of booleans. True corresponds to indexes included in the slice.

  21. def restrictedRandomSlice(m: S, dimensions: Set[Int], referenceDim: Int, alpha: Double): Array[Boolean]

    Permalink
  22. def restrictedSafeRandomSlice(m: S, dimensions: Set[Int], referenceDim: Int, alpha: Double): Array[Boolean]

    Permalink
  23. def safeSlice(m: S, dimensions: Set[Int], referenceDim: Int, sliceSize: Int): Array[Boolean]

    Permalink
  24. def simpleSlice(m: S, dimension: Int, sliceSize: Int): S

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

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

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

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

Inherited from Slicer[(Int, Float)]

Inherited from AnyRef

Inherited from Any

Ungrouped