|
| 1 | + |
1 | 2 | =============
|
2 | 3 | API Reference
|
3 | 4 | =============
|
@@ -144,45 +145,96 @@ Classes
|
144 | 145 | covariance.graph_lasso
|
145 | 146 |
|
146 | 147 |
|
147 |
| -.. _cross_validation_ref: |
148 |
| - |
149 |
| -:mod:`sklearn.cross_validation`: Cross Validation |
150 |
| -================================================= |
| 148 | +:mod:`sklearn.model_selection`: Model Selection |
| 149 | +=============================================== |
151 | 150 |
|
152 |
| -.. automodule:: sklearn.cross_validation |
| 151 | +.. automodule:: sklearn.model_selection |
153 | 152 | :no-members:
|
154 | 153 | :no-inherited-members:
|
155 | 154 |
|
156 |
| -**User guide:** See the :ref:`cross_validation` section for further details. |
| 155 | +**User guide:** See the :ref:`cross_validation`, :ref:`grid_search` and |
| 156 | +:ref:`learning_curve` sections for further details. |
| 157 | + |
| 158 | +Splitters |
| 159 | +--------- |
| 160 | + |
| 161 | +.. currentmodule:: sklearn |
| 162 | + |
| 163 | +.. autosummary:: |
| 164 | + :toctree: generated/ |
| 165 | + :template: class.rst |
| 166 | + |
| 167 | + model_selection.KFold |
| 168 | + model_selection.LabelKFold |
| 169 | + model_selection.StratifiedKFold |
| 170 | + m
E377
odel_selection.LeaveOneLabelOut |
| 171 | + model_selection.LeavePLabelOut |
| 172 | + model_selection.LeaveOneOut |
| 173 | + model_selection.LeavePOut |
| 174 | + model_selection.ShuffleSplit |
| 175 | + model_selection.LabelShuffleSplit |
| 176 | + model_selection.StratifiedShuffleSplit |
| 177 | + model_selection.PredefinedSplit |
| 178 | + |
| 179 | +Splitter helper |
| 180 | +--------------- |
| 181 | + |
| 182 | +.. currentmodule:: sklearn |
| 183 | + |
| 184 | +.. autosummary:: |
| 185 | + :toctree: generated/ |
| 186 | + :template: function.rst |
| 187 | + |
| 188 | + model_selection.train_test_split |
| 189 | + |
| 190 | +Parameter tuners |
| 191 | +---------------- |
157 | 192 |
|
158 | 193 | .. currentmodule:: sklearn
|
159 | 194 |
|
160 | 195 | .. autosummary::
|
161 | 196 | :toctree: generated/
|
162 | 197 | :template: class.rst
|
163 | 198 |
|
164 |
| - cross_validation.KFold |
165 |
| - cross_validation.LabelKFold |
166 |
| - cross_validation.LabelShuffleSplit |
167 |
| - cross_validation.LeaveOneLabelOut |
168 |
| - cross_validation.LeaveOneOut |
169 |
| - cross_validation.LeavePLabelOut |
170 |
| - cross_validation.LeavePOut |
171 |
| - cross_validation.PredefinedSplit |
172 |
| - cross_validation.ShuffleSplit |
173 |
| - cross_validation.StratifiedKFold |
174 |
| - cross_validation.StratifiedShuffleSplit |
| 199 | + model_selection.GridSearchCV |
| 200 | + model_selection.RandomizedSearchCV |
175 | 201 |
|
| 202 | +Parameter search utilites |
| 203 | +------------------------- |
| 204 | + |
| 205 | +.. currentmodule:: sklearn |
| 206 | + |
| 207 | +.. autosummary:: |
| 208 | + :toctree: generated/ |
| 209 | + :template: class.rst |
| 210 | + |
| 211 | + model_selection.ParameterGrid |
| 212 | + model_selection.ParameterSampler |
| 213 | + |
| 214 | +Scorers |
| 215 | +------- |
| 216 | + |
| 217 | +.. currentmodule:: sklearn |
176 | 218 |
|
177 | 219 | .. autosummary::
|
178 | 220 | :toctree: generated/
|
179 | 221 | :template: function.rst
|
180 | 222 |
|
181 |
| - cross_validation.train_test_split |
182 |
| - cross_validation.cross_val_score |
183 |
| - cross_validation.cross_val_predict |
184 |
| - cross_validation.permutation_test_score |
185 |
| - cross_validation.check_cv |
| 223 | + model_selection.cross_val_score |
| 224 | + model_selection.cross_val_predict |
| 225 | + model_selection.permutation_test_score |
| 226 | + model_selection.check_cv |
| 227 | + |
| 228 | +Diagnostic utilities to evaluate the Bias-Variance trade-off |
| 229 | +------------------------------------------------------------ |
| 230 | + |
| 231 | +.. currentmodule:: sklearn |
| 232 | + |
| 233 | +.. autosummary:: |
| 234 | + :toctree: generated/ |
| 235 | + :template: function.rst |
| 236 | + model_selection.learning_curve |
| 237 | + model_selection.validation_curve |
186 | 238 |
|
187 | 239 | .. _datasets_ref:
|
188 | 240 |
|
@@ -545,29 +597,6 @@ Kernels:
|
545 | 597 | gaussian_process.kernels.CompoundKernel
|
546 | 598 | gaussian_process.kernels.Hyperparameter
|
547 | 599 |
|
548 |
| -.. _grid_search_ref: |
549 |
| - |
550 |
| -:mod:`sklearn.grid_search`: Grid Search |
551 |
| -======================================= |
552 |
| - |
553 |
| -.. automodule:: sklearn.grid_search |
554 |
| - :no-members: |
555 |
| - :no-inherited-members: |
556 |
| - |
557 |
| -**User guide:** See the :ref:`grid_search` section for further details. |
558 |
| - |
559 |
| -.. currentmodule:: sklearn |
560 |
| - |
561 |
| -.. autosummary:: |
562 |
| - :toctree: generated/ |
563 |
| - :template: class.rst |
564 |
| - |
565 |
| - grid_search.GridSearchCV |
566 |
| - grid_search.ParameterGrid |
567 |
| - grid_search.ParameterSampler |
568 |
| - grid_search.RandomizedSearchCV |
569 |
| - |
570 |
| - |
571 | 600 | .. _isotonic_ref:
|
572 | 601 |
|
573 | 602 | :mod:`sklearn.isotonic`: Isotonic regression
|
@@ -656,24 +685,6 @@ Kernels:
|
656 | 685 | discriminant_analysis.QuadraticDiscriminantAnalysis
|
657 | 686 |
|
658 | 687 |
|
659 |
| -.. _learning_curve_ref: |
660 |
| - |
661 |
| -:mod:`sklearn.learning_curve` Learning curve evaluation |
662 |
| -======================================================= |
663 |
| - |
664 |
| -.. automodule:: sklearn.learning_curve |
665 |
| - :no-members: |
666 |
| - :no-inherited-members: |
667 |
| - |
668 |
| -.. currentmodule:: sklearn |
669 |
| - |
670 |
| -.. autosummary:: |
671 |
| - :toctree: generated/ |
672 |
| - :template: function.rst |
673 |
| - |
674 |
| - learning_curve.learning_curve |
675 |
| - learning_curve.validation_curve |
676 |
| - |
677 | 688 | .. _linear_model_ref:
|
678 | 689 |
|
679 | 690 | :mod:`sklearn.linear_model`: Generalized Linear Models
|
|
0 commit comments