Skip to content

Commit b2f4dc2

Browse files
authored
Set LMNN in Nearest neighbor group (#406)
* Set LMNN in Nearest neighbor group * Grouping NN of regression
1 parent 08f3b50 commit b2f4dc2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

js/model_selector.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ const AIMethods = [
152152
{ value: 'adamenn', title: 'Adaptive Metric Nearest Neighbor' },
153153
{ value: 'dann', title: 'Discriminant adaptive nearest neighbor' },
154154
{ value: 'iknn', title: 'IKNN' },
155+
{ value: 'lmnn', title: 'LMNN' },
155156
],
156157
Online: [
157158
{ value: 'alma', title: 'ALMA' },
@@ -198,7 +199,6 @@ const AIMethods = [
198199
{ value: 'hmm', title: 'HMM' },
199200
{ value: 'crf', title: 'CRF' },
200201
{ value: 'bayesian_network', title: 'Bayesian Network' },
201-
{ value: 'lmnn', title: 'LMNN' },
202202
],
203203
},
204204
},
@@ -245,6 +245,11 @@ const AIMethods = [
245245
{ value: 'gbdt', title: 'GBDT' },
246246
{ value: 'xgboost', title: 'XGBoost' },
247247
],
248+
'Nearest neighbor': [
249+
{ value: 'knearestneighbor', title: 'k nearest neighbor' },
250+
{ value: 'radius_neighbor', title: 'Radius neighbor' },
251+
{ value: 'inverse_distance_weighting', title: 'IDW' },
252+
],
248253
'': [
249254
{ value: 'bayesian_linear', title: 'Bayesian Linear' },
250255
{ value: 'poisson', title: 'Poisson' },
@@ -256,9 +261,6 @@ const AIMethods = [
256261
{ value: 'pls', title: 'Partial Least Squares' },
257262
{ value: 'ppr', title: 'Projection Pursuit' },
258263
{ value: 'quantile_regression', title: 'Quantile Regression' },
259-
{ value: 'knearestneighbor', title: 'k nearest neighbor' },
260-
{ value: 'radius_neighbor', title: 'Radius neighbor' },
261-
{ value: 'inverse_distance_weighting', title: 'IDW' },
262264
{ value: 'rbf', title: 'RBF Network' },
263265
{ value: 'rvm', title: 'RVM' },
264266
{ value: 'svr', title: 'Support vector regression' },

0 commit comments

Comments
 (0)