Преглед на файлове

Update scikit-learn script

Lutz Roeder преди 3 години
родител
ревизия
44d06fc119
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      tools/sklearn_script.py

+ 3 - 1
tools/sklearn_script.py

@@ -152,7 +152,9 @@ def _update_attributes(schema, lines):
             "{'first', 'if_binary'} or an array-like of shape (n_features,), default=None",
             "{'first', 'if_binary'} or a array-like of shape (n_features,), default=None",
             "{'linear', 'poly', 'rbf', 'sigmoid', 'precomputed'} or callable, default='rbf'",
-            "estimator instance"
+            "estimator instance",
+            "{'ascii', 'unicode'} or callable, default=None",
+            "{'l1', 'l2'} or None, default='l2'"
         }
         if line == 'str':
             line = 'string'