Releases: muammar/ml4chem
Releases · muammar/ml4chem
0.0.9
0.0.8
These changes are related to ML4Chem’s publication:
-
Creation of
atomistic
module to comply with publication structure. -
models
:- All models comply with base class inheritance using
mixin
. models
moved toatomistic.models
. Scripts have to be changed as the following example
from ml4chem.atomistic.models.neuralnetwork import NeuralNetwork
.- SVM model refactoring.
training
class can takecheckpoint
dictionary to save checkpoints during training.NeuralNetwork
andRetentionTime
models support training withtest
error.- New
get_activations
function to get activations of neural network.
- All models comply with base class inheritance using
-
features
:features
moved toatomistic.features
. Scripts have to be changed as the following example
from ml4chem.atomistic.features.gaussian import Gaussian
.
-
data.visualization
moved to.visualization
.read_log()
function now supportsdata_only
keyword argument to return only data instead of matplotlib plot.plot_atomic_features
supports now backend keyword arguments and preprocessing of features before doing PCA or T-SNE usingmake_pipeline
. Example:
backend_kwargs = {"perplexity": 500}
dimension = 2
dot_size = 3
plot, df = plot_atomic_features(
latent_space,
method="tsne",
preprocessor=StandardScaler(),
dimensions=dimension,
backend="plotly",
dot_size=dot_size,
backend_kwargs=backend_kwargs
)
-
Restructured documentation.
-
AtomicMSELoss
supports penalization using a list of uncertainties. -
Potentials
class moved toatomistic
module. It has to be imported as
from ml4chem.atomistic import Potentials
.
0.0.7
0.0.6
data.parser
:- Support ANI datasets.
- Renamed
FakeCalculator
toSinglePointCalculator
.
features.gaussian
: RefactoredGaussian
class.- Support of Coulomb Matrix with DScribe. This serves as an example to implement all descriptors available in that library.
models.kernelridge
partially improved efficiency ofKernelRidge
class.
0.0.5
- New
to_pandas()
method to convert features to DataFrame. - Print date where a module was accessed.
- New base classes that can be used to build new features and model modules.
- New
Annealer()
class for training VAEs. Right now it is hardcoded in the VAE class but will be improved later. - Addition of
MultiStepLR
andStepLR
learning rate schedulers. - ml4chem.data.visualization: Added kwargs to plot_atomic_features()
- Improved memory usage of Gaussian() at "training", and fixed KernelRidge.
- A
batch_size
keyword argument can be passed to thePotentials.load()
function so that we can do predictions of trajectory files instead of Atoms().