modelforge.dataset.utils
Utility functions for dataset handling.
Functions
|
Calculates the mean and variance of the dataset. |
|
Calculate the size of each split based on the total size and the split ratios. |
|
Normalizes the energies in the dataset. |
|
Randomly split a TorchDataset into non-overlapping new datasets of given lengths, keeping all conformers in a record in the same split |
|
Perform a two-stage random split of a dataset. |
Classes
|
Strategy to split a dataset based on idx. |
|
Strategy to split a dataset randomly, keeping all configurations in a record in the same split. |
|
Strategy to split a dataset randomly. |
|
Base class for dataset splitting strategies. |