GitHub user leahmcguire opened a pull request:

    https://github.com/apache/spark/pull/5911

    [SPARK-6164 [ML] CrossValidatorModel should keep stats from fitting

    Added stats from cross validation as a val in the cross validation model to 
save them for user access.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/leahmcguire/spark saveCVmetrics

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/5911.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 #5911
    
----
commit ce73c63e8bac40b02ae0a8147c3b424783f6094a
Author: leahmcguire <[email protected]>
Date:   2015-01-16T16:06:06Z

    added Bernoulli option to niave bayes model in mllib, added optional model 
type parameter for training. When Bernoulli is given the Bernoulli smoothing is 
used for fitting and for prediction 
http://nlp.stanford.edu/IR-book/html/htmledition/the-bernoulli-model-1.html

commit 4a3676d8d7e8c30778f95e9f479d97b4b1651ce4
Author: leahmcguire <[email protected]>
Date:   2015-01-21T00:19:14Z

    Updated changes re-comments. Got rid of verbose populateMatrix method. 
Public api now has string instead of enumeration. Docs are updated."

commit 0313c0cbf8d41b9bcfb0536df253f6af0f1398f7
Author: leahmcguire <[email protected]>
Date:   2015-01-21T17:43:00Z

    fixed style error in NaiveBayes.scala

commit 76e5b0f90e370e2cda20e1348bf40ff890f51782
Author: leahmcguire <[email protected]>
Date:   2015-01-26T18:29:47Z

    removed unnecessary sort from test

commit d9477ed8450594de9f2da24af8f82c82def5ce24
Author: leahmcguire <[email protected]>
Date:   2015-02-26T17:16:12Z

    removed old inaccurate comment from test suite for mllib naive bayes

commit 3891bf2f708bda712028551334960d2cc66af536
Author: leahmcguire <[email protected]>
Date:   2015-02-27T05:34:01Z

    synced with apache spark and resolved merge conflict

commit 5a4a534d3636100546b5fa86d2d7ec2ed2051582
Author: leahmcguire <[email protected]>
Date:   2015-02-27T16:56:24Z

    fixed scala style error in NaiveBayes

commit b61b5e2d91582689642fb045849df62a16ce111c
Author: leahmcguire <[email protected]>
Date:   2015-03-02T18:50:18Z

    added back compatable constructor to NaiveBayesModel to fix MIMA test 
failure

commit 37305729334922c40804752598a30a2fb892c317
Author: Joseph K. Bradley <[email protected]>
Date:   2015-03-03T23:22:20Z

    modified NB model type to be more Java-friendly

commit b93aaf682572890c49a58da149612c0053afc3de
Author: Leah McGuire <[email protected]>
Date:   2015-03-05T19:03:33Z

    Merge pull request #1 from jkbradley/nb-model-type
    
    modified NB model type to be more Java-friendly

commit 7622b0c002c12efd8fb2c6fa34a691c82c86edd8
Author: leahmcguire <[email protected]>
Date:   2015-03-05T19:07:25Z

    added comments and fixed style as per rb

commit dc65374b4c7933700ffa4e3f572ec44ece382a05
Author: leahmcguire <[email protected]>
Date:   2015-03-05T19:24:50Z

    integrated model type fix

commit 85f298f251f757772294ea68988522a5c26a19ac
Author: leahmcguire <[email protected]>
Date:   2015-03-05T19:25:34Z

    Merge remote-tracking branch 'upstream/master'

commit e01656978174f8ecbd75ef6a50211234a1babfc6
Author: leahmcguire <[email protected]>
Date:   2015-03-05T19:28:05Z

    updated test suite with model type fix

commit ea09b28c908e86f8ebc7bbb3e98bfe83cc636b78
Author: leahmcguire <[email protected]>
Date:   2015-03-05T19:48:41Z

    Merge remote-tracking branch 'upstream/master'

commit 900b5864c16cc0db93a46ec3a4591a787e5a21a0
Author: leahmcguire <[email protected]>
Date:   2015-03-05T19:53:46Z

    fixed model call so that uses type argument

commit b85b0c9e602770702a477cc36c7d72e2410c5139
Author: leahmcguire <[email protected]>
Date:   2015-03-05T21:04:02Z

    Merge remote-tracking branch 'upstream/master'

commit c298e78ba7d58bb4d7e9b54d56ce51fe6b6b10a9
Author: leahmcguire <[email protected]>
Date:   2015-03-05T21:16:08Z

    fixed scala style errors

commit 2d0c1ba631841a0c55212fbc8dd7327285972ef8
Author: leahmcguire <[email protected]>
Date:   2015-03-05T21:42:42Z

    fixed typo in NaiveBayes

commit e2d925eb088f7cabb38024ecb7b0628557d261ba
Author: leahmcguire <[email protected]>
Date:   2015-03-07T01:26:17Z

    fixed nonserializable error that was causing naivebayes test failures

commit fb0a5c70ce935cb8d9495152c809e06c8f350443
Author: leahmcguire <[email protected]>
Date:   2015-03-09T20:36:36Z

    removed typo

commit 01baad70f44fa12ad37a743d5d0fba861d89f149
Author: leahmcguire <[email protected]>
Date:   2015-03-11T22:44:22Z

    made fixes from code review

commit bea62af37fdf389474474d80fdac3c94f6a8808f
Author: leahmcguire <[email protected]>
Date:   2015-03-12T18:10:16Z

    put back in constructor for NaiveBayes

commit 18f32199dd0e526ccab7d2a0259dd5503be35ff3
Author: leahmcguire <[email protected]>
Date:   2015-03-12T19:42:45Z

    removed private from naive bayes constructor for lambda only

commit a22d6703d4888574b379f5f1929de8292ce2aec2
Author: leahmcguire <[email protected]>
Date:   2015-03-17T01:46:05Z

    changed NaiveBayesModel modelType parameter back to NaiveBayes.ModelType, 
made NaiveBayes.ModelType serializable, fixed getter method in NavieBayes

commit 852a72741f1b494cfdba4cb58ca036894f1dfc0b
Author: leahmcguire <[email protected]>
Date:   2015-03-21T00:59:24Z

    merged with upstream master

commit 6a8f3830e25fdad24e280ae68fb83ba522d23c1b
Author: Joseph K. Bradley <[email protected]>
Date:   2015-03-22T21:14:20Z

    Added new model save/load format 2.0 for NaiveBayesModel after modelType 
parameter was added.  Updated tests.  Also updated ModelType enum-like type.

commit 9ad89ca860a7c653f46c5aad5535889a7ad4dcf4
Author: Joseph K. Bradley <[email protected]>
Date:   2015-03-22T21:21:00Z

    removed old code

commit 2224b15fd58e856d921c7c80b8c9f08fd86a7fde
Author: Leah McGuire <[email protected]>
Date:   2015-03-24T23:11:54Z

    Merge pull request #2 from jkbradley/leahmcguire-master
    
    Added model save/load version to support NaiveBayes ModelType

commit acb69af01bd063349fc071d2a5d9c1547d71c331
Author: leahmcguire <[email protected]>
Date:   2015-03-28T03:18:52Z

    removed enum type and replaces all modelType parameters with strings

----


---
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]

Reply via email to