Packages

object LocalLDAModel extends Loader[LocalLDAModel] with Serializable

Local (non-distributed) model fitted by LDA.

This model stores the inferred topics only; it does not store info about the training dataset.

Annotations
@Since( "1.5.0" )
Source
LDAModel.scala
Linear Supertypes
Serializable, Serializable, Loader[LocalLDAModel], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LocalLDAModel
  2. Serializable
  3. Serializable
  4. Loader
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

    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
    LocalLDAModelLoader
    Annotations
    @Since( "1.5.0" )