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 11'''
2- @file allknn .py
2+ @file knn .py
33 @author Marcus Edel
44
5- All K-Nearest-Neighbors with scikit.
5+ K-Nearest-Neighbors with scikit.
66'''
77
88import os , sys , inspect
1818from sklearn .neighbors import NearestNeighbors
1919
2020'''
21- This class implements the All K-Nearest-Neighbors benchmark.
21+ This class implements the K-Nearest-Neighbors benchmark.
2222'''
23- class SCIKIT_ALLKNN (object ):
23+ class SCIKIT_KNN (object ):
2424 def __init__ (self , method_param , run_param ):
25- self .info = "SCIKIT_ALLKNN (" + str (method_param ) + ")"
25+ self .info = "SCIKIT_KNN (" + str (method_param ) + ")"
2626
2727 # Assemble run model parameter.
2828 self .data = load_dataset (method_param ["datasets" ], ["csv" ])
Original file line number Diff line number Diff line change @@ -1327,11 +1327,11 @@ SCIKIT_SVR:
13271327 epsilon : 1.0
13281328 gamma : 0.1
13291329---
1330- SCIKIT_ALLKNN :
1330+ SCIKIT_KNN :
13311331 library : scikit
13321332 method : knn
13331333 run : ['metric']
1334- script : methods/scikit/allknn .py
1334+ script : methods/scikit/knn .py
13351335 datasets :
13361336 - ' datasets/wine.csv'
13371337 - ' datasets/wine_qual.csv'
You can’t perform that action at this time.
0 commit comments