com.github.cloudml.zen.ml.clustering

DistributedLDAModel

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: 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. val alpha: Double

  7. val alphaAS: Double

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. val beta: Double

  10. def clone(): AnyRef

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  17. 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)次迭代的结果

  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  20. def log: Logger

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  27. def logName: String

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  35. val numTerms: Long

  36. val numTopics: Int

  37. 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

  38. def save(path: String): Unit

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

    Definition Classes
    DistributedLDAModel → Saveable
  40. val storageLevel: StorageLevel

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

    Definition Classes
    AnyRef
  42. def toLocalLDAModel(): LocalLDAModel

  43. def toString(): String

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. 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