Book Image

Machine Learning with Scala Quick Start Guide

By : Md. Rezaul Karim, Ajay Kumar N
Book Image

Machine Learning with Scala Quick Start Guide

By: Md. Rezaul Karim, Ajay Kumar N

Overview of this book

Scala is a highly scalable integration of object-oriented nature and functional programming concepts that make it easy to build scalable and complex big data applications. This book is a handy guide for machine learning developers and data scientists who want to develop and train effective machine learning models in Scala. The book starts with an introduction to machine learning, while covering deep learning and machine learning basics. It then explains how to use Scala-based ML libraries to solve classification and regression problems using linear regression, generalized linear regression, logistic regression, support vector machine, and Naïve Bayes algorithms. It also covers tree-based ensemble techniques for solving both classification and regression problems. Moving ahead, it covers unsupervised learning techniques, such as dimensionality reduction, clustering, and recommender systems. Finally, it provides a brief overview of deep learning using a real-life example in Scala.
Table of Contents (9 chapters)

DL frameworks

There are several popular DL frameworks. Each of them comes with some pros and cons. Some of them are desktop-based and some of them are cloud-based platforms where you can deploy/run your DL applications. However, most of the libraries that are released under an open license help when people are using graphics processors, which can ultimately help in speeding up the learning process.

Such frameworks and libraries include TensorFlow, PyTorch, Keras, Deeplearning4j, H2O, and the Microsoft Cognitive Toolkit (CNTK). Even a few years back, other implementations including Theano, Caffee, and Neon were used widely. However, these are now obsolete. Since we will focus on learning in Scala, JVM-based DL libraries such as Deeplearning4j can be a reasonable choice. Deeplearning4j (DL4J) is one of the first commercial-grade, open source, distributed DL libraries that was built...