替换 sklearn.utils.resample 中的参数

问题描述

我正在使用 sklearn.utils.resample 方法,但我无法理解参数 replace 的作用! 我阅读了 document 但仍然卡住:

replace : bool,default=True
Implements resampling with replacement. If False,this will implement (sliced) random permutations.

我尝试使用 replace=Truereplace=False 重新采样,但似乎没有任何区别。

谁能帮忙解释一下?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)