modAL-python / modAL

A modular active learning framework for Python
https://modAL-python.github.io/
MIT License
2.24k stars 324 forks source link

Add notebook tutorial on pool-based sampling. #10

Closed dataframing closed 6 years ago

dataframing commented 6 years ago

Hi!

This PR addresses #9 and contributes a notebook-style example for pool-based sampling. I took a bit of liberty to add inline documentation along with references to the modAL documentation and other open resources. I also spent an embarrassing amount of time trying to parse the Matplotlib API. Fortunately, this is just an upfront cost and not recurring :)

Please let me know if there's anything under- or overly-communicated and I'll tune the documentation properly. If this is what we had in mind for notebook-style documentation, I'm happy to spend more time porting other examples.

Thanks!

codecov-io commented 6 years ago

Codecov Report

Merging #10 into dev will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev      #10   +/-   ##
=======================================
  Coverage   97.38%   97.38%           
=======================================
  Files          23       23           
  Lines        1111     1111           
=======================================
  Hits         1082     1082           
  Misses         29       29

Continue to review full report at Codecov.

Legend - Click here to learn more Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data Powered by Codecov. Last update 8789a53...00a486c. Read the comment docs.

cosmic-cortex commented 6 years ago

Thanks, awesome! Great work on the example. (I have only changed the filename in order to match the filename of the standalone example if you don't mind.)

I'll start working on adding some more examples, so let me know if you are working on something, to make sure we don't do twice the work :)

dataframing commented 6 years ago

No prob! I'll probably be focusing on that ranked batch-mode integration/feature (+ documentation, of course πŸ˜›), so I think it's safe to expand on the current documentation πŸ‘