PhysicsML structure#
The physicsml
package is built on top of the molflux
ecosystem
which provides a standard API for handling the different stages of machine learning pipelines (accessing datasets,
featurising, splitting, building models, and computing metrics).
molflux
also handles and abstracts away the boilerplate code for training torch
models
via the lightning
integration molflux[lightning]
. For more info about lightning
, see their documentation.
Layers#
There are three layers to physicsml
models:
The
molflux
layer: handles all functionality relating to the high level API.The
lightning
layer: handles all boilerplate code for training and inference.The
torch
layer: handles thetorch
level functionality of the models.
In the following sections, we discuss each of these layers, explain what they’re responsible for, their flexibility, and how you work with them.