KNN(k=0) 返回整个训练集,而不是零个邻居(argsort()[-self.k:] 负零切片错误)
作者: VANDRANKI创建于 2026年9月25日更新于 2026年9月25日
I searched existing issues and PRs for `KNN`, `argsort`, and `k=0` first. The only
内容来源: stanfordnlp/dspy
I searched existing issues and PRs for `KNN`, `argsort`, and `k=0` first. The only
内容来源: stanfordnlp/dspy