Browse Source

Update sklearn-metadata.json

Lutz Roeder 3 years ago
parent
commit
10ec5f34c4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      source/sklearn-metadata.json

+ 2 - 1
source/sklearn-metadata.json

@@ -1571,7 +1571,8 @@
       },
       },
       {
       {
         "description": "Weight function used in prediction.  Possible values:\n\n- 'uniform' : uniform weights.  All points in each neighborhood\nare weighted equally.\n- 'distance' : weight points by the inverse of their distance.\nin this case, closer neighbors of a query point will have a\ngreater influence than neighbors which are further away.\n- [callable] : a user-defined function which accepts an\narray of distances, and returns an array of the same shape\ncontaining the weights.\n\nUniform weights are used by default.\n",
         "description": "Weight function used in prediction.  Possible values:\n\n- 'uniform' : uniform weights.  All points in each neighborhood\nare weighted equally.\n- 'distance' : weight points by the inverse of their distance.\nin this case, closer neighbors of a query point will have a\ngreater influence than neighbors which are further away.\n- [callable] : a user-defined function which accepts an\narray of distances, and returns an array of the same shape\ncontaining the weights.\n\nUniform weights are used by default.\n",
-        "name": "weights"
+        "name": "weights",
+        "default": "uniform"
       },
       },
       {
       {
         "default": "auto",
         "default": "auto",