Two connected web apps, built in Summer 2025 for Lehigh University's Chemical and Biomolecular Engineering department as part of an NSF/CACHE-supported set of teaching modules:
-
Teaching module: students learn Bayesian optimization by optimizing a simulated photobioreactor that grows microalgae to produce lutein. 🔗 https://srrweb.cc.lehigh.edu/app/bayesian_optimization
-
Lab tool: researchers enter their own parameters and past results, and the app suggests the next experiment to run. 🔗 https://srrweb.cc.lehigh.edu/app/lab_bayesian_optimization
- Built the teaching module's web page (
bayesian_optimization.html): the layout, styling and tabbed content that explains Bayesian optimization, surrogate models (Gaussian process, random forest, extra trees), acquisition functions (EI, LCB, GP Hedge) and sampling methods (random, Sobol, Latin hypercube), plus step-by-step instructions and guiding questions for students. - Helped design both tools: how users move through the workflow and what options they can choose.
- Tested the optimization model on real experimental data to check that its suggestions made sense before release.
The app uses scikit-optimize to fit a surrogate model (Gaussian process, random forest or extra trees) to past results. An acquisition function then picks the most promising next experiment.
Python · Bokeh · scikit-optimize · NumPy · HTML/CSS
pip install bokeh scikit-optimize numpy
bokeh serve --show General_Frontend.py