skactiveml.pool.variation_ratios#
- skactiveml.pool.variation_ratios(votes)[source]#
Calculates the variation ratios for measuring the level of disagreement in QueryByCommittee.
- Parameters
- votesarray-like of shape (n_samples, n_estimators)
The class predicted by the estimators for each sample.
- Returns
- scoresnp.ndarray of shape (n_samples,)
The variation ratios of each row in votes.
References
- 1
Beluch, W. H., Genewein, T., Nürnberger, A., and Köhler, J. M. The Power of Ensembles for Active Learning in Image Classification. In Conference on Computer Vision and Pattern Recognition, pages 9368-9377, 2018.