maoli67660 commented on code in PR #57206:
URL: https://github.com/apache/spark/pull/57206#discussion_r3597617155


##########
mllib/src/main/scala/org/apache/spark/ml/classification/GBTClassifier.scala:
##########
@@ -188,17 +193,19 @@ class GBTClassifier @Since("1.4.0") (
     instr.logParams(this, labelCol, weightCol, featuresCol, predictionCol, 
leafCol,
       impurity, lossType, maxDepth, maxBins, maxIter, maxMemoryInMB, 
minInfoGain,
       minInstancesPerNode, minWeightFractionPerNode, seed, stepSize, 
subsamplingRate, cacheNodeIds,
-      checkpointInterval, featureSubsetStrategy, validationIndicatorCol, 
validationTol, thresholds)
+      checkpointInterval, featureSubsetStrategy, validationIndicatorCol, 
validationTol, thresholds,
+      intermediateStorageLevel)
     instr.logNumClasses(numClasses)
 
     val categoricalFeatures = 
MetadataUtils.getCategoricalFeatures(dataset.schema($(featuresCol)))
     val boostingStrategy = super.getOldBoostingStrategy(categoricalFeatures, 
OldAlgo.Classification)
+    val storageLevel = StorageLevel.fromString($(intermediateStorageLevel))

Review Comment:
   Good catch, harmonized — RF now extracts a local val storageLevel the same 
way GBT does



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to