class_docstr: Mixin for classes which can load saved models from files.
  
  .. versionadded:: 1.3.0
docstr: Load a model from the given path. The model should have been
  saved using :py:meth:`Saveable.save`.
  
  Parameters
  ----------
  sc : :py:class:`pyspark.SparkContext`
      Spark context used for loading model files.
  path : str
      Path specifying the directory to which the model was saved.
  
  Returns
  -------
  object
      model instance
docstr_tok: ["Load","a","model","from","the","given","path",".","The","model","should","have","been","saved","using",":","py",":","meth",":","`","Saveable.save","`",".","Parameters","--","--","--","--","--","sc",":",":","py",":","class",":","`","pyspark.SparkContext","`","Spark","context","used","for","loading","model","files",".","path",":","str","Path","specifying","the","directory","to","which","the","model","was","saved",".","Returns","--","--","--","-","object","model","instance"]
code: def load(cls: Type[L], sc: SparkContext, path: str) -> L:
      """
      Load a model from the given path. The model should have been
      saved using :py:meth:`Saveable.save`.
  
      Parameters
      ----------
      sc : :py:class:`pyspark.SparkContext`
          Spark context used for loading model files.
      path : str
          Path specifying the directory to which the model was saved.
  
      Returns
      -------
      object
          model instance
      """
      raise NotImplementedError
  
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 Loader obj's underlying member method code with example usage: obj.load(cls, sc, path) without return types