zhengruifeng commented on issue #26344: [SPARK-29686][ML] LinearSVC should persist instances if needed URL: https://github.com/apache/spark/pull/26344#issuecomment-548640296 @huaxingao I think we should persist dataset if it will be used several times. > For example, in classification, LogisticRegression, OneVsRest and this LinearSVC have persistence support, but others don't. `DecisionTreeClassifier`,`GBTClassifier`,`RandomForestClassifier` persist a transformed dataset named `baggedInput` internally. `MultilayerPerceptronClassifier` persist the input in `Layer.scala`. `NaiveBayes` normally only need one pass (sometime it needs twice).
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
