7.3.1. mclearn.heuristics.random_h

mclearn.heuristics.random_h(X_training_candidates, **kwargs)[source]

Return a random candidate.

Parameters:X_training_candidates (array) – The feature matrix of the potential training candidates.
Returns:best_candidate – The index of the best candidate (here it is random).
Return type:int