Summary

In this chapter, we have shown several machine learning applications and tried to differentiate between Spark MLlib and Spark ML. We also showed that it's really difficult to develop a complete machine learning application using only Spark ML or Spark MLlib.

However, we would like to argue that a combined approach, or interoperability, between these two APIs would be best for these purposes. In addition, we learned how to build an ML pipeline by using both Spark ML libraries and how to scale-up the basic model by considering some performance considerations.

Tuning an algorithm or machine learning application can simply be thought of as a process by which one goes through to optimize the parameters that impact the model in order to enable the algorithm to perform at its best (in terms of runtime and memory usage).

In Chapter 7, Tuning Machine Learning Models, we will discuss more about tuning machine learning models. We will try to reuse some of the applications from this chapter and Chapter 5, Supervised and Unsupervised Learning by Examples, to tune up the performance by tuning several parameters.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset