spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Pentreath (JIRA)" <>
Subject [jira] [Commented] (SPARK-19422) Cache input data in algorithms
Date Wed, 01 Feb 2017 14:03:51 GMT


Nick Pentreath commented on SPARK-19422:

Please see SPARK-18608 - the fix you propose in the PR doesn't work, in fact it runs into
the same problem of double caching.

> Cache input data in algorithms
> ------------------------------
>                 Key: SPARK-19422
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 2.2.0
>            Reporter: zhengruifeng
> Now some algorithms cache the input dataset if it was not cached any more {{StorageLevel.NONE}}:
> {{FeedForwardTrainer}}, {{LogisticRegression}}, {{OneVsRest}}, {{KMeans}}, {{AFTSurvivalRegression}},
{{IsotonicRegression}}, {{LinearRegression}} with non-WSL solver
> It maybe reasonable to cache input for others:
> {{DecisionTreeClassifier}}, {{GBTClassifier}}, {{RandomForestClassifier}}, {{LinearSVC}}
> {{BisectingKMeans}}, {{GaussianMixture}}, {{LDA}}
> {{DecisionTreeRegressor}}, {{GBTRegressor}}, {{GeneralizedLinearRegression}} with IRLS
solver, {{RandomForestRegressor}}
> {{NaiveBayes}} is not included since it only make one pass on the data.
> {{MultilayerPerceptronClassifier}} is not included since the data is cached in {{FeedForwardTrainer.train}}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message