Skip to content

Commit 3faf3e8

Browse files
committed
Update labeler docstrings
1 parent 6634b11 commit 3faf3e8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

libact/labelers/ideal_labeler.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,18 @@
22
Ideal/Noiseless labeler that returns true label
33
44
"""
5-
from libact.base.interfaces import Labeler
65
import numpy as np
76

7+
from libact.base.interfaces import Labeler
8+
89
class IdealLabeler(Labeler):
910
"""
1011
Provide the errorless/noiseless label to any feature vectors being queried.
1112
12-
Attributes
13+
Parameters
1314
----------
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
15+
dataset: Dataset object
16+
Dataset object with the ground truth in labeled data.
1917
2018
"""
2119

0 commit comments

Comments
 (0)