O'Reilly logo

Apache Spark Deep Learning Cookbook by Amrith Ravindra, Ahmed Sherif

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works...

This section will explain the logic behind the steps in preparing the feature variables for our model.

  1. Only the indicators in the dataframe that are truly independent of an indication of fire are selected to contribute to the logistic regression model that will predict the outcome. The reason this is performed is to remove any potential bias in the dataset that may already reveal the outcome of the prediction. This minimizes human interaction with the final outcome. The output of the updated dataframe can be seen in the following screenshot:
Please note that the column Neighborhooods - Analysis of Boundaries is originally ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required