class_docstr: Mixin for models that provide save() through their Scala
  implementation.
  
  .. versionadded:: 1.3.0
docstr: Save this model to the given path.
docstr_tok: ["Save","this","model","to","the","given","path","."]
code: def save(self, sc: SparkContext, path: str) -> None:
      """Save this model to the given path."""
      if not isinstance(sc, SparkContext):
          raise TypeError(
              "sc should be a SparkContext, got type %s" % type(sc)
          )
      if not isinstance(path, str):
          raise TypeError(
              "path should be a string, got type %s" % type(path)
          )
      self._java_model.save(sc._jsc.sc(), path)
  
imports: import sys
  from functools import reduce
  import numpy
  from pyspark import SparkContext, since
  from pyspark.mllib.common import callMLlibFunc, inherit_doc
  from pyspark.mllib.linalg import Vectors, SparseVector, _convert_to_vector
  from pyspark.sql import DataFrame
  from typing import Generic, Iterable, List, Optional, Tuple, Type, TypeVar, cast, TYPE_CHECKING
  from pyspark.context import SparkContext
  from pyspark.mllib.linalg import Vector
  from pyspark.rdd import RDD
  from pyspark.sql.dataframe import DataFrame
label_desc: Use image node_id 1 for calling the JavaSaveable obj's underlying member method code with example usage: obj.save(sc, path) without return types