1.

What is a MLib? Who is using a MLib, which type of machine learning can perform by using MLib?

Answer»

MLIB is a scalable machine library which comes as a bundle of Spark framework. Spark provide a high-quality well tested algorithms to PERFORMS data SCIENCE operation.

Below are the key points:

  • MLib is a scalable machine learning library which provide the tested and productive machine learning algorithms.
  • This library USED for performing data analytics by data scientist. 
  • Support both supervised and unsupervised machine learning algorithms. 
  • Package which need to import is: “import org.apache.spark.mlib._”
  • Code Snippet: data = spark.read.format("libsvm").load("HDFS://...")
                                  model = KMeans(k=10).fit(data)

MLlib utilize the linear algebra package Breeze, which depends on netlib-java for optimized   numerical processing. If native libraries1 are not available at runtime, you will see a warning message and a pure JVM implementation will be used instead.   



Discussion

No Comment Found