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

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

Sean R. Owen created SPARK-36481:
------------------------------------

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


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