Materials for a tutorial on Battery Data Science and MRS SP22
These tutorials are designed to be run on cloud resources. Simply click the following box to open the resources on Binder.
A few of the examples are best run on systems with a GPU. You'll see links to running those examples on Google Colab where appropriate.
There are plenty of good reasons to run these examples on your own compute. For example, using the cloud means that the results and any notes will disappear once you are done.
The first step is to install Anaconda on your computer and then build the environment by calling the following command from the command line.
conda env create --file environment.yml --forceOnce done installing, Anaconda will give you a command to activate the computation environment. Active then call jupyter lab to open Jupyter.
Tutorial instructor: Dr. Paul Gasper, Staff Scientist, National Renewable Energy Laboratory
This tutorial walks through the development of a machine-learning model predicting battery capacity from electrochemical impedance spectroscopy data, illustrating basic machine-learning topics such as evaluating model fitness with train/test splits, feature engineering methods, model interrogation, and visualizing predictions using the sklearn library for model development and matplotlib for visualization. The tutorial will use open-source data from Zhang et al, Nature Communications (2020) 11:1706 (paper, github). This tutorial uses the following files in the 'predict_capacity_from_eis' folder:
- ml_predicting_capacity_with_eis.ipynb: Notebook for the tutorial
- ml_predicting_capacity_with_eis_solutions.ipynb: Notebook with solutions to challenge problems
- eisplot.py: visualization function for plotting impedance data
- plotyy.py: visualization function for creating parity plots
- data/data_eis_zhang2020.csv: capacity and EIS measurements from 8 cells throughout their lifetime, from Zhang et al 2020 (see ref. above)
- data/freq_eis_zhang2020.csv: frequency vector for plotting impedance data
