python/pyspark/ml/pipeline.py
def load(self, path):
        """Load the PipelineModel instance from the input path."""
        if not isinstance(path, basestring):
            raise TypeError("path should be a basestring, got type %s" % type(path))
        java_obj = self._jread.load(path)
        instance = self._clazz(_stages_java2py(java_obj.stages()))
        instance._resetUid(java_obj.uid())
        return instance
Load the PipelineModel instance from the input path.
Load the PipelineModel instance from the input path.
Load the PipelineModel instance from the input path .
def load(self, path):
        if not isinstance(path, basestring):
            raise TypeError("path should be a basestring, got type %s" % type(path))
        java_obj = self._jread.load(path)
        instance = self._clazz(_stages_java2py(java_obj.stages()))
        instance._resetUid(java_obj.uid())
        return instance
def load ( self , path ) : if not isinstance ( path , basestring ) : raise TypeError ( "path should be a basestring, got type %s" % type ( path ) ) java_obj = self . _jread . load ( path ) instance = self . _clazz ( _stages_java2py ( java_obj . stages ( ) ) ) instance . _resetUid ( java_obj . uid ( ) ) return instance
Load the PipelineModel instance from the input path.
Load the PipelineModel instance from the input path .
"""Load the PipelineModel instance from the input path."""
self
path