You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,14 @@ Please make sure all tests pass before submitting a pull request. It is also goo
10
10
11
11
## Testing the code locally
12
12
13
-
To test the code locally you need to install the dependencies for the library in the current environment. Additionally, you need to install the following dependencies for testing:
13
+
To test the code locally you need to install the dependencies for the library in the current environment. Additionally, you need to install the dependencies for testing. All of those dependencies can be installed with:
Specify the rule for defining positive and negative training examples, using one of the following options:
56
+
57
+
- `exclusive`: Positive examples belong only to the class being considered. All classes are negative examples, except for the selected class;
58
+
- `less_exclusive`: Positive examples belong only to the class being considered. All classes are negative examples, except for the selected class and its descendants;
59
+
- `exclusive_siblings`: Positive examples belong only to the class being considered. All sibling classes are negative examples;
60
+
- `inclusive`: Positive examples belong only to the class being considered and its descendants. All classes are negative examples, except for the selected class, its descendants and ancestors;
61
+
- `less_inclusive`: Positive examples belong only to the class being considered and its descendants. All classes are negative examples, except for the selected class and its descendants;
62
+
- `siblings`: Positive examples belong only to the class being considered and its descendants. All siblings and their descendant classes are negative examples.
63
+
64
+
See :ref:`Training Policies` for more information about the different policies.
56
65
verbose : int, default=0
57
66
Controls the verbosity when fitting and predicting.
58
67
See https://verboselogs.readthedocs.io/en/latest/readme.html#overview-of-logging-levels
@@ -64,6 +73,7 @@ def __init__(
64
73
a single unique class.
65
74
n_jobs : int, default=1
66
75
The number of jobs to run in parallel. Only :code:`fit` is parallelized.
76
+
If :code:`Ray` is installed it is used, otherwise it defaults to :code:`Joblib`.
0 commit comments