Skip to content

271 update documentation - #290

Merged
tpham93 merged 35 commits into
developmentfrom
271-update-documentation
Apr 25, 2023
Merged

tpham93 merged 35 commits into
developmentfrom
271-update-documentation

Conversation

@mherde

@mherde mherde commented Apr 18, 2023

Copy link
Copy Markdown
Contributor

No description provided.

Pascal112 and others added 29 commits November 15, 2022 13:45
# Conflicts:
#	tutorials/00_pool_getting_started.ipynb
# Conflicts:
#	tutorials/20_stream_getting_started.ipynb
#	tutorials/21_stream_batch_with_pool_al.ipynb
@codecov-commenter

codecov-commenter commented Apr 18, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (283e809) 100.00% compared to head (d7e6568) 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@              Coverage Diff              @@
##           development      #290   +/-   ##
=============================================
  Coverage       100.00%   100.00%           
=============================================
  Files               54        54           
  Lines             4715      4723    +8     
=============================================
+ Hits              4715      4723    +8     
Impacted Files Coverage Δ
skactiveml/base.py 100.00% <ø> (ø)
skactiveml/pool/_uncertainty_sampling.py 100.00% <ø> (ø)
skactiveml/utils/_functions.py 100.00% <ø> (ø)
skactiveml/visualization/__init__.py 100.00% <ø> (ø)
skactiveml/visualization/_feature_space.py 100.00% <ø> (ø)
skactiveml/classifier/_parzen_window_classifier.py 100.00% <100.00%> (ø)
skactiveml/classifier/_wrapper.py 100.00% <100.00%> (ø)
skactiveml/pool/_batch_bald.py 100.00% <100.00%> (ø)
skactiveml/pool/_probabilistic_al.py 100.00% <100.00%> (ø)
skactiveml/pool/_quire.py 100.00% <100.00%> (ø)
... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Comment thread README.rst Outdated
- `multi-annotator pool-based active learning -- getting started <https://github.com/scikit-activeml/scikit-activeml/blob/master/tutorials/10_multiple_annotators_getting_started.ipynb>`_,
- `stream-based active learning -- getting started <https://github.com/scikit-activeml/scikit-activeml/blob/master/tutorials/20_stream_getting_started.ipynb>`_,
- and `batch stream-based active learning with pool-based query strategies <https://github.com/scikit-activeml/scikit-activeml/blob/master/tutorials/21_stream_batch_with_pool_al.ipynb>`_.
We provide a broad overview of different use-cases in out `tutorial section <https://scikit-activeml.github.io/scikit-activeml-docs/tutorials.html>`_ offering

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
We provide a broad overview of different use-cases in out `tutorial section <https://scikit-activeml.github.io/scikit-activeml-docs/tutorials.html>`_ offering
We provide a broad overview of different use-cases in our `tutorial section <https://scikit-activeml.github.io/scikit-activeml-docs/tutorials.html>`_ offering

Comment thread README.rst Outdated
# GaussianProcessClassifier needs initial training data otherwise a warning will
# be raised by SklearnClassifier. Therefore, the first 10 instances are used as
# training data.
# Use the first 10 instances are initial training data.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Use the first 10 instances are initial training data.
# Use the first 10 instances as initial training data.

Comment thread docs/developers_guide.rst Outdated

Now we can install some required project dependencies, which are defined
in the ``requirements.txt`` file.
in the ``requirements.txt`` and ``requirements.txt`` (for development) files.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
in the ``requirements.txt`` and ``requirements.txt`` (for development) files.
in the ``requirements.txt`` and ``requirements_extra.txt`` (for development) files.

Comment thread docs/developers_guide.rst Outdated
.. code:: bash

pip install black
black --line-length example_file.py

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
black --line-length example_file.py
black --line-length 79 example_file.py

Comment thread docs/developers_guide.rst Outdated

Pool-based Query Strategies
All query strategies inherit from ``skactiveml.base.QueryStrategy`` as abstract
superclass implemented in ``skactiveml/base.py``. This class is a

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
superclass implemented in ``skactiveml/base.py``. This class is a
superclass implemented in ``skactiveml/base.py``. This superclass inherits from

Comment thread docs/developers_guide.rst
| | instances annotator pairs, only |
| | if ``return_utilities`` is |
| | ``True`` |
| ``query_indices`` | The ``query_indices`` indicate |

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace by multi-annot

Comment thread docs/developers_guide.rst Outdated
``predict_proba`` function
~~~~~~~~~~~~~~~~~~~~~~~~~~
check standard parameters of ``__init__`` and ``fit`` method. If the
``classes`` parameter was provided, the classifier should be fitted with

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
``classes`` parameter was provided, the classifier should be fitted with
``classes`` parameter was provided, the classifier can be fitted with

Comment thread docs/developers_guide.rst
For every class ``ExampleRegressor`` that inherits from
``skactiveml.base.SkactivemlRegressor`` (stored in
``_example_regressor.py``), there need to be a file
``tests/test_example_classifier.py``. It is necessary that both

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
``tests/test_example_classifier.py``. It is necessary that both
``tests/test_example_regressor.py``. It is necessary that both

Comment thread docs/developers_guide.rst Outdated
performances of annotators for given samples. The class of an annotator model
must implement the ``predict_annotator_perf`` method estimating the
performances per sample of each annotator as proxies of the provided
annotation's qualities.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
annotation's qualities.
annotations' qualities.

Comment thread docs/developers_guide.rst
| | Query-by-Committee, Random Sampling, |
| | Uncertainty Sampling, or Others. |
+------------------+----------------------------------------------------------+
| ``template`` | Defines the general setup/setting of the example. |

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add stream.

@tpham93
tpham93 merged commit a5d991c into development Apr 25, 2023
@tpham93
tpham93 deleted the 271-update-documentation branch April 25, 2023 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants