[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-30 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10702#issuecomment-177376070 LGTM except minor comments. Thanks. --- 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

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-30 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10702#discussion_r51354776 --- Diff: mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala --- @@ -219,33 +219,44 @@ class LinearRegression @Since("

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-30 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10702#discussion_r51354767 --- Diff: mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala --- @@ -219,33 +219,44 @@ class LinearRegression @Since("

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-30 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10702#discussion_r51354784 --- Diff: mllib/src/test/scala/org/apache/spark/ml/regression/LinearRegressionSuite.scala --- @@ -558,6 +575,47 @@ class LinearRegressionSuite

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-30 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10702#discussion_r51355106 --- Diff: mllib/src/test/scala/org/apache/spark/ml/regression/LinearRegressionSuite.scala --- @@ -558,6 +575,47 @@ class LinearRegressionSuite

[GitHub] spark pull request: [SPARK-13029][ml] fix a logistic regression is...

2016-01-28 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10940#issuecomment-176459204 @iyounus Ideally, it will be great that `intercept=true`, we keep the current behavior which is constant column doesn't have any predictive power. --- If your project

[GitHub] spark pull request: [SPARK-13029][ml] fix a logistic regression is...

2016-01-28 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10940#issuecomment-176503318 @iyounus Maybe in this case, `WeightedLeastSqures ` should drop those columns so the model can be still trained. --- If your project is set up for it, you can reply

[GitHub] spark pull request: [SPARK-12230][ML] WeightedLeastSquares.fit() s...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10274#discussion_r51059677 --- Diff: mllib/src/test/scala/org/apache/spark/ml/optim/WeightedLeastSquaresSuite.scala --- @@ -74,6 +89,35 @@ class WeightedLeastSquaresSuite extends

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10702#discussion_r51064724 --- Diff: mllib/src/test/scala/org/apache/spark/ml/regression/LinearRegressionSuite.scala --- @@ -558,6 +575,47 @@ class LinearRegressionSuite

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10702#discussion_r51064615 --- Diff: mllib/src/test/scala/org/apache/spark/ml/regression/LinearRegressionSuite.scala --- @@ -558,6 +575,47 @@ class LinearRegressionSuite

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10702#discussion_r51069962 --- Diff: mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala --- @@ -219,33 +219,43 @@ class LinearRegression @Since("

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10702#discussion_r51070090 --- Diff: mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala --- @@ -219,33 +219,43 @@ class LinearRegression @Since("

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10702#discussion_r51070105 --- Diff: mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala --- @@ -219,33 +219,43 @@ class LinearRegression @Since("

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-27 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10702#issuecomment-175901752 @iyounus `standardizeLabel = false/ture` with non-zero `regParam`, let's throw the exception. I explained the mismatch against the analytic normal equation in the other

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10702#discussion_r51070506 --- Diff: mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala --- @@ -219,33 +219,43 @@ class LinearRegression @Since("

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10702#discussion_r51077616 --- Diff: mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala --- @@ -219,33 +219,43 @@ class LinearRegression @Since("

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10702#discussion_r51070301 --- Diff: mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala --- @@ -219,33 +219,43 @@ class LinearRegression @Since("

[GitHub] spark pull request: [SPARK-13029][ml] fix a logistic regression is...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10940#discussion_r51051112 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -341,11 +341,11 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-13029][ml] fix a logistic regression is...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10940#discussion_r51051223 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -971,8 +971,10 @@ private class LogisticAggregator

[GitHub] spark pull request: [SPARK-13029][ml] fix a logistic regression is...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10940#discussion_r51051184 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -417,7 +417,7 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-13029][ml] fix a logistic regression is...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10940#discussion_r51051267 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -1106,7 +1110,8 @@ private class LogisticCostFun

[GitHub] spark pull request: [SPARK-13029][ml] fix a logistic regression is...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10940#discussion_r51051238 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -983,8 +985,10 @@ private class LogisticAggregator

[GitHub] spark pull request: [SPARK-13029][ml] fix a logistic regression is...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10940#discussion_r51052743 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -341,11 +341,11 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-13029][ml] fix a logistic regression is...

2016-01-27 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10940#issuecomment-175868432 Intuitively, this makes sense to me. Since when `setFitIntercept(false)`, those features with `std == 0` will act as the effect of intercept resulting non-zero

[GitHub] spark pull request: [SPARK-13029][ml] fix a logistic regression is...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10940#discussion_r51054476 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -341,11 +341,11 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-13029][ml] fix a logistic regression is...

2016-01-27 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10940#issuecomment-175872406 @coderxiang I agree, without regularization, those features become collinear so the solution will not be unique. However, for those features with std != 0

[GitHub] spark pull request: [SPARK-10780] [ML] Set initialModel in KMeans ...

2016-01-27 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/8972#issuecomment-175882882 @yinxusen Thanks. I will check it out soon. --- 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

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-27 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10702#discussion_r51077516 --- Diff: mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala --- @@ -219,33 +219,43 @@ class LinearRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-26 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50931610 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -343,22 +355,36 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-26 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50931631 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -343,22 +355,36 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-26 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50931598 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -343,22 +355,36 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-26 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50931620 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -343,22 +355,36 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-26 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10788#issuecomment-175341628 Thanks. Merged into master. --- 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

[GitHub] spark pull request: [SPARK-10780] [ML] Set initialModel in KMeans ...

2016-01-26 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/8972#issuecomment-175342081 @jayantshekhar Still working on it? --- 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

[GitHub] spark pull request: [SPARK-10780] [ML] Set initialModel in KMeans ...

2016-01-26 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/8972#issuecomment-175342352 We add a private API in LOR to do the same thing, and would like to generalize it for other algorithms. +cc @holdenk --- If your project is set up for it, you can

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-25 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10788#issuecomment-174662125 I'm going through the caching logic now. Will let you know soon. Thanks. --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-21 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50369722 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -335,31 +342,45 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-21 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50369730 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -374,11 +395,11 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-21 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50370169 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +384,82 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-12908][ML] Add warning message for Logi...

2016-01-21 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10862#issuecomment-173494166 Jenkins, retest this please. --- 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

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-21 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50370273 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +384,82 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-21 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50370414 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +384,82 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-21 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10788#issuecomment-173493541 LGTM except some styling issues, and concern about caching twice. Thanks. --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-21 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50371017 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +384,82 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-20 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50369078 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -335,31 +342,45 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-20 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50369207 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -335,31 +342,45 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-20 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50369141 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -335,31 +342,45 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-20 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50369668 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -335,31 +342,45 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-12908][ML] Add warning message for Logi...

2016-01-20 Thread dbtsai
GitHub user dbtsai opened a pull request: https://github.com/apache/spark/pull/10862 [SPARK-12908][ML] Add warning message for LogisticRegression for potential converge issue When all labels are the same, it's a dangerous ground for LogisticRegression without intercept to converge

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-20 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50369552 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -335,31 +342,45 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-20 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50369516 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -335,31 +342,45 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-20 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10702#issuecomment-173395155 @mengxr This PR is also on my radar. Working on another PR now, once @iyounus is ready, I will work on this. --- If your project is set up for it, you can reply

[GitHub] spark pull request: [SPARK-12804][ML] Fix LogisticRegression with ...

2016-01-19 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10743#issuecomment-172954547 Merged into master. Thanks. --- 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

[GitHub] spark pull request: [SPARK-12804][ML] Fix LogisticRegression with ...

2016-01-19 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10743#issuecomment-172965625 A followup PR is created: https://issues.apache.org/jira/browse/SPARK-12908 --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] spark pull request: [SPARK-12804][ML] Fix LogisticRegression with ...

2016-01-19 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10743#issuecomment-172954097 Ideally, we would like to see the one without intercept to ensure that nothing will not be messed up during the refactoring. I'll merge now, and let's add the test

[GitHub] spark pull request: [SPARK-12804][ML] Fix LogisticRegression with ...

2016-01-18 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10743#discussion_r50032693 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -276,113 +276,123 @@ class LogisticRegression @Since

[GitHub] spark pull request: [SPARK-12804][ML] Fix LogisticRegression with ...

2016-01-18 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10743#discussion_r50032721 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -276,113 +276,123 @@ class LogisticRegression @Since

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-18 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50040773 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -322,10 +329,25 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-18 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50041495 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +384,85 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-18 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50041152 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -343,8 +365,8 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-18 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50041320 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +384,85 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-18 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r50041364 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +384,85 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49962408 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +383,82 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49962416 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +383,82 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49963912 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -322,10 +329,11 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49962448 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +383,82 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49962512 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +383,82 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49962541 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +383,82 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49961903 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -247,10 +247,31 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49961912 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -247,10 +247,31 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49963463 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -247,8 +247,15 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49963455 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -247,8 +247,15 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49961714 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -247,10 +247,30 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49962964 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +383,82 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49962944 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -322,10 +343,12 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49963357 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +383,82 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49962157 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -322,10 +343,12 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49962716 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +383,82 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49962722 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +383,82 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-11922][PYSPARK][ML] Python api for ml.f...

2016-01-17 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10085#issuecomment-172429593 LGTM as well! Thanks. --- 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

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49961964 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -247,10 +247,31 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49964184 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -322,10 +329,11 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49961836 --- Diff: mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala --- @@ -374,4 +383,82 @@ class LogisticRegressionWithLBFGS

[GitHub] spark pull request: [SPARK-12804][ML] Fix LogisticRegression with ...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10743#discussion_r49955619 --- Diff: mllib/src/test/scala/org/apache/spark/ml/classification/LogisticRegressionSuite.scala --- @@ -883,6 +884,27 @@ class LogisticRegressionSuite

[GitHub] spark pull request: [SPARK-12804][ML] Fix LogisticRegression with ...

2016-01-17 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10743#issuecomment-172401612 LGTM except couple minor issues. Thanks. --- 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

[GitHub] spark pull request: [SPARK-12804][ML] Fix LogisticRegression with ...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10743#discussion_r49955940 --- Diff: mllib/src/test/scala/org/apache/spark/ml/classification/LogisticRegressionSuite.scala --- @@ -883,6 +884,27 @@ class LogisticRegressionSuite

[GitHub] spark pull request: [SPARK-12804][ML] Fix LogisticRegression with ...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10743#discussion_r49955755 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -276,113 +276,123 @@ class LogisticRegression @Since

[GitHub] spark pull request: [SPARK-12804][ML] Fix LogisticRegression with ...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10743#discussion_r49955925 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -276,113 +276,123 @@ class LogisticRegression @Since

[GitHub] spark pull request: [SPARK-12804][ML] Fix LogisticRegression with ...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10743#discussion_r49955604 --- Diff: mllib/src/test/scala/org/apache/spark/ml/classification/LogisticRegressionSuite.scala --- @@ -883,6 +884,27 @@ class LogisticRegressionSuite

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49959401 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -247,10 +247,30 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-7780][MLLIB] intercept in logisticregre...

2016-01-17 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10788#discussion_r49959559 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -247,10 +247,30 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-12230][ML] WeightedLeastSquares.fit() s...

2016-01-14 Thread dbtsai
Github user dbtsai commented on the pull request: https://github.com/apache/spark/pull/10274#issuecomment-171876447 LGTM. Wait for one extra test. Thanks. --- 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

[GitHub] spark pull request: [SPARK-12230][ML] WeightedLeastSquares.fit() s...

2016-01-14 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10274#discussion_r49822543 --- Diff: mllib/src/test/scala/org/apache/spark/ml/optim/WeightedLeastSquaresSuite.scala --- @@ -74,6 +89,35 @@ class WeightedLeastSquaresSuite extends

[GitHub] spark pull request: [SPARK-12804][ML] Fix LogisticRegression with ...

2016-01-13 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10743#discussion_r49652270 --- Diff: mllib/src/test/scala/org/apache/spark/ml/classification/LogisticRegressionSuite.scala --- @@ -883,6 +884,22 @@ class LogisticRegressionSuite

[GitHub] spark pull request: [SPARK-12804][ML] Fix LogisticRegression with ...

2016-01-13 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10743#discussion_r49649843 --- Diff: mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala --- @@ -339,9 +339,11 @@ class LogisticRegression @Since("

[GitHub] spark pull request: [SPARK-12804][ML] Fix LogisticRegression with ...

2016-01-13 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10743#discussion_r49650452 --- Diff: mllib/src/test/scala/org/apache/spark/ml/classification/LogisticRegressionSuite.scala --- @@ -883,6 +884,22 @@ class LogisticRegressionSuite

[GitHub] spark pull request: [SPARK-12230][ML] WeightedLeastSquares.fit() s...

2016-01-13 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10274#discussion_r49667844 --- Diff: mllib/src/main/scala/org/apache/spark/ml/optim/WeightedLeastSquares.scala --- @@ -94,8 +110,7 @@ private[ml] class WeightedLeastSquares

[GitHub] spark pull request: [SPARK-12230][ML] WeightedLeastSquares.fit() s...

2016-01-13 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10274#discussion_r49654189 --- Diff: mllib/src/main/scala/org/apache/spark/ml/optim/WeightedLeastSquares.scala --- @@ -94,8 +110,7 @@ private[ml] class WeightedLeastSquares

[GitHub] spark pull request: [SPARK-12230][ML] WeightedLeastSquares.fit() s...

2016-01-11 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10274#discussion_r49394419 --- Diff: mllib/src/main/scala/org/apache/spark/ml/optim/WeightedLeastSquares.scala --- @@ -94,8 +110,7 @@ private[ml] class WeightedLeastSquares

[GitHub] spark pull request: [Spark-12732][ML] bug fix in linear regression...

2016-01-11 Thread dbtsai
Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/10702#discussion_r49399116 --- Diff: mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala --- @@ -219,33 +219,41 @@ class LinearRegression @Since("

<    5   6   7   8   9   10   11   12   13   14   >