Book Image

Modern Scala Projects

By : Ilango gurusamy
Book Image

Modern Scala Projects

By: Ilango gurusamy

Overview of this book

Scala is both a functional programming and object-oriented programming language designed to express common programming patterns in a concise, readable, and type-safe way. Complete with step-by-step instructions, Modern Scala Projects will guide you in exploring Scala capabilities and learning best practices. Along the way, you'll build applications for professional contexts while understanding the core tasks and components. You’ll begin with a project for predicting the class of a flower by implementing a simple machine learning model. Next, you'll create a cancer diagnosis classification pipeline, followed by tackling projects delving into stock price prediction, spam filtering, fraud detection, and a recommendation engine. The focus will be on application of ML techniques that classify data and make predictions, with an emphasis on automating data workflows with the Spark ML pipeline API. The book also showcases the best of Scala’s functional libraries and other constructs to help you roll out your own scalable data processing frameworks. By the end of this Scala book, you’ll have a firm foundation in Scala programming and have built some interesting real-world projects to add to your portfolio.
Table of Contents (14 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
Index

Detailed overview


The detailed overview section for this topic is the most important section of this chapter.

Recommendations regarding problem formulation

In the detailed version of this topic, we will build a narrative (or story), in which the following features dominate:

  • Users
  • Products
  • Understanding of sales leads and past sales
  • Backing up data that's been built with an understanding of sales leads and past sales

Where data is concerned, we will compile custom sales leads data and past sales data that is related to weapons systems. In this phase, we will take up the formal formulation and support descriptions of a recommendation system based on explicit feedback from users. Such a formulation is broken down into two tasks:

  • Defining what explicit feedback is
  • Building a narrative (a story) around the recommendation problem involving explicit feedback

What kinds of data constitutes explicit feedback? We set out to answer this question right away.

 

Defining explicit feedback

Explicit feedback, like its...