We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6634b11 commit 3faf3e8Copy full SHA for 3faf3e8
libact/labelers/ideal_labeler.py
@@ -2,20 +2,18 @@
2
Ideal/Noiseless labeler that returns true label
3
4
"""
5
-from libact.base.interfaces import Labeler
6
import numpy as np
7
+from libact.base.interfaces import Labeler
8
+
9
class IdealLabeler(Labeler):
10
11
Provide the errorless/noiseless label to any feature vectors being queried.
12
- Attributes
13
+ Parameters
14
----------
- features: array-like, shape = (n_samples, n_features)
15
- an array of features used as the search keys for labels
16
-
17
- label: array-like, shape = (n_samples)
18
- an array of labels corresponding to the features
+ dataset: Dataset object
+ Dataset object with the ground truth in labeled data.
19
20
21
0 commit comments