org.apache.mahout.math.indexeddataset

IndexedDataset

trait IndexedDataset extends AnyRef

Wrap an org.apache.mahout.math.drm.DrmLike with bidirectional ID mappings org.apache.mahout.math.indexeddataset.BiDictionary so a user specified labels/IDs can be stored and mapped to and from the Mahout Int ID used internal to Mahout core code.

To do

Often no need for both or perhaps either dictionary, so save resources by allowing to be not created when not needed.

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

Abstract Value Members

  1. abstract val columnIDs: BiDictionary

  2. abstract def create(matrix: CheckpointedDrm[Int], rowIDs: BiDictionary, columnIDs: BiDictionary): IndexedDataset

    Factory method, creates the extending class and returns a new instance

  3. abstract def dfsWrite(dest: String, schema: Schema)(implicit sc: DistributedContext): Unit

    Write a text delimited file(s) with the row and column IDs from dictionaries.

    Write a text delimited file(s) with the row and column IDs from dictionaries.

    dest

    write location, usually a directory

    schema

    params to control writing

    sc

    the org.apache.mahout.math.drm.DistributedContext used to do a distributed write

  4. abstract val matrix: CheckpointedDrm[Int]

  5. abstract val rowIDs: BiDictionary

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def newRowCardinality(n: Int): IndexedDataset

    Adds the equivalent of blank rows to the sparse CheckpointedDrm, which only changes the row cardinality value.

    Adds the equivalent of blank rows to the sparse CheckpointedDrm, which only changes the row cardinality value. No changes are made to the underlying drm.

    n

    number to use for new row cardinality, should be larger than current

    returns

    a new IndexedDataset or extending class with new cardinality

    Note

    should be done before any optimizer actions are performed on the matrix or you'll get unpredictable results.

  16. final def notify(): Unit

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

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

    Definition Classes
    AnyRef
  19. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped