Github user yinxusen commented on the pull request:

    https://github.com/apache/spark/pull/166#issuecomment-38345315
  
    I have test the original/1-version/2-version LR and SVM, here is the result:
    
    (Note that original version runs 100 iterations, while the other two run 10 
iterations with 10 local iterations.)
    
    | Type         | Time           | Last 10 losses  |
    | ------------- |:--------------:| -------------------:|
    | original LR     | 89.348 | 0.638 - 0.636 |
    | 1-version LR  | 13.094      |   1.769 - 0.636 |
    | **2-version LR**      | **10.747** |   **1.618 - 0.631** |
    | original SVM | 88.708 | 0.947 - 0.947 |
    | 1-version SVM | 13.062    |  2.127 - 0.694 |
    | **2-version SVM** | **10.829** |   **1.943 - 0.691** |
    
    There are 3 updaters : L1-updater, L2-updater, and simple updater, and 3 
gradients: Logistic, Square and Hinge. SVM uses Hinge+L2, LR uses 
Logistic+simple, Lasso uses Square+L1.
    
    But I encounter some difficulties in Lasso, I am still trying to fix them.



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

Reply via email to