Пример регрессии Python Sklearn KNN
KNeighborsRegressor(algorithm='auto', leaf_size=30, metric='minkowski',
metric_params=None, n_jobs=1, n_neighbors=8, p=2,
weights='uniform')
Motionless Millipede