File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
'''
2
- @file allknn .py
2
+ @file knn .py
3
3
@author Marcus Edel
4
4
5
- All K-Nearest-Neighbors with scikit.
5
+ K-Nearest-Neighbors with scikit.
6
6
'''
7
7
8
8
import os , sys , inspect
18
18
from sklearn .neighbors import NearestNeighbors
19
19
20
20
'''
21
- This class implements the All K-Nearest-Neighbors benchmark.
21
+ This class implements the K-Nearest-Neighbors benchmark.
22
22
'''
23
- class SCIKIT_ALLKNN (object ):
23
+ class SCIKIT_KNN (object ):
24
24
def __init__ (self , method_param , run_param ):
25
- self .info = "SCIKIT_ALLKNN (" + str (method_param ) + ")"
25
+ self .info = "SCIKIT_KNN (" + str (method_param ) + ")"
26
26
27
27
# Assemble run model parameter.
28
28
self .data = load_dataset (method_param ["datasets" ], ["csv" ])
Original file line number Diff line number Diff line change @@ -1327,11 +1327,11 @@ SCIKIT_SVR:
1327
1327
epsilon : 1.0
1328
1328
gamma : 0.1
1329
1329
---
1330
- SCIKIT_ALLKNN :
1330
+ SCIKIT_KNN :
1331
1331
library : scikit
1332
1332
method : knn
1333
1333
run : ['metric']
1334
- script : methods/scikit/allknn .py
1334
+ script : methods/scikit/knn .py
1335
1335
datasets :
1336
1336
- ' datasets/wine.csv'
1337
1337
- ' datasets/wine_qual.csv'
You can’t perform that action at this time.
0 commit comments