You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "DB Tsai (Jira)" <ji...@apache.org> on 2021/08/11 23:22:00 UTC

[jira] [Resolved] (SPARK-36481) Expose LogisticRegression.setInitialModel

     [ https://issues.apache.org/jira/browse/SPARK-36481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

DB Tsai resolved SPARK-36481.
-----------------------------
    Fix Version/s: 3.3.0
       Resolution: Fixed

Issue resolved by pull request 33710
[https://github.com/apache/spark/pull/33710]

> Expose LogisticRegression.setInitialModel
> -----------------------------------------
>
>                 Key: SPARK-36481
>                 URL: https://issues.apache.org/jira/browse/SPARK-36481
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 3.2.0
>            Reporter: Sean R. Owen
>            Assignee: Sean R. Owen
>            Priority: Minor
>             Fix For: 3.3.0
>
>
> Several Spark ML components already allow setting of an initial model, including KMeans, LogisticRegression, and GaussianMixture. This is useful to begin training from a known reasonably good model.
> However, the method in LogisticRegression is private to Spark. I don't see a good reason why it should be as the others in KMeans et al are not.
> None of these are exposed in Pyspark, which I don't necessarily want to question or deal with now; there are other places one could arguably set an initial model too, but, here just interested in exposing the existing, tested functionality to callers.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org