Two multilayer perceptron models trained on real forest data ยท scikit-learn MLPClassifier / MLPRegressor
90.4%
Cover type accuracy
On held-out test data
48K / 12K
Train / test plots
Sampled from 581K total
3 layers
Network depth
128 โ 64 โ 32 neurons
60 epochs
Training iterations
Covertype ยท ReLU ยท Adam
Cover Type Classifier 90.4% accurate
โ Excellent result. The network learned to predict forest cover type from just 10 terrain measurements (elevation, slope, distances) with 90.4% accuracy. Lodgepole Pine is the easiest to identify (95.7%) because it occupies a very distinct elevation band. Ponderosa Pine is hardest (61.1%) โ it overlaps with Douglas-fir in mid-elevation terrain.
Per-class accuracy โ how well the model identifies each species
Feature importance โ which inputs matter most
Confusion matrix โ rows = actual species ยท columns = predicted ยท numbers are % of actual class
Decision space โ what species does the model predict at each elevation & fire-distance combination?
(all other features fixed at median values)
0 m1,000 m2,000 m3,000 m4,000 m
โ Distance from nearest fire ignition point (m)
Fire Size Predictor A hard problem
โ ๏ธ Fire size is notoriously difficult to predict from weather alone. The model's Rยฒ is negative โ meaning it's worse than simply predicting the average. This isn't a modelling failure โ it's a well-known result. Over 47% of fires in the dataset burned zero hectares, and a handful burned >100 ha. The distribution is so extreme that no simple model can reliably separate "will this be catastrophic?" from weather data alone. What the model does show is which features matter most: temperature, drought code (DC), and wind speed.
Training loss โ model learns but overfits quickly
Feature importance โ what the model leaned on
Actual vs predicted burn area (ha) โ each dot is one fire in the test set
A perfect model would have all points on the diagonal line. The spread shows how unpredictable individual fire sizes are. The model predicts moderate values (2โ15 ha) for almost everything, while actual sizes range from 0 to 1,091 ha.