Skip to content

davermurray/mf-trees

Repository files navigation

mf-trees

Repository for working with Tree-based ML algorithms on finding potential monitoring locations in a groundwater basin using the inherent tree feature importance.

We use the USGS MODFLOW-2005 model to generate synthetic hydraulic head a nd streamflow values for testing. We use flopy to generate inputs and run the MODFLOW model. The code for this is in the mf_notebooks folder. There are 3 scenarios: a simple steady state run, a transient scenario with constant pumping, and a transient scenario with seasonal pumping.

The notebooks in this directory house the Tree-based ML algorithm iimplementation (using sklean) for training and testing code blocks for each of the 3 scenarios.

treefuncs.py is a utility file that has useful functions for running and plotting results.