Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Modern Scala Projects

You're reading from   Modern Scala Projects Leverage the power of Scala for building data-driven and high performance projects

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781788624114
Length 334 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
 gurusamy gurusamy
Author Profile Icon gurusamy
gurusamy
Arrow right icon
View More author details
Toc

Questions


Before readers head to the next chapter, we invite readers to attempt an upgrade on the flight performance model. The idea is this—feed in a couple more predictors that enhance the flight delay ML process in a way that makes predictions deeper and more incisive. 

Here are a few questions to open further vistas of learning:

  1. What is a parquet file and what are its advantages, especially when a dataset becomes larger, and data shuffling between nodes becomes necessary?
  2. What are the advantages of data compressed in a columnar format?
  1. Occasionally, you might run into this error: "Unable to find encoder stored in Dataset. Primitive types (Int, String, and so on) and Product types (case classes) are supported by importing spark.implicits._". How do you get around this error? What is the root cause? Hint—build a simple dataframe with a dataset from the first chapter. Use the spark.read approach and attempt a printSchema on it. If that produces the aforementioned error, investigate if it could...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images