Aún sin autorAsumirla
Versión 3Actualizado 4 min de lectura
- Licencia
- CC0 1.0 (dominio público)Adaptado de pubs.er.usgs.gov
- Idiomas
- English
- Temas
- NaturalezaCiencia
Setting a water-use limit or designing a culvert needs numbers about a river, but water managers often need them at places with little to no flow information. State and local water managers use flow estimates to set limits on water use, to balance human needs against fisheries and recreation, and to size structures such as culverts. This U.S. Geological Survey study asked which prediction method does the best job at places with little or no flow data.
What was compared
Few regional or national studies had tested machine learning for predicting streamflow measures at ungaged locations, and most looked at only a narrow slice of the flow regime. This one covers 106 flow metrics, grouped by time frame: flood metrics, annual flow metrics, and seasonal and monthly flow metrics. Six are ecologically relevant and the other 100 come from the StreamStats database.
Four methods were tested, all with the same inputs: 176 natural basin attributes (size and slope, climate, base flow, soils and hydrologic landscape regions) for each streamgage.
| Method | Idea in brief |
|---|---|
| Multiple linear regression | The baseline for comparison; limited to the top five basin attributes found by stepwise selection |
| Random forest | Hundreds to thousands of decision trees, each built from a random subset of predictors; the final answer is the average of all trees |
| Support vector regression | Fits a function inside a user-defined "corridor"; a wider corridor is less affected by swings in the data |
| Cubist regression | A decision tree whose end nodes each fit a linear regression, simplified into if-then rules |

Concept diagrams of the three machine learning methods.
For floods, the study used 545 streamgages in the northwest United States and previously published flood values for the 2-, 5-, 10-, 25-, 50-, 100- and 500-year events. For all other metrics it used 1,851 streamgages across the conterminous United States, with flows calculated for 1950 to 2018. The gages were a subset of about 9,000 in the GAGES II database.

The 545 streamgages used to build the flood models.

The 1,851 streamgages used for all other metrics.
Each method was trained on 90 percent of the gages and tested on the other 10 percent. This was repeated 100 times with random selection. Scores combine four weakly correlated measures into a composite performance metric between 0 and 1, where higher is better. Flood metrics also report root mean square error.
What the results showed
- Floods: cubist and support vector regression had the lowest error at every recurrence interval, about 20 to 30 percent below linear regression, which performed worst overall. Random forest underpredicted the largest floods and overpredicted the smallest.
- Everything else: random forest usually scored highest. Its gains were large for some metrics, such as the skew of daily flows and the duration and frequency of high-flow pulses, and modest for others, such as median and mean flows.
- Predictability: high flows, mean flows and median flows are easier to predict than low flows. Months from January through May, typically the wetter ones, are more predictable than June through September. Timing metrics based on Julian day are often unpredictable, but timing metrics based on how often events occur can be predicted.
- A flaw in two methods: linear regression and support vector regression sometimes predicted negative flows where observed flows were small, at under 10 percent of test sites.

Observed against predicted 50-year flood from the four methods.
Why random forest struggles with floods
The authors suggest three reasons. Few observations lie at the extremes of the training data, so random forest draws mostly from the middle. Drainage area dominates flood prediction, yet random selection can leave it out of many trees. And averaging the observations in each tree's end nodes pulls predictions toward the median. Cubist avoids the last problem because it fits a regression in each end node rather than an average.
Cubist has a practical advantage too: its rules and linear fits are easier for most users to follow.
What drives flows
Winter precipitation and winter runoff were the key predictors for floods, along with drainage area and the base-flow index. The partial dependency plots show flood size rising in a straight line with December precipitation. Low flows depended mostly on base flow and soils: runoff rose as the share of well-drained, highly permeable soils in hydrologic group A grew.

How the models' predictions change as one predictor varies.
Limits
The study assumed the observations are independent, which may not hold for floods, and assumed no trends over time. It did not test how redrawing the study regions would change results.
Summary
For flood metrics, cubist and support vector regression made substantially smaller errors than the other approaches. For the remaining metrics random forest was best, though some of its gains were modest.
Sources
- U.S. Geological Survey, Evaluation of machine learning approaches for predicting streamflow metrics across the conterminous United States (https://pubs.er.usgs.gov/publication/sir20225058/full); rewritten in hubnx's own words.
Comentarios

Sigue leyendo
Más sobre Naturaleza



