Package org.apache.spark.ml
Class Pipeline.SharedReadWrite$
Object
org.apache.spark.ml.Pipeline.SharedReadWrite$
- Enclosing class:
- Pipeline
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Pipeline.SharedReadWrite$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetStagePath(String stageUid, int stageIdx, int numStages, String stagesDir) Get path for saving the given stage.scala.Tuple2<String,PipelineStage[]> load(String expectedClassName, SparkContext sc, String path) Deprecated.use load with SparkSession.scala.Tuple2<String,PipelineStage[]> load(String expectedClassName, SparkSession spark, String path) voidsaveImpl(Params instance, PipelineStage[] stages, SparkContext sc, String path) Deprecated.use saveImpl with SparkSession.voidsaveImpl(Params instance, PipelineStage[] stages, SparkSession spark, String path) voidvalidateStages(PipelineStage[] stages) Check that all stages are Writable
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
SharedReadWrite$
public SharedReadWrite$()
-
-
Method Details
-
validateStages
Check that all stages are Writable -
saveImpl
Deprecated.use saveImpl with SparkSession. Since 4.0.0.Save metadata and stages for aPipelineorPipelineModel- save metadata to path/metadata - save stages to stages/IDX_UID- Parameters:
instance- (undocumented)stages- (undocumented)sc- (undocumented)path- (undocumented)
-
saveImpl
-
load
public scala.Tuple2<String,PipelineStage[]> load(String expectedClassName, SparkContext sc, String path) Deprecated.use load with SparkSession. Since 4.0.0.Load metadata and stages for aPipelineorPipelineModel- Parameters:
expectedClassName- (undocumented)sc- (undocumented)path- (undocumented)- Returns:
- (UID, list of stages)
-
load
public scala.Tuple2<String,PipelineStage[]> load(String expectedClassName, SparkSession spark, String path) -
getStagePath
Get path for saving the given stage.
-