keystoneml.nodes.learning

BlockKernelMatrix

class BlockKernelMatrix[T] extends KernelMatrix

Column-wise block implementation of a kernel matrix. This class uses a kernel transformer to lazily populate the column blocks and caches them optionally

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

Instance Constructors

  1. new BlockKernelMatrix(kernelGen: KernelTransformer[T], data: RDD[T], cacheKernel: Boolean)(implicit arg0: ClassTag[T])

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(colIdxs: Seq[Int]): RDD[DenseMatrix[Double]]

    Extract specified columns from the kernel matrix.

    Extract specified columns from the kernel matrix. NOTE: This returns a *cached* RDD and unpersist should be called at the end of a block.

    colIdxs

    the column indexes to extract

    returns

    A sub-matrix of size n x idxs.size as an RDD.

    Definition Classes
    BlockKernelMatrixKernelMatrix
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. val cacheKernel: Boolean

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val colBlockCache: HashMap[Seq[Int], RDD[DenseMatrix[Double]]]

  11. val data: RDD[T]

  12. def diagBlock(idxs: Seq[Int]): DenseMatrix[Double]

    Extract a diagonal block from the kernel matrix.

    Extract a diagonal block from the kernel matrix.

    idxs

    the column, row indexes to extract

    returns

    A local matrix of size idxs.size x idxs.size

    Definition Classes
    BlockKernelMatrixKernelMatrix
  13. val diagBlockCache: HashMap[Seq[Int], DenseMatrix[Double]]

  14. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  20. val kernelGen: KernelTransformer[T]

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

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

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

    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. def unpersist(colIdxs: Seq[Int]): Unit

    Clean up resources associated with a kernel block.

    Clean up resources associated with a kernel block.

    colIdxs

    column indexes corresponding to the block.

    Definition Classes
    BlockKernelMatrixKernelMatrix
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from KernelMatrix

Inherited from AnyRef

Inherited from Any

Ungrouped