7.3.2. mclearn.heuristics.entropy_h

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

Return the candidate whose prediction vector displays the greatest Shannon entropy.

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