enable_halving_search_cv#
启用连续减半搜索估计器
这些估计器的API和结果可能会在没有任何废弃周期的情况下发生变化。
卸载此文件动态设置 HalvingRandomSearchCV
和 HalvingGridSearchCV
作为 model_selection
模块::
>>> # explicitly require this experimental feature
>>> from sklearn.experimental import enable_halving_search_cv # noqa
>>> # now you can import normally from model_selection
>>> from sklearn.model_selection import HalvingRandomSearchCV
>>> from sklearn.model_selection import HalvingGridSearchCV
的 # noqa
可以删除评论评论:它只是告诉flake 8等linters忽略导入,该导入看起来未使用。