src.ml.utilsΒΆ
Utility functions for machine learning operations.
Functions
Calculate the difference in accuracy between min and max blur levels for all Stimulus models. |
|
Calculate the frobenius norm of model parameters. |
|
|
|
Count the number of parameters in a model. |
|
Generates a score report. |
|
Get balanced weights per class for cross-entropy loss. |
|
Get latent embedding divided by output class labels. |
|
Plot loss and accuracy curves. |
|
Print training logs. |
|