Understanding random seeds
While random numbers are important for many analyses, they create a problem: the results you get can vary slightly. This can cause awkward conversations with your boss when your script for calculating the sales forecast gives different answers each time.
Setting the seed for numpy's random number generator helps avoid such problems by making the random number generation reproducible.
Latihan ini adalah bagian dari kursus
Sampling in Python
Latihan interaktif praktis
Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.
Mulai berolahraga