def _set_random_seeds():
    """Set new random seeds for the process.
    """
    try:
        import numpy as np
        np.random.seed()
    except:
        pass

    try:
        import scipy as sp
        sp.random.seed()
    except:
        pass

    import random
    random.seed()
Set new random seeds for the process.