<p dir="auto">Hi all,</p>
<p dir="auto">I was going through the API reference and noticed that some classifiers (eg. <a href="https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.BaggingClassifier.html" rel="nofollow">BaggingClassifier</a>) are lacking examples. I've created some examples for these and would love to contribute them! Thanks</p>
<p dir="auto"><strong>UPDATE May 23 202</strong></p>
<p dir="auto">Here's a list of the remaining classes:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> feature_selection.SelectorMixin</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> calibration.CalibratedClassifierCV (<a href="https://github.com/scikit-learn/scikit-learn/pull/15134" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/15134/hovercard">#15134</a>)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> decomposition.DictionaryLearning (<a href="https://github.com/scikit-learn/scikit-learn/pull/16907" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/16907/hovercard">#16907</a>)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> decomposition.MiniBatchDictionaryLearning (<a href="https://github.com/scikit-learn/scikit-learn/pull/16907" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/16907/hovercard">#16907</a>)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> decomposition.SparseCoder (<a href="https://github.com/scikit-learn/scikit-learn/pull/15233" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/15233/hovercard">#15233</a>)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ensemble.GradientBoostingClassifier</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> gaussian_process.kernels.CompoundKernel</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> gaussian_process.kernels.Hyperparameter</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> gaussian_process.kernels.Kernel</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> gaussian_process.kernels.PairwiseKernel</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> inspection.PartialDependenceDisplay</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> linear_model.PoissonRegressor</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> linear_model.TweedieRegressor</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> linear_model.GammaRegressor</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> metrics.ConfusionMatrixDisplay</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> metrics.PrecisionRecallDisplay</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> mixture.BayesianGaussianMixture</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> mixture.GaussianMixture</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> multioutput.ClassifierChain (<a href="https://github.com/scikit-learn/scikit-learn/pull/15211" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/15211/hovercard">#15211</a>)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> multioutput.RegressorChain (<a href="https://github.com/scikit-learn/scikit-learn/pull/15215" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/15215/hovercard">#15215</a>)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> neighbors.BallTree</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> neighbors.DistanceMetric</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> neighbors.KDTree</li>
</ul>
<hr>
<p dir="auto">Most of the docs in classes lack examples. It would be great to add one or two examples similar to this, <a href="http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Lasso.html" rel="nofollow">http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Lasso.html</a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/449558/42726195-f31a227c-8755-11e8-8156-57ecf714614c.png"><img src="https://user-images.githubusercontent.com/449558/42726195-f31a227c-8755-11e8-8156-57ecf714614c.png" alt="image" style="max-width: 100%;"></a></p>