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
molfluxlayer: handles all functionality relating to the high level API.The
lightninglayer: handles all boilerplate code for training and inference.The
torchlayer: handles thetorchlevel 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.