which means ratios becomes a list containing one element, the array [70 30], instead of a list containing 70 and 30. Either the mushrooms.clj code need to be updated to be
or the ampersand needs to be removed from the random-split definition.
I would assume the former (changing the call in mushrooms.clj) is preferable since it is an example, and not an API function that may be in use by other people.
mushrooms.clj has the code
However,
ds/random-split
is currently defined aswhich means ratios becomes a list containing one element, the array
[70 30]
, instead of a list containing70
and30
. Either the mushrooms.clj code need to be updated to beor the ampersand needs to be removed from the random-split definition.
I would assume the former (changing the call in mushrooms.clj) is preferable since it is an example, and not an API function that may be in use by other people.