Skip to content

Commit f617b2a

Browse files
committed
add: bootstrapping and bagging jupyter notebook
1 parent 128eaa7 commit f617b2a

File tree

4 files changed

+347
-35
lines changed

4 files changed

+347
-35
lines changed

docs/source/content/examples/bootstrapping_and_bagging.ipynb

Lines changed: 301 additions & 0 deletions
Large diffs are not rendered by default.

docs/source/content/examples/query_by_committee.ipynb

Lines changed: 42 additions & 32 deletions
Large diffs are not rendered by default.

docs/source/index.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ modAL is an active learning framework for Python3, designed with *modularity, fl
4040
content/examples/active_regression
4141
content/examples/ensemble_regression
4242
content/examples/bayesian_optimization
43-
content/examples/Query-by-committee
44-
content/examples/Bootstrapping-and-bagging
43+
content/examples/query_by_committee
44+
content/examples/bootstrapping_and_bagging
4545
content/examples/Keras-integration
4646

4747
.. toctree::
@@ -53,5 +53,6 @@ modAL is an active learning framework for Python3, designed with *modularity, fl
5353
content/apireference/uncertainty.rst
5454
content/apireference/disagreement.rst
5555
content/apireference/acquisition.rst
56+
content/apireference/batch.rst
5657
content/apireference/density.rst
5758
content/apireference/utils.rst

examples/bagging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
plt.title('Learner no. %d' % (learner_idx + 1))
6161
plt.show()
6262

63-
# visualizing the Committee's predictions per learner
63+
# visualizing the Committee's predictions
6464
with plt.style.context('seaborn-white'):
6565
plt.figure(figsize=(7, 7))
6666
plt.imshow(committee.predict(X_pool).reshape(im_height, im_width))

0 commit comments

Comments
 (0)