Packages

object KMeansModel extends Loader[KMeansModel] with Serializable

Annotations
@Since( "1.4.0" )
Source
KMeansModel.scala
Linear Supertypes
Serializable, Serializable, Loader[KMeansModel], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KMeansModel
  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): KMeansModel

    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
    KMeansModelLoader
    Annotations
    @Since( "1.4.0" )