randobs

function defined in module MLUtils


			randobs(data, [n])

Pick a random observation or a batch of n random observations from data. For this function to work, the type of data must implement numobs and getobs.

Methods

There are 2 methods for MLUtils.randobs: