Trait/Object

au.id.cxd.text.model

LsiComponentCluster

Related Docs: object LsiComponentCluster | package model

Permalink

trait LsiComponentCluster extends AnyRef

The LsiDocumentCluster approach uses the selected set of k components in order to generate k clusters.

Documents are associated with clusters by the use of the U matrix.

Terms are associated with clusters by the use of the Vt matrix

If there are k components, the U matrix has dimension (m x k)

where m is the number of documents.

And Vt matrix has the dimension (k x n) where n is the number of attributes.

Additionally the correlation matrices for attributes can be used to select highly correlated attributes once they have been clusered.

This produces a cluster labelling for documents and terms based on the components defined in S.

Created by cd on 13/1/17.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LsiComponentCluster
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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
    @throws( ... )
  6. def clusterAttributes(lsi: LatentSemanticIndex, kClusters: Int): Map[Int, Array[(Int, Int, (String, Int, Int), Double)]]

    Permalink

    cluster similar attributes The value of the V matrix for each cluster is retained so that it is possible to sort groupings of terms in order of the value.

    cluster similar attributes The value of the V matrix for each cluster is retained so that it is possible to sort groupings of terms in order of the value.

    returns

    The output of the map has the key for the corresponding cluster. Whereas each entry in the group for the cluster is a tuple consisting of (Cluster x TermColumnIndex x Term x Weight)

  7. def clusterDocuments(lsi: LatentSemanticIndex, kClusters: Int): Map[Int, Array[(Int, Seq[String], Int, Double)]]

    Permalink

    cluster the documents by determining the maximum U values in the U matrix.

    cluster the documents by determining the maximum U values in the U matrix. The U matrix is first processed by subtracting the most negative value so that all values are positive.

    returns

    This will return a set of documents each grouped by the cluster to which they correspond. (ClusterId, Seq[(Int, Seq[String], Int)])

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. def subtractMinimum(M: DenseMatrix[Double]): DenseMatrix[Double]

    Permalink

    subtract the minimum value of the matrix

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped