whatsapp

whatsApp

Have any Questions? Enquiry here!
☎ +91-9972364704 LOGIN BLOG
× Home Careers Contact
Back
FOREST FIRE PREDICTION
FOREST FIRE PREDICTION

FOREST FIRE PREDICTION

Building a forest fire and wildfire is another good use of data science’s capabilities. A wildfire or forest fire is an uncontrolled fire in a forest. Every forest wildfire has caused an immense amount of damage to  nature, animal habitats and human property.

 

To control and even predict the chaotic nature of wildfires, you can use  to identify major fire hotspots and their severity. This could be useful in properly allocating resources. You can also make use of meteorological data to find common periods and seasons for wildfires to increase your model’s accuracy.

                  

Why do we need a forest fire prediction model?

 

Well, the first question arises as that why we even need Machine learning to predict forest fire in that particular area? So, yes the question is valid that despite having the experienced forest department who have been dealing with these issues for a long time why is there a need for ML, having said that answer is quite simple that the experienced forest department can check on 3-4 parameters from their human mind but ML on other hand can handle the numerous parameters whether it can be latitude, longitude, satellite, version, and whatnot, so dealing with this multi-relationship of a parameter that is responsible for the fire in the forest we do need ML for sure!

1. Application type

This is a project, since the variable to be predicted is binary (fire or not fire).

The goal here is to model the probability of a fire occurring according to the day, month, certain meteorological variables, and a series of indices developed by the FWI system.

2. Data set

The comprises a data matrix in which columns represent variables, and rows represent instances.

The data file contains the information for creating the model. Here, the number of variables is 9, and the number of instances is 515.

This data set contains the following whose contain data measured in the northeast region of Portugal:

  • month
  • FFMC: index FWY system: Fine Fuel Moisture Code.
  • DMC: index FWY system: Duff Moisture Code.
  • DC: index FWY system: Drought Code.
  • ISI: index FWY system: Initial Spread Index.
  • temp: temperature in Celsius degrees
  • RH: relative humidity in %.
  • wind: wind speed in km/h.
  • class: (target) 1:fire 0:not fire.

The total number of is 515. They are divided into training, generalization, and testing subsets. The number of training instances is 333 (80%), the number of selection instances is 45 (10%), and the number of testing instances is 45 (10%).

Once the data set has been set, we can perform a few related analytics. First, we check the provided information and ensure that the data has good quality.

We can calculate the data and draw a table with the minimums, maximums, means, and standard deviations of all variables in the data set. The following table depicts the values.

Also, we can calculate the for all variables. The following figure shows a pie chart with the proportion of fire (positives) and not fire (negatives) following our dataset.

As we can see, the number of fire cases is 45.4% of the samples, and not fire represents approximately 54.6% of the pieces.

Finally, the might indicate to us what factors most influence fires.

Here, the different variables are little correlated. Indeed, forest fire depends on many factors at the same time.

3. Neural network

The second step is to set a to represent the classification function. For this class of applications, the neural network is composed of:

  • Scaling layer.
  • Perceptron layers.
  • Probabilistic layer.

The contains the statistics on the inputs calculated from the data file and the method for scaling the input variables. Here the minimum and maximum methods have been set. Nevertheless, the mean and standard deviation methods would produce very similar results.

The number of  is 1. This perceptron layer has 8 inputs and 8 neurons.

Finally, we will set the for the as we want the predicted target variable to be binary.

The following picture shows a graph of the neural network for this example.

Neural network graph

The yellow circles represent scaling neurons, the blue circles perceptron neurons, and the red circles probabilistic neurons. The number of inputs is 8, and the number of outputs is 1.

4. Training strategy

The procedure used to carry out the learning process is called. The training strategy is applied to the neural network to obtain the best possible performance. The type of training is determined by how the adjustment of the parameters in the neural network takes place. This process is composed of two terms:

  • A loss index.
  • An optimization algorithm.

The that we use is the. This is the default loss index for binary classification applications.

The learning problem is finding a neural network that minimizes the loss index. That is, a neural network that fits the data set and does not oscillate.

The that we This is also the standard optimization algorithm for this type of problem.

The following chart shows how the error decreases with the iterations during the training process.

The final training and selection errors are training error = 0.966 WSE and selection error = 0.933 WSE, respectively.

5. Model selection

The objective of is to find the network architecture with the best generalization properties, that is, that which minimizes the error on the of the data set.

More specifically, we want to find a neural network with a selection error of less than 0.933 WSE, which is the value that we have achieved so far. algorithms train several network architectures with a different number of neurons and select that with the smallest selection error.

The method starts with a small number of neurons and increases the complexity at each iteration.

6. Testing analysis

The last step is to test the generalization performance of the trained neural network.

The objective of the is to validate the generalization performance of the trained neural network. To validate a classification technique, we need to compare the values provided by this technique to the observed values. We can use the as it is the standard testing method for binary classification projects.

In the rows represent the target classes and the columns the output classes for the testing target data set. The diagonal cells in each table show the number of correctly classified cases, and the off-diagonal cells show the misclassified instances.

The following table shows the confusion elements for this application. The following table contains the elements of the confusion matrix.

  Predicted positive Predicted negative
Real positive 13 (28.9%) 8 (18.7%)
Real negative 7 (15.6%) 17 (37.8%)

As we can see, the number of instances that the model can correctly predict is 30 (66.7%), while it misclassifies 15 (33.3%).

The next list depicts the for this application:

  • Classification accuracy: 66.7% (ratio of correctly classified samples).
  • Error rate: 33.3% (ratio of misclassified samples).
  • Sensitivity: 61.9% (percentage of actual positive classified as positive).
  • Specificity: 70.8% (percentage of actual negative classified as negative).

7. Model deployment

The neural network is now ready to predict outputs for inputs that it has never seen.

Below, a specific prediction having determined values for the model's input variables is shown.

  • month: 6 (June)
  • FFMC: 75.12
  • DMC: 94.26
  • DC: 462.3
  • ISI: 7.6
  • temperature: 15.8 ºC
  • RH: 36.0 %
  • wind: 3.3 km/h
  • Fire probability: 74 %

The model predicts that the previous values correspond to a probability of fire is about 74%.

We can now use The objective of the response optimization algorithm is to exploit the mathematical model to look for optimal operating conditions.
Indeed, the predictive model allows us to simulate different operating scenarios and adjust the control variables to improve efficiency.

An example is to minimize fire probability in a fixed month.

The next table resumes the conditions for this problem.

Variable name Condition  
Month Equal to 9
FFMC None  
DMC None  
ISI None  
Temperature None  
RH None  
Wind speed None  
Fire probability Minimize  

The next list shows the optimum values for previous conditions.

  • month: 9 (September)
  • FFMC: 79.5756.
  • DMC: 71.5245.
  • DC: 730.775.
  • ISI: 22.943.
  • temperature: 7.719 ºC.
  • RH: 38.0269 %.
  • wind: 0.650214 km/h.
  • Fire probability: 0.1 %

Note : Find the best solution for electronics components and technical projects  ideas

 

keep in touch with our social media links as mentioned below

Mifratech websites : https://www.mifratech.com/public/

Mifratech https://www.facebook.com/mifratech.lab

mifratech https://www.instagram.com/mifratech/

mifratech twitter account : https://twitter.com/mifratech

Contact for more information : [email protected] / 080-73744810 / 9972364704

 

Popular Coures