org.apache.mahout.math.drm

DrmLikeOps

class DrmLikeOps[K] extends AnyRef

Common Drm ops

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DrmLikeOps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DrmLikeOps(drm: DrmLike[K])(implicit arg0: ClassTag[K])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(rowRange: Range, colRange: Range): DrmLike[K]

    Slicing the DRM.

    Slicing the DRM. Should eventually work just like in-core drm (e.g. A(0 until 5, 5 until 15)).<P>

    The all-range is denoted by '::', e.g.: A(::, 0 until 5).<P>

    Row range is currently unsupported except for the all-range. When it will be fully supported, the input must be Int-keyed, i.e. of DrmLike[Int] type for non-all-range specifications.

    rowRange

    Row range. This must be '::' (all-range) unless matrix rows are keyed by Int key.

    colRange

    col range. Must be a sub-range of 0 until ncol. '::' denotes all-range.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val drm: DrmLike[K]

    Attributes
    protected[org.apache.mahout.math.drm]
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

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

    Definition Classes
    Any
  16. def mapBlock[R](ncol: Int = 1, identicallyPartitioned: Boolean = true)(bmf: ((Array[K], Matrix)) ⇒ (Array[R], Matrix))(implicit arg0: ClassTag[R]): DrmLike[R]

    Map matrix block-wise vertically.

    Map matrix block-wise vertically. Blocks of the new matrix can be modified original block matrices; or they could be completely new matrices with new keyset. In the latter case, output matrix width must be specified with ncol parameter.<P>

    New block heights must be of the same height as the original geometry.<P>

    R
    ncol

    new matrix' width (only needed if width changes).

    bmf
    returns

  17. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  20. def par(min: Int = 1, exact: Int = 1, auto: Boolean = false): OpPar[K]

    Parallelism adjustments.

    Parallelism adjustments. <P/>

    Change only one of parameters from default value to choose new parallelism adjustment strategy. <P/>

    E.g. use

      drmA.par(auto = true)
    
    to use automatic parallelism adjustment. <P/>

    Parallelism here in API is fairly abstract concept, and actual value interpretation is left for a particular backend strategy. However, it is usually equivalent to number of map tasks or data splits. <P/>

    min

    If changed from default, ensures the product has at least that much parallelism.

    exact

    if changed from default, ensures the pipeline product has exactly that much parallelism.

    auto

    If changed from default, engine-specific automatic parallelism adjustment strategy is applied.

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

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    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( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped