scikit learn pyearth方法参数“check\u every”和“min\u search\u point”不存在

2024-04-25 22:58:19 发布

您现在位置:Python中文网/ 问答频道 /正文

我使用的是来自https://github.com/scikit-learn-contrib/py-earth的py earth方法。你知道吗

我正试图使用参数check_every来控制拟合时间,但我发现在更改init参数check_every时没有任何区别。你知道吗

所以我想知道参数check_every现在是否有用?你知道吗


Tags: 方法pyhttpsgithubcom参数initcheck
1条回答
网友
1楼 · 发布于 2024-04-25 22:58:19

引自github

I think if you set check_every sufficiently high, you should eventually see a worse fit (and maybe a very slight speed up). I think it speaks to the usefulness of check_every that I actually had to look in the code to make sure it's even still implemented. All it does is reduce the number of candidate knot locations during knot search. One reason to do this would be to make sure you don't end up with knots too close together. However, the minspan argument takes care of that in a much nicer way.

相关问题 更多 >