Class

com.iaja.ldavis

ScalaLDAvis

Related Doc: package ldavis

Permalink

class ScalaLDAvis extends LDAvis

Linear Supertypes
LDAvis, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaLDAvis
  2. LDAvis
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalaLDAvis(builder: ScalaLDAvisBuilder)

    Permalink

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. val cvModel: CountVectorizerModel

    Permalink
  7. val cvModelPath: String

    Permalink
  8. val docLengths: DenseVector[Double]

    Permalink
  9. val docTopicDist: RDD[Double]

    Permalink
  10. val docTopicDistMat: DenseMatrix[Double]

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. val getSize: (WrappedArray[String]) ⇒ Long

    Permalink
  16. def getTokenTable(termIndex: Array[Int], termTopicFreq: DenseMatrix[Double], vocab: Array[String], termFrequency: DenseVector[Double]): Dataset[TokenTable]

    Permalink
  17. def getTopicCoordinates(topicTermDist: DenseMatrix[Double], topicProportion: Array[(Double, Int)]): Dataset[TopicCoordinates]

    Permalink
  18. def getTopicInfo(topicTermDists: DenseMatrix[Double], topicProportion: DenseVector[Double], termFrequency: DenseVector[Double], termTopicFreq: DenseMatrix[Double], vocab: Array[String], topicOrder: Array[Int], lambdaStep: Double = 0.01, R: Int = 30, nJobs: Int = 0): (DataFrame, Array[Int])

    Permalink

  19. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  21. val kDim: Int

    Permalink
  22. val ldaModel: LDAModel

    Permalink
  23. val ldaModelPath: String

    Permalink
  24. def loadDF(path: String): DataFrame

    Permalink
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def prepareLDAVisData(path: String, lambdaStep: Double = 0.01, plotOpts: Map[String, String] = ..., R: Int = 30): Unit

    Permalink

    Transforms the topic model distributions and related corpus data into the data structures needed for the visualization.

    Transforms the topic model distributions and related corpus data into the data structures needed for the visualization.

    path

    Directory to store the visulaization data

    lambdaStep

    Determines the interstep distance in the grid of lambda values over which to iterate when computing relevance. Default is 0.01. Recommended to be between 0.01 and 0.1.

    plotOpts

    Dictionary of plotting options, right now only used for the axis labels.

    R

    The number of terms to display in the barcharts of the visualization. Default is 30. Recommended to be roughly between 10 and 50. Notes ----- This implements the method of Sievert, C. and Shirley, K. (2014): LDAvis: A Method for Visualizing and Interpreting Topics, ACL Workshop on Interactive Language Learning, Visualization, and Interfaces. http://nlp.stanford.edu/events/illvi2014/papers/sievert-illvi2014.pdf

    Definition Classes
    ScalaLDAvisLDAvis
  29. val sc: SparkContext

    Permalink
  30. val sizeUdf: UserDefinedFunction

    Permalink
  31. val spark: SparkSession

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  34. val topicsTermDist: DenseMatrix[Double]

    Permalink
  35. var transformedDF: DataFrame

    Permalink
  36. val transformedDFFiltered: Dataset[Row]

    Permalink
  37. val transformedDfPath: String

    Permalink
  38. val vocab: Array[String]

    Permalink
  39. val vocabDf: DataFrame

    Permalink
  40. val vocabSize: Int

    Permalink
  41. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. val wordsDim: Int

    Permalink

Inherited from LDAvis

Inherited from AnyRef

Inherited from Any

Ungrouped