{"id":3498,"date":"2023-08-31T11:12:59","date_gmt":"2023-08-31T11:12:59","guid":{"rendered":"https:\/\/neuraldesigner.com\/learning\/forest-fires\/"},"modified":"2025-09-15T16:27:51","modified_gmt":"2025-09-15T14:27:51","slug":"forest-fires","status":"publish","type":"learning","link":"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/","title":{"rendered":"Predict forest fires using machine learning"},"content":{"rendered":"<p>In this post, we develop a machine learning model to predict forest fires.<\/p>\n<p>Forest fires lead to deforestation, biodiversity loss, air pollution, soil erosion, and ecosystem disruption, causing severe environmental issues.<\/p>\n<section>This example is solved with the data science and machine learning platform <a href=\"https:\/\/www.neuraldesigner.com\/\">Neural Designer<\/a>. To follow it step by step, you can use the <a href=\"https:\/\/www.neuraldesigner.com\/free-trial\">free trial<\/a>.<\/section>\n<section>\n<h3>Contents<\/h3>\n<ol>\n<li><a href=\"#ApplicationType\">Application type<\/a>.<\/li>\n<li><a href=\"#DataSet\">Data set<\/a>.<\/li>\n<li><a href=\"#NeuralNetwork\">Neural network<\/a>.<\/li>\n<li><a href=\"#TrainingStrategy\">Training strategy<\/a>.<\/li>\n<li><a href=\"#ModelSelection\">Model selection<\/a>.<\/li>\n<li><a href=\"#TestingAnalysis\">Testing analysis<\/a>.<\/li>\n<li><a href=\"#ModelDeployment\">Model deployment<\/a>.<\/li>\n<\/ol>\n<\/section>\n<section>\n<h2>1. Application type<\/h2>\n<p>This is a <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications#Classification\">classification<\/a> project since the variable to be predicted is binary (fire or no fire).<\/p>\n<p>The goal 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.<\/p>\n<\/section>\n<section>\n<h2>2. Data set<\/h2>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set\">data set<\/a> comprises a data matrix in which columns represent variables and rows represent instances.<\/p>\n<p>The data file <a href=\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/10\/forestfires.csv\">forestfires.csv<\/a> contains the data needed to create the model.<\/p>\n<p>Here, the number of variables is 9, and the number of instances is 515.<\/p>\n<h3>Variables<\/h3>\n<p>This data set contains the following <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#Variables\">variables<\/a> that contain data measured in the northeast region of Portugal:<\/p>\n<h4>Temporal variable<\/h4>\n<ul data-start=\"109\" data-end=\"146\">\n<li data-start=\"109\" data-end=\"146\">\n<p data-start=\"111\" data-end=\"146\"><strong data-start=\"111\" data-end=\"120\">month<\/strong> \u2013 Month of observation.<\/p>\n<\/li>\n<\/ul>\n<h4>FWY system indices<\/h4>\n<ul>\n<li data-start=\"179\" data-end=\"216\"><strong data-start=\"179\" data-end=\"187\">FFMC<\/strong> \u2013 Fine Fuel Moisture Code.<\/li>\n<li data-start=\"219\" data-end=\"250\"><strong data-start=\"219\" data-end=\"226\">DMC<\/strong> \u2013 Duff Moisture Code.<\/li>\n<li data-start=\"253\" data-end=\"277\"><strong data-start=\"253\" data-end=\"259\">DC<\/strong> \u2013 Drought Code.<\/li>\n<li data-start=\"280\" data-end=\"313\"><strong data-start=\"280\" data-end=\"287\">ISI<\/strong> \u2013 Initial Spread Index.<\/li>\n<\/ul>\n<h4>Weather variables<\/h4>\n<ul>\n<li data-start=\"345\" data-end=\"375\"><strong data-start=\"345\" data-end=\"353\">temp<\/strong> \u2013 Temperature (\u00b0C).<\/li>\n<li data-start=\"378\" data-end=\"411\"><strong data-start=\"378\" data-end=\"384\">RH<\/strong> \u2013 Relative humidity (%).<\/li>\n<li data-start=\"414\" data-end=\"445\"><strong data-start=\"414\" data-end=\"422\">wind<\/strong> \u2013 Wind speed (km\/h).<\/li>\n<\/ul>\n<h4>Target variable<\/h4>\n<ul data-start=\"473\" data-end=\"530\">\n<li data-start=\"473\" data-end=\"530\">\n<p data-start=\"475\" data-end=\"530\"><strong data-start=\"475\" data-end=\"484\">class<\/strong> \u2013 Fire occurrence (1 = fire, 0 = not fire).<\/p>\n<\/li>\n<\/ul>\n<h3>Instances<\/h3>\n<p>Each <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#Instances\">instance<\/a>\u00a0in the dataset represents the fire weather conditions of a specific area and month, including fuel moisture indices, temperature, humidity, wind speed, and whether a fire occurred.<\/p>\n<p>The dataset contains 515 instances, split into 333 for training (80%), 45 for validation (10%), and 45 for testing (10%).<\/p>\n<h3>Statistics<\/h3>\n<p>We can perform a few related analytics once the data set is set up. First, we check the provided information and ensure that the data is of high quality.<\/p>\n<p>You can calculate data <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#Statistics\">statistics<\/a> and create a table with the minimum, maximum, mean, and standard deviation for each variable.<\/p>\n<p>The table below shows these values.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/forest-fires-statistics.webp\" \/><\/p>\n<h3>Distributions<\/h3>\n<p>Also, we can calculate the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#Distributions\">distributions<\/a> for all variables. The following figure shows a pie chart with the proportion of fire (positives) and no fire (negatives) following our dataset.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/forest-fires-pie-chart.webp\" \/><\/p>\n<p>As we can see, the number of fire cases is 45.4% of the samples, and non-fire fire represent approximately 54.6% of the pieces.<\/p>\n<h3>Input-target correlations<\/h3>\n<p>Finally, the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#InputsTargetsCorrelations\">input-target correlations<\/a> might indicate what factors most influence fires.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/forest-fires-correlations.webp\" \/><\/p>\n<p>Here, the different variables are a little correlated. Indeed, a forest fire depends on many factors simultaneously.<\/p>\n<\/section>\n<section>\n<h2>3. Neural network<\/h2>\n<p>The second step is to set a <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network\">neural network<\/a> representing the classification function. For this class of applications, the neural network is composed of:<\/p>\n<ul>\n<li>Scaling layer.<\/li>\n<li>Perceptron layers.<\/li>\n<li>Probabilistic layer.<\/li>\n<\/ul>\n<h3>Scaling layer<\/h3>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network#ScalingLayer\">scaling layer<\/a> stores the input statistics from the data file and the chosen scaling method.<\/p>\n<p>In this case, the min\u2013max method is used, though mean\u2013std scaling would give similar results.<\/p>\n<h3>Dense layers<\/h3>\n<p>The number of <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network#PerceptronLayers\">perceptron layers<\/a> is 1. This perceptron layer has 8 inputs and 8 neurons.<\/p>\n<p>Finally, we will set the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network#BinaryProbabilisticMethod\">binary probabilistic method<\/a> for the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network#ProbabilisticLayer\">probabilistic layer<\/a>, as we want the predicted target variable to be binary.<\/p>\n<h3>Neural network graph<\/h3>\n<p>The following picture shows a graph of the neural network for this example.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/forest-fires-neural-network.webp\" alt=\"Neural network graph\" \/><\/p>\n<p>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.<\/p>\n<\/section>\n<section>\n<h2>4. Training strategy<\/h2>\n<p>The procedure used to carry out the learning process is called a <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy\">training strategy<\/a>. The training strategy is applied to the neural network to obtain the best possible performance. The type of training is determined by how the parameters in the neural network are adjusted.<\/p>\n<p>This process is composed of two terms:<\/p>\n<ul>\n<li>A loss index.<\/li>\n<li>An optimization algorithm.<\/li>\n<\/ul>\n<h3>Loss index<\/h3>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#LossIndex\">loss index<\/a> that we use is the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#WeightedSquaredError\">weighted squared error<\/a> with <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#L2Regularization\">L2 regularization<\/a>. This is the default loss index for binary classification applications.<\/p>\n<p>The learning problem is finding a neural network that minimizes the loss index. That is a neural network that fits the data set (<a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#ErrorTerm\">error term<\/a>) and does not oscillate (<a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#RegularizationTerm\">regularization term<\/a>).<\/p>\n<h3>Optimization algorithm<\/h3>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#OptimizationAlgorithm\">optimization algorithm<\/a> that we use is the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#QuasiNewtonMethod\">quasi-Newton method<\/a>. This is also the standard optimization algorithm for this type of problem.<\/p>\n<h3>Training<\/h3>\n<p>The following chart shows how errors decrease with the iterations during training.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/forest-fires-quasi-newton.webp\" \/><\/p>\n<article class=\"text-token-text-primary w-full focus:outline-none scroll-mt-[calc(var(--header-height)+min(200px,max(70px,20svh)))]\" dir=\"auto\" tabindex=\"-1\" data-turn-id=\"request-68c14edc-00d8-832b-af79-36da58cd2575-2\" data-testid=\"conversation-turn-274\" data-scroll-anchor=\"true\" data-turn=\"assistant\">\n<div class=\"text-base my-auto mx-auto pb-10 [--thread-content-margin:--spacing(4)] thread-sm:[--thread-content-margin:--spacing(6)] thread-lg:[--thread-content-margin:--spacing(16)] px-(--thread-content-margin)\">\n<div class=\"[--thread-content-max-width:40rem] thread-sm:[--thread-content-max-width:40rem] thread-lg:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group\/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn\" tabindex=\"-1\">\n<div class=\"flex max-w-full flex-col grow\">\n<div class=\"min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal [.text-message+&amp;]:mt-5\" dir=\"auto\" data-message-author-role=\"assistant\" data-message-id=\"acd23d63-a69d-42e8-9fa1-bc812d3996df\" data-message-model-slug=\"gpt-5\">\n<div class=\"flex w-full flex-col gap-1 empty:hidden first:pt-[3px]\">\n<div class=\"markdown prose dark:prose-invert w-full break-words light markdown-new-styling\">\n<p data-start=\"0\" data-end=\"73\" data-is-last-node=\"\" data-is-only-node=\"\">The final errors are 0.966 WSE for training and 0.933 WSE for validation.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/article>\n<\/section>\n<section>\n<h2>5. Model selection<\/h2>\n<p>The objective of <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-selection\">model selection<\/a> is to find the network architecture with the best generalization properties, which minimizes the error on the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#SelectionInstances\">selected instances<\/a> of the data set.<\/p>\n<p>More specifically, we\u00a0<span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">aim to develop a neural network with a selection error of less than\u00a0<strong>0.933 WSE<\/strong>, the current best value we have achieved<\/span>.<\/p>\n<p><a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-selection#OrderSelection\">Order selection<\/a> algorithms train several network architectures with a different number of neurons and select the one with the smallest selection error.<\/p>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-selection#IncrementalOrder\">incremental order<\/a> method starts with a few neurons and increases the complexity at each iteration.<\/p>\n<\/section>\n<section>\n<h2>6. Testing analysis<\/h2>\n<p>The last step is to test the generalization performance of the trained neural network.<\/p>\n<p>The objective of the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/testing-analysis\">testing analysis<\/a> 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.<\/p>\n<h3>ROC curve<\/h3>\n<p>We can use the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/testing-analysis#RocCurve\">ROC curve<\/a> as it is the standard testing method for binary classification projects.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/forest-fires-ROC.webp\" \/><\/p>\n<h3>Confusion matrix<\/h3>\n<p>In the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/testing-analysis#ConfusionMatrix\">confusion matrix<\/a>, the rows represent the target classes, and the columns are 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.<\/p>\n<p>The following table shows the confusion matrix elements for this application. The following table contains the elements of the confusion matrix.<\/p>\n<table>\n<tbody>\n<tr>\n<th><\/th>\n<th>Predicted positive<\/th>\n<th>Predicted negative<\/th>\n<\/tr>\n<tr>\n<th>Real positive<\/th>\n<td style=\"text-align: right;\">13 (28.9%)<\/td>\n<td style=\"text-align: right;\">8 (18.7%)<\/td>\n<\/tr>\n<tr>\n<th>Real negative<\/th>\n<td style=\"text-align: right;\">7 (15.6%)<\/td>\n<td style=\"text-align: right;\">17 (37.8%)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>As we can see, the model correctly predicts 30 instances (66.7%) and misclassifies 15 (33.3%).<\/p>\n<h3>Binary classification metrics<\/h3>\n<p>The following list depicts the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/testing-analysis#BinaryClassificationTests\">binary classification tests<\/a> for this application:<\/p>\n<ul>\n<li><b>Classification accuracy: 66.7% <\/b> (ratio of correctly classified samples).<\/li>\n<li><b>Error rate: 33.3%<\/b> (ratio of misclassified samples).<\/li>\n<li><b>Sensitivity: 61.9%<\/b> (percentage of actual positives classified as positive).<\/li>\n<li><b>Specificity: 70.8%<\/b> (percentage of actual negatives classified as negative).<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>7. Model deployment<\/h2>\n<p>The neural network is now ready to predict outputs for inputs it has never seen.<\/p>\n<h3>Neural network outputs<\/h3>\n<p>Below, a specific prediction having determined values for the model&#8217;s input variables is shown.<\/p>\n<ul>\n<li><b>month: <\/b>6 (June)<\/li>\n<li><b>FFMC: <\/b>75.12<\/li>\n<li><b>DMC: <\/b>94.26<\/li>\n<li><b>DC: <\/b>462.3<\/li>\n<li><b>ISI: <\/b>7.6<\/li>\n<li><b>temperature: <\/b>15.8 \u00baC<\/li>\n<li><b>RH: <\/b>36.0 %<\/li>\n<li><b>wind: <\/b>3.3 km\/h<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><b>Fire probability: <\/b>74 %<\/li>\n<\/ul>\n<p>The model predicts that the previous values correspond to a fire probability of <b>74%<\/b>.<\/p>\n<h3>Risk map<\/h3>\n<p>With the previous algorithm created, we can predict the fire risk and generate a fire risk map.<\/p>\n<p>The following images show an example of such a map:<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/Potugal-map-risk.webp\" \/><\/pre>\n<p>The image above shows the forest fire risk in Portugal.<\/p>\n<\/section>\n<section>\n<h2>References<\/h2>\n<ul>\n<li>The data for this problem has been taken from the <a href=\"https:\/\/archive.ics.uci.edu\/ml\/datasets\/Forest+Fires\" target=\"_blank\" rel=\"noopener\">UCI Machine Learning Repository<\/a>.<\/li>\n<li>[Cortez and Morais, 2007] P. Cortez and A. Morais. A Data Mining Approach to Predict Forest Fires using Meteorological Data. In J. Neves, M. F. Santos and J. Machado Eds., New Trends in Artificial Intelligence, Proceedings of the 13th EPIA 2007 &#8211; Portuguese Conference on Artificial Intelligence, December, Guimares, Portugal, pp. 512-523, 2007. APPIA, ISBN-13 978-989-95618-0-9.\u00a0<a href=\"http:\/\/www3.dsi.uminho.pt\/pcortez\/fires.pdf\" target=\"_blank\" rel=\"noopener\">Web Link<\/a>.<\/li>\n<li>Portugal fire risk map image <a href=\"https:\/\/www.researchgate.net\/figure\/Map-of-integrated-risk-for-Portugal-counties_fig4_265915488\" target=\"_blank\" rel=\"noopener\">Web Link<\/a>.<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>Related posts<\/h2>\n<\/section>\n","protected":false},"author":11,"featured_media":2160,"template":"","categories":[29],"tags":[46],"class_list":["post-3498","learning","type-learning","status-publish","has-post-thumbnail","hentry","category-examples","tag-environment"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Predict forest fires using machine learning<\/title>\n<meta name=\"description\" content=\"Build a machine learning model to predict forest fires according to a series of indices developed by the FWI system.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Forest fires machine learning example\" \/>\n<meta property=\"og:description\" content=\"In this example, we develop a classification method for predicting forest fires.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/\" \/>\n<meta property=\"og:site_name\" content=\"Neural Designer\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-15T14:27:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/forest_fire.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Forest fires machine learning example\" \/>\n<meta name=\"twitter:description\" content=\"In this example, we develop a classification method for predicting forest fires.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/forest_fire.webp\" \/>\n<meta name=\"twitter:site\" content=\"@NeuralDesigner\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/\",\"url\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/\",\"name\":\"Predict forest fires using machine learning\",\"isPartOf\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/forest_fire.webp\",\"datePublished\":\"2023-08-31T11:12:59+00:00\",\"dateModified\":\"2025-09-15T14:27:51+00:00\",\"description\":\"Build a machine learning model to predict forest fires according to a series of indices developed by the FWI system.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/#primaryimage\",\"url\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/forest_fire.webp\",\"contentUrl\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/forest_fire.webp\",\"width\":1200,\"height\":628},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.neuraldesigner.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Learning\",\"item\":\"https:\/\/www.neuraldesigner.com\/learning\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Predict forest fires using machine learning\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.neuraldesigner.com\/#website\",\"url\":\"https:\/\/www.neuraldesigner.com\/\",\"name\":\"Neural Designer\",\"description\":\"Explanable AI Platform\",\"publisher\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.neuraldesigner.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.neuraldesigner.com\/#organization\",\"name\":\"Neural Designer\",\"url\":\"https:\/\/www.neuraldesigner.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png\",\"contentUrl\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png\",\"width\":1024,\"height\":223,\"caption\":\"Neural Designer\"},\"image\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/NeuralDesigner\",\"https:\/\/es.linkedin.com\/showcase\/neuraldesigner\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Predict forest fires using machine learning","description":"Build a machine learning model to predict forest fires according to a series of indices developed by the FWI system.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/","og_locale":"en_US","og_type":"article","og_title":"Forest fires machine learning example","og_description":"In this example, we develop a classification method for predicting forest fires.","og_url":"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/","og_site_name":"Neural Designer","article_modified_time":"2025-09-15T14:27:51+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/forest_fire.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_title":"Forest fires machine learning example","twitter_description":"In this example, we develop a classification method for predicting forest fires.","twitter_image":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/forest_fire.webp","twitter_site":"@NeuralDesigner","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/","url":"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/","name":"Predict forest fires using machine learning","isPartOf":{"@id":"https:\/\/www.neuraldesigner.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/#primaryimage"},"image":{"@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/#primaryimage"},"thumbnailUrl":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/forest_fire.webp","datePublished":"2023-08-31T11:12:59+00:00","dateModified":"2025-09-15T14:27:51+00:00","description":"Build a machine learning model to predict forest fires according to a series of indices developed by the FWI system.","breadcrumb":{"@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/#primaryimage","url":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/forest_fire.webp","contentUrl":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/forest_fire.webp","width":1200,"height":628},{"@type":"BreadcrumbList","@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/forest-fires\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.neuraldesigner.com\/"},{"@type":"ListItem","position":2,"name":"Learning","item":"https:\/\/www.neuraldesigner.com\/learning\/"},{"@type":"ListItem","position":3,"name":"Predict forest fires using machine learning"}]},{"@type":"WebSite","@id":"https:\/\/www.neuraldesigner.com\/#website","url":"https:\/\/www.neuraldesigner.com\/","name":"Neural Designer","description":"Explanable AI Platform","publisher":{"@id":"https:\/\/www.neuraldesigner.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.neuraldesigner.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.neuraldesigner.com\/#organization","name":"Neural Designer","url":"https:\/\/www.neuraldesigner.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png","contentUrl":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png","width":1024,"height":223,"caption":"Neural Designer"},"image":{"@id":"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/NeuralDesigner","https:\/\/es.linkedin.com\/showcase\/neuraldesigner\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning\/3498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning"}],"about":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/types\/learning"}],"author":[{"embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/users\/11"}],"version-history":[{"count":0,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning\/3498\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/media\/2160"}],"wp:attachment":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/media?parent=3498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/categories?post=3498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/tags?post=3498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}