Forest Fires

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 23

* FOREST FIRE PREDICTION

Team members:
Akhila Reddy Sarugari
187Y1A0564
Lella Rishitha
187Y1A0594
Objective of a project:

It is to control and reduce the role of


the forest fires natural hazards for
alpine environment

*INTRODUCTION
*FOREST FIRES
Wild fires can also be
termed forest fires

An uncontrolled fire that is


wiping out large fields and areas
of land

it is the visible part of a


combustion
*FACTORS THAT AFFECT AREA
▪Wind
▪Slope
▪Temperature
▪Humidity
▪Times and seasons
▪Fuels
*effects of wildfires
❖Economic cost
❖Degradation of catchment
areas
❖Soils and organic matter
❖Global warming
❖Deplition of wildlife
*Prevention for
forest fires
*  Follow local ordinances when burning yard waste. 

* Avoid backyard burning in windy conditions, and


keep a shovel, water, and fire retardant nearby to
keep fires in check.

Never discard a cigarette out of a moving car; the dry


shrubbery on the side of the road may easily
*PROBLEM
STATEMENTS
FINDING THE BURNT AREA OF
FOREST FIRES
We need know about three languages
Artificial intelligence
Machine learning
Deep learning

✔ Machine learning is the subset of


Artificial intelligence

✔ Deep learning is the subset of Machine


learning

* To find the burnt area of the forest


we use Machine learning concepts
*ARIFICIAL INTELLIGENCE

The creation of intelligent machines that


work and react like humans. 
*MACHINE LEARNING
*It is a simple concept machine takes data and learn from
data

example:medical diagnosis..etc
* DEEP LEARNING

Deep learning is a class of machine learning


agorithms which is based on neural networks
*MACHINE LEARNING
ml ALGORITHM
* In supervised learning we have two models:

*Regression model:
The goal is to predict the
continous values

*Classification model:
The goal is o predict the
descrete values

*To find the area of forestfires we


use regression model
*REGRESSION MODEL
❑Linear
❑ Multi linear
❑Polynomial
❑Decision tree
❑Random forest

*The best fit we use for finding the


area of forestsfires id randomforest.
*Why we use random
forest regression model?

*Randomforest is the collection number of


decision treees correctively work together.
*From the heatmap the corerelation
*DATASET OF FORESTFIRES
* X,Y,month,day,FFMC,DMC,DC,ISI,temp,RH,wind,rain,area
* 7,5,mar,fri,86.2,26.2,94.3,5.1,8.2,51,6.7,0,0
* 5,4,sep,fri,94.3,85.1,692.3,15.9,20.1,47,4.9,0,1.46
* 1,5,sep,sat,93.4,145.4,721.4,8.1,29.6,27,2.7,0,1.46
* 7,4,aug,sun,94.8,108.3,647.1,17,16.4,47,1.3,0,1.56
* 2,4,sep,sat,93.4,145.4,721.4,8.1,28.6,27,2.2,0,1.61
* 2,2,aug,wed,92.1,111.2,654.1,9.6,18.4,45,3.6,0,1.63
* 2,4,aug,wed,92.1,111.2,654.1,9.6,20.5,35,4,0,1.64
* 7,4,sep,fri,92.4,117.9,668,12.2,19,34,5.8,0,1.69
* 7,4,mar,mon,90.1,39.7,86.6,6.2,16.1,29,3.1,0,1.75
* 6,4,aug,thu,95.2,131.7,578.8,10.4,20.3,41,4,0,1.9
* 6,3,mar,sat,90.6,50.1,100.4,7.8,15.2,31,8.5,0,1.94
* 8,6,sep,sat,92.5,121.1,674.4,8.6,17.8,56,1.8,0,1.95
* 8,5,sep,sun,89.7,90,704.4,4.8,17.8,67,2.2,0,2.01
* 6,5,mar,thu,84.9,18.2,55,3,5.3,70,4.5,0,2.14
* 6,5,aug,wed,92.1,111.2,654.1,9.6,16.6,47,0.9,0,2.29
* 6,5,aug,wed,96,127.1,570.5,16.5,23.4,33,4.5,0,2.51
* 6,5,mar,fri,91.2,48.3,97.8,12.5,14.6,26,9.4,0,2.53
* PYTHON PROGRAM FOR RANDOMFOREST
MODEL WITH FORESTFIRES .CSV

* import numpy as np
* import matplotlib.pyplot as plt
* import pandas as pd

o dataset = pd.read_csv('forestfires.csv')
o X = dataset.iloc[:, [0,1,4,5,6,7,8,9,10,11]].values
o y = dataset.iloc[:, 12].values

*X_train
*X_test
*Y_train
*Y_test

continuation…….
*from sklearn.ensemble import
RandomForestRegressor
*regressor =
RandomForestRegressor(n_estimators =
250, random_state = 0)
*regressor.fit(X, Y)
from sklearn.metrics import r2_score
r2_score(y_test, y__prediction)
*accuracy:0.8753939574203069
*Node-Red Flow
*User interface
*conclusion
✔ Education of people living near danger zones.

✔ Creates comfort and safety although not always the case


as with All hazards.

✔ The obtained forest fire risk maps can be used in


assigning in tactical decisions on prioritizing fires for
initial attack.

You might also like