3 Machine learning vs. deep learning

 

This chapter covers

  • A comparison of machine learning and deep learning as methods to tackle tabular data problems
  • A comparison of machine learning and deep learning in terms of simplicity
  • A comparison of machine learning and deep learning in terms of transparency
  • A comparison of machine learning and deep learning in terms of efficacy

There’s an open debate in the data science community about the best machine learning approach for tabular data. Some assert that classic machine learning techniques, such as gradient boosting using tools like XGBoost or LightGBM, are superior for most tabular data problems. Others advocate for including deep learning in your analysis toolkit. In this chapter, we’ll examine these two approaches using two concrete examples:

  • Predict the price of Airbnb New York City listings. In this example, we use a real-world dataset of Airbnb listings to train models that predict whether a new listing will have a price above or below the average listing price. We’ll use this example to examine simplicity, transparency, and efficacy.
  • Predict the length of time a property in a local real estate market is on the market before it is sold. In this example, we use a contrived real estate listing dataset to illustrate the explainability aspect of transparency.

We will focus on three criteria that are of particular value in interpreting scientific and business data:

3.1 Predicting Airbnb prices in New York City

 

3.1.1 The Airbnb NYC dataset

 
 
 

3.1.2 Introduction to the code

 
 

3.1.3 A deep learning solution using Keras

 
 

3.1.4 Training features

 
 
 

3.1.5 Comparing gradient boosting and deep learning solutions

 
 
 

3.1.6 Conclusions

 
 
 

3.2 Transparency

 
 

3.2.1 Explainability

 
 

3.2.2 Feature importance

 

3.2.3 Conclusions

 
 

3.3 Efficacy

 
 
 
 

3.3.1 Evaluating performance

 
 

3.4 Digging Deeper

 
 

Summary

 
 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest