===========
Utilities
===========



.. currentmodule:: utils

.. autofunction:: get_unif_Vmax(mu)

.. autofunction:: normalize_labels(labels, labels_mean, labels_std)


.. autofunction:: normalize_features(features, features_mean, features_std, dataset='UTKFace')


.. autofunction:: str_to_bool(string)


.. autofunction:: generate_intervals(num_dists, p=0.5)

.. autofunction:: choose_distribution(intervals)


.. autofunction:: get_mean_avg_variance(noise_type,avg_variance_m,mu1,p)


.. autofunction:: print_experiment_information(args)

.. autofunction:: filter_batch(predictions, labels, noise_var, threshold = 0.4)


.. autofunction:: assert_args_mixture(args)

