Difference between org.apache.spark.ml.classification and org.apache.spark.mllib.classification

前端 未结 2 484
失恋的感觉
失恋的感觉 2020-12-10 12:15

I\'m writing a spark application and would like to use algorithms in MLlib. In the API doc I found two different classes for the same algorithm.

For example, there

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-10 12:51

    It's JIRA ticket

    And From Design Doc:

    MLlib now covers a basic selection of machine learning algorithms, e.g., logistic regression, decision trees, alternating least squares, and k-means. The current set of APIs contains several design flaws that prevent us moving forward to address practical machine learning pipelines, make MLlib itself a scalable project.

    The new set of APIs will live under org.apache.spark.ml, and o.a.s.mllib will be deprecated once we migrate all features to o.a.s.ml.

提交回复
热议问题