Goal: To speculate and generate random numbers using numpy library
目标: 使用numpy库推测并生成随机数
Random Number Generation: Random number generation in very important in the field of machine learning. It is used to initialize weights in almost every machine learning algorithm.
随机数生成 :随机数生成在机器学习领域中非常重要。 它几乎在每种机器学习算法中都用于初始化权重。
So few functions used for machine learning algorithms from numpy library:
numpy库中用于机器学习算法的函数很少:
numpy.random.rand()
numpy.random.rand()
It take shape of the array as its argument and then generate random numbers