How it works...

  1. The plot of bedroom counts must give an output, as shown in the following screenshot:
  1. It is evident that three bedroom houses are sold the most, followed by four bedroom houses, then by two bedroom houses, and then surprisingly by five bedroom and six bedroom houses. 
  1. The pie chart of the number of bedrooms gives an output that looks like the following screenshot:
  1. You will notice that three bedroom houses account for roughly 50% of all houses sold in King County. It looks like about 25% are four bedroom houses and the ...

Get Apache Spark Deep Learning Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.