ml4chem package

Submodules

ml4chem.metrics module

ml4chem.metrics.compute_mae(outputs, targets, atoms_per_image=None)[source]

Compute MAE

Useful when using futures.

Parameters
  • outputs (list) – List of outputs.

  • targets (list) – List if targets.

  • atoms_per_image (list) – List of atoms per image.

Returns

mae – Mean absolute error.

Return type

float

ml4chem.metrics.compute_mse(outputs, targets, atoms_per_image=None)[source]

Compute MSE

Useful when using futures.

Parameters
  • outputs (list) – List of outputs.

  • targets (list) – List if targets.

  • atoms_per_image (list) – List of atoms per image.

Returns

mse – Mean squared error.

Return type

float

ml4chem.metrics.compute_rmse(outputs, targets, atoms_per_image=None)[source]

Compute RMSE

Useful when using futures.

Parameters
  • outputs (list) – List of outputs.

  • targets (list) – List if targets.

  • atoms_per_image (list) – List of atoms per image.

Returns

rmse – Root-mean squared error.

Return type

float

ml4chem.utils module

ml4chem.visualization module

Module contents