Github user iyerr3 commented on the pull request:

    https://github.com/apache/incubator-madlib/pull/43#issuecomment-221046547
  
    Testing with scikit learn revealed odd behavior. See figures below.
    1) With equal class size the results are similar between scikit and madlib.
    2) With unequal class sizes and class_weight = balanced the results are 
also close enough (dashed line). But the hyperplane without class weights are 
quite different with MADlib being obviously wrong.
    
    
![with_weights](https://cloud.githubusercontent.com/assets/2237447/15479453/18d1bfbe-20d5-11e6-9b74-05dfea88a157.png)
    
![no_weights](https://cloud.githubusercontent.com/assets/2237447/15479452/18cd7c24-20d5-11e6-95a2-00bc7d5d8ab5.png)


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