Working on an assignment which requires me to create an array with random numbers whose sum is 1.
The actual problem statement looks something like this :
get_initial_weights
This function should have one parameter, an integer m. This function should return a matrix with 1
row and m columns containing random values, each between zero and one. The sum of these m
values should be equal to one.
Aucun commentaire:
Enregistrer un commentaire