Github user mengxr commented on the pull request:

    https://github.com/apache/spark/pull/3062#issuecomment-96406891
  
    Sorry, I only verified SVM and thought logistic regression was implemented 
the same way. For SVM, could we try `normalizationMethod = none` and set the 
threshold as the intercept of the second regression table? 
    
    ~~~xml
     <RegressionModel functionName="classification"  normalizationMethod="none" 
...
        <RegressionTable targetCategory="YES" ...
        <RegressionTable targetCategory="NO" intercept="0.05"
        ...
    ~~~
    
    Maybe we can do the same for binary logistic regression. I don't know 
whether this is the correct way to do it by looking at the PMML specification. 
Need help from @vruusmann 


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to