com.github.cloudml.zen.ml.clustering

DistributedLDAModel

Related Doc: package clustering

class DistributedLDAModel extends Serializable with Saveable with Logging

Linear Supertypes
Logging, Saveable, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DistributedLDAModel
  2. Logging
  3. Saveable
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. val alpha: Double

  5. val alphaAS: Double

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val beta: Double

  8. def clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def formatVersion: String

    Attributes
    protected
    Definition Classes
    DistributedLDAModel → Saveable
  13. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  15. def inference(docs: RDD[(VertexId, Vector)], totalIter: Int = 25, burnIn: Int = 22): RDD[(VertexId, Vector)]

    推断接口

    推断接口

    docs

    (dicId, Vector)对 docId 唯一 推荐设置缓存级别为: StorageLevel.MEMORY_AND_DISK

    totalIter

    总迭代次数

    burnIn

    前burnIn次迭代的结果会被丢弃.

    returns

    返回totalIter次迭代中的后(totalIter - burnIn)次迭代的结果

  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  18. def log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  19. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  20. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  21. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  22. def logError(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  23. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  24. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  25. def logName: String

    Attributes
    protected
    Definition Classes
    Logging
  26. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  27. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  28. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  29. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  33. val numTerms: Long

  34. val numTopics: Int

  35. def save(sc: SparkContext, path: String, isTransposed: Boolean): Unit

    sc
    path
    isTransposed

    libsvm 格式存储 当 isTransposed 为 false 每一行的格式是: termId \grave{topicId}:counter \grave{topicId}:counter... 其中\grave{topicId} = topicId + 1 当 isTransposed 为 true 每一行的格式是: topicId \grave{termId}:counter \grave{termId}:counter... 其中\grave{termId}= termId + 1

  36. def save(path: String): Unit

  37. def save(sc: SparkContext, path: String): Unit

    Definition Classes
    DistributedLDAModel → Saveable
  38. val storageLevel: StorageLevel

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

    Definition Classes
    AnyRef
  40. def toLocalLDAModel(): LocalLDAModel

  41. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from Saveable

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped