Github user shahidki31 commented on the issue:
https://github.com/apache/spark/pull/22659
In the test "binary logistic regression with intercept with ElasticNet
regularization", taking around 30sec to run. But we can reduce the time to 15
sec by reducing the iteration.

model1 converges after 100 iteration,

model2 converges after 20 iterations.
So, if we make maxIter of model1 and model2 as 120 and 30 respectively, we
can reduce the time to ~15 sec.
In the test "multinomial logistic regression without intercept with
elasticnet regularization", taking around 30 sec to run. This also can be
reduced to 15 sec by reducing number of iteration.

model1 converges after 50 iteration.

model2 converges after 30 iteration.
So, if we make maxIter of model1 and model2 as 75 and 50 respectively, we
can reduce the computation time less than 15sec
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]