Skip to content
Snippets Groups Projects
  • Matei Zaharia's avatar
    9a0dfdf8
    Add Naive Bayes to Python MLlib, and some API fixes · 9a0dfdf8
    Matei Zaharia authored
    - Added a Python wrapper for Naive Bayes
    - Updated the Scala Naive Bayes to match the style of our other
      algorithms better and in particular make it easier to call from Java
      (added builder pattern, removed default value in train method)
    - Updated Python MLlib functions to not require a SparkContext; we can
      get that from the RDD the user gives
    - Added a toString method in LabeledPoint
    - Made the Python MLlib tests run as part of run-tests as well (before
      they could only be run individually through each file)
    9a0dfdf8
    History
    Add Naive Bayes to Python MLlib, and some API fixes
    Matei Zaharia authored
    - Added a Python wrapper for Naive Bayes
    - Updated the Scala Naive Bayes to match the style of our other
      algorithms better and in particular make it easier to call from Java
      (added builder pattern, removed default value in train method)
    - Updated Python MLlib functions to not require a SparkContext; we can
      get that from the RDD the user gives
    - Added a toString method in LabeledPoint
    - Made the Python MLlib tests run as part of run-tests as well (before
      they could only be run individually through each file)
clustering.py 3.15 KiB