Packages

object DistributedLDAModel extends Loader[DistributedLDAModel]

Distributed model fitted by LDA. This type of model is currently only produced by Expectation-Maximization (EM).

This model stores the inferred topics, the full training dataset, and the topic distribution for each training document.

Annotations
@Since( "1.5.0" )
Source
LDAModel.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DistributedLDAModel
  2. Loader
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def load(sc: SparkContext, path: String): DistributedLDAModel

    Load a model from the given path.

    Load a model from the given path.

    The model should have been saved by Saveable.save.

    sc

    Spark context used for loading model files.

    path

    Path specifying the directory to which the model was saved.

    returns

    Model instance

    Definition Classes
    DistributedLDAModelLoader
    Annotations
    @Since( "1.5.0" )