Class

com.tencent.angel.ml.lda

LDALearner

Related Doc: package lda

Permalink

class LDALearner extends MLLearner

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

Instance Constructors

  1. new LDALearner(ctx: TaskContext, model: LDAModel, data: CSRTokens)

    Permalink

Type Members

  1. class Task extends Thread

    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. val LOG: Log

    Permalink
  5. object SampleOps extends Enumeration

    Permalink
  6. val alpha: Float

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val beta: Float

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def computeWordLLH: Double

    Permalink
  11. def computeWordLLHSummary: Double

    Permalink
  12. val conf: Configuration

    Permalink
    Definition Classes
    MLLearner
  13. def createDestAndTmpFile(matrix: String, dir: String): (Path, Path)

    Permalink
  14. val ctx: TaskContext

    Permalink
    Definition Classes
    MLLearner
  15. def docLLH(n_docs: Int): Double

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. val executor: ExecutorService

    Permalink
  19. def fetchNk(): Unit

    Permalink
  20. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. val globalMetrics: GlobalMetrics

    Permalink
    Definition Classes
    MLLearner
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. def inference(n_iters: Int): Unit

    Permalink
  25. def initForInference(): Unit

    Permalink
  26. def initialize(): Unit

    Permalink
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. val lgammaAlpha: Double

    Permalink
  29. val lgammaAlphaSum: Double

    Permalink
  30. val lgammaBeta: Double

    Permalink
  31. def likelihood: Double

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

    Permalink
    Definition Classes
    AnyRef
  33. val nk: Array[Long]

    Permalink
  34. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  36. val pkeys: List[PartitionKey]

    Permalink
  37. val queue: LinkedBlockingQueue[Sampler]

    Permalink
  38. val reqRows: HashMap[Int, List[Integer]]

    Permalink
  39. def reset(epoch: Int): Unit

    Permalink
  40. val results: LinkedBlockingQueue[Future[VoidResult]]

    Permalink
  41. def sample(): Unit

    Permalink
  42. def sampleForInference(): Unit

    Permalink
  43. def saveDocTopic(dir: String, data: CSRTokens, model: LDAModel): Unit

    Permalink
  44. def saveDocTopicDistribution(dir: String, data: CSRTokens, model: LDAModel): Unit

    Permalink
  45. def saveWordTopic(model: LDAModel): Unit

    Permalink
  46. def saveWordTopicDistribution(model: LDAModel): Unit

    Permalink
  47. def saveWordTopicDistribution(model: LDAModel, start: Int, end: Int, num: Int): Unit

    Permalink
  48. def scheduleInit(): Unit

    Permalink
  49. def scheduleReset(): Unit

    Permalink
  50. def scheduleWithFetch(pkeys: List[PartitionKey], update: Boolean, Op: SampleOps.Value): Unit

    Permalink
  51. def scheduleWithoutFetch(pkeys: List[PartitionKey], update: Boolean, Op: SampleOps.Value): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  54. def train(n_iters: Int): Unit

    Permalink
  55. def train(train: DataBlock[LabeledData], vali: DataBlock[LabeledData]): MLModel

    Permalink

    Train a ML Model

    Train a ML Model

    train

    : input train data storage

    vali

    : validate data storage

    returns

    : a learned model

    Definition Classes
    LDALearnerMLLearner
  56. final def wait(): Unit

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

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

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

Inherited from MLLearner

Inherited from AnyRef

Inherited from Any

Ungrouped