Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

Saveable#

classpyspark.mllib.util.Saveable[source]#

Mixin for models and transformers which may be saved as files.

New in version 1.3.0.

Methods

save(sc, path)

Save this model to the given path.

Methods Documentation

save(sc,path)[source]#

Save this model to the given path.

This saves:
  • human-readable (JSON) model metadata to path/metadata/

  • Parquet formatted data to path/data/

The model may be loaded usingLoader.load().

Parameters
scpyspark.SparkContext

Spark context used to save model data.

pathstr

Path specifying the directory in which to savethis model. If the directory already exists,this method throws an exception.


[8]ページ先頭

©2009-2025 Movatter.jp