define customized weight function (callable function) for KNeighborsClassifier

后端 未结 0 1656
感动是毒
感动是毒 2020-11-21 14:51

I\'m trying to define a customized weight callable function that will assign a greater weight to the y values for the sklearn KNeighborsClassifier. The mathematical formula

相关标签:
回答
  • 消灭零回复
提交回复
热议问题