spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From miccagiann <>
Subject [GitHub] spark pull request: [SPARK-2550][MLLIB][APACHE SPARK] Support regu...
Date Wed, 30 Jul 2014 05:04:08 GMT
Github user miccagiann commented on a diff in the pull request:
    --- Diff: python/pyspark/mllib/ ---
    @@ -109,18 +109,35 @@ class LinearRegressionModel(LinearRegressionModelBase):
    +class RegularizerType(object):
    +    L2 = 0
    +    L1 = 1
    +    NONE = 2
    --- End diff --
    The same enumeration is provided and through the `` file purely in python
so as users to use it directly and avoid providing integer values to parameter `regType` in
function `train` of `LinearRegressionWithSGD`.

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 or file a JIRA ticket
with INFRA.

View raw message