标签: pca xgboost knn
在下面的链接中;使用XGBoost的Kaggle获胜解决方案使用了到T-SNE空间(3维)中到最近邻居的距离。如何为每个样本计算到最近邻的欧几里德距离或其他度量距离?它可能是T-SNE或KNN,因为关于数据科学的另一篇文章.stackexchange解释了它们之间的关系。我需要一种Python方法来创建具有类距离的新功能
https://www.slideshare.net/ShangxuanZhang/kaggle-winning-solution-xgboost-algorithm-let-us-learn-from-its-author
https://datascience.stackexchange.com/questions/22299/does-nearest-neighbour-make-any-sense-with-t-sne