【问题标题】:What does ETA represent in GridSearchCV ScikitLearn?ETA 在 GridSearchCV Scikit Learn 中代表什么?
【发布时间】:2024-04-11 20:05:08
【问题描述】:

我正在进行网格搜索,将有 135 名候选人,总共 405 次匹配

问题:

【问题讨论】:

    标签: python-3.x scikit-learn keras data-science


    【解决方案1】:

    如果您查看GridSearchCV 的实现,您会发现它创建了并行对象。 implementation of Parallel 中的 cmets 解释了详细参数是如何使用的:

    '''
    verbose: int, optional
            The verbosity level: if non zero, progress messages are
            printed. Above 50, the output is sent to stdout.
            The frequency of the messages increases with the verbosity level.
            If it more than 10, all iterations are reported.
    '''
    

    由于您使用的是 batch_size=5,ETA 表示每批所需的时间。

    基本上,GridSearchCV 文档解释说,通过使用详细参数,您可以选择是否可视化日志。然后,如果您增加详细程度,您的训练过程会获得更高的“刷新率”。

    【讨论】: