GitHub user petro-rudenko opened a pull request:
https://github.com/apache/spark/pull/4595
[Ml] SPARK-5804 Explicitly manage cache in Crossvalidator k-fold loop
On a big dataset explicitly unpersist train and validation folds allows to
load more data into memory in the next loop iteration. On my environment
(single node 8Gb worker RAM, 2 GB dataset file, 3 folds for cross validation),
saved more than 5 minutes.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/petro-rudenko/spark patch-2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/4595.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4595
----
commit c5f3265a13c39c693d1fd13d46fadff89d2ab6da
Author: Peter Rudenko <[email protected]>
Date: 2015-02-13T19:21:56Z
[Ml] SPARK-5804 Explicitly manage cache in Crossvalidator k-fold loop
On a big dataset explicitly unpersist train and validation folds allows to
load more data into memory in the next loop iteration. On my environment
(single node 8Gb worker RAM, 2 GB dataset file, 3 folds for cross validation),
saved more than 5 minutes.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]