Skip to content

Commit 356e3e4

Browse files
Merge pull request #54 from chkoar/exa_1
Fix stream-based sampling example
2 parents 39336f2 + 271d885 commit 356e3e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/stream-based_sampling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
In this example the use of ActiveLearner is demonstrated in a pool-based sampling setting.
2+
In this example the use of ActiveLearner is demonstrated in a stream-based sampling setting.
33
"""
44

55
import numpy as np
@@ -67,5 +67,5 @@
6767
plt.figure(figsize=(7, 7))
6868
prediction = learner.predict_proba(X_full)[:, 1]
6969
plt.imshow(prediction.reshape(im_width, im_height))
70-
plt.title('Initial prediction accuracy: %f' % learner.score(X_full, y_full))
70+
plt.title('Final prediction accuracy: %f' % learner.score(X_full, y_full))
7171
plt.show()

0 commit comments

Comments
 (0)