Skip to content

Commit

Permalink
Merge pull request #966 from kitzeslab/docs
Browse files Browse the repository at this point in the history
Add "Classifiers 101" to documentation
  • Loading branch information
sammlapp authored Mar 25, 2024
2 parents cf77a56 + 5d39aa7 commit 379952a
Show file tree
Hide file tree
Showing 87 changed files with 433 additions and 14 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# OpenSoundscape

[![CI Status](https://github.com/kitzeslab/opensoundscape/workflows/CI/badge.svg)](https://github.com/kitzeslab/opensoundscape/actions?query=workflow%3ACI)
[![Documentation Status](https://readthedocs.org/projects/opensoundscape/badge/?version=latest)](http://opensoundscape.org/en/latest/?badge=latest)

Expand All @@ -14,7 +16,7 @@ OpenSoundscape includes utilities which can be strung together to create data an
* estimate the location of sound sources from synchronized recordings


OpenSoundscape's source code can be found on [GitHub] (https://github.com/kitzeslab/opensoundscape) and its documentation can be found on [OpenSoundscape.org](https://opensoundscape.org).
OpenSoundscape's documentation can be found on [OpenSoundscape.org](https://opensoundscape.org).

## Show me the code!

Expand Down
419 changes: 419 additions & 0 deletions docs/classifier_guide/guide.md

Large diffs are not rendered by default.

Binary file added docs/classifier_guide/media/F0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F10A.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F11A.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F12A.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F13A.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F1A.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F23.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F2A.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/classifier_guide/media/F3A.png
Binary file added docs/classifier_guide/media/F4.png
Binary file added docs/classifier_guide/media/F4A.png
Binary file added docs/classifier_guide/media/F5.png
Binary file added docs/classifier_guide/media/F5A.png
Binary file added docs/classifier_guide/media/F6.png
Binary file added docs/classifier_guide/media/F6A.png
Binary file added docs/classifier_guide/media/F7.png
Binary file added docs/classifier_guide/media/F7A.png
Binary file added docs/classifier_guide/media/F8.png
Binary file added docs/classifier_guide/media/F8A.png
Binary file added docs/classifier_guide/media/F9.png
Binary file added docs/classifier_guide/media/F9A.png
Binary file added docs/classifier_guide/media/image1.png
Binary file added docs/classifier_guide/media/image10.png
Binary file added docs/classifier_guide/media/image11.png
Binary file added docs/classifier_guide/media/image12.png
Binary file added docs/classifier_guide/media/image13.png
Binary file added docs/classifier_guide/media/image14.png
Binary file added docs/classifier_guide/media/image15.png
Binary file added docs/classifier_guide/media/image16.png
Binary file added docs/classifier_guide/media/image17.png
Binary file added docs/classifier_guide/media/image18.png
Binary file added docs/classifier_guide/media/image19.png
Binary file added docs/classifier_guide/media/image2.png
Binary file added docs/classifier_guide/media/image20.png
Binary file added docs/classifier_guide/media/image21.png
Binary file added docs/classifier_guide/media/image22.png
Binary file added docs/classifier_guide/media/image23.png
Binary file added docs/classifier_guide/media/image24.png
Binary file added docs/classifier_guide/media/image25.png
Binary file added docs/classifier_guide/media/image26.png
Binary file added docs/classifier_guide/media/image27.png
Binary file added docs/classifier_guide/media/image28.png
Binary file added docs/classifier_guide/media/image29.png
Binary file added docs/classifier_guide/media/image3.png
Binary file added docs/classifier_guide/media/image30.png
Binary file added docs/classifier_guide/media/image31.png
Binary file added docs/classifier_guide/media/image32.png
Binary file added docs/classifier_guide/media/image33.png
Binary file added docs/classifier_guide/media/image34.png
Binary file added docs/classifier_guide/media/image35.png
Binary file added docs/classifier_guide/media/image36.png
Binary file added docs/classifier_guide/media/image37.png
Binary file added docs/classifier_guide/media/image38.png
Binary file added docs/classifier_guide/media/image39.png
Binary file added docs/classifier_guide/media/image4.png
Binary file added docs/classifier_guide/media/image40.png
Binary file added docs/classifier_guide/media/image41.png
Binary file added docs/classifier_guide/media/image42.png
Binary file added docs/classifier_guide/media/image43.png
Binary file added docs/classifier_guide/media/image5.png
Binary file added docs/classifier_guide/media/image6.png
Binary file added docs/classifier_guide/media/image7.png
Binary file added docs/classifier_guide/media/image8.png
Binary file added docs/classifier_guide/media/image9.png
3 changes: 0 additions & 3 deletions docs/classifier_guide/overview.md

This file was deleted.

10 changes: 5 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
OpenSoundscape
==============

.. image:: https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white
:target: https://github.com/kitzeslab/opensoundscape

OpenSoundscape (OPSO) is free and open source Python utility library analyzing bioacoustic data.

OpenSoundscape includes utilities which can be strung together to create data analysis pipelines, including functions to:
Expand All @@ -14,9 +17,6 @@ OpenSoundscape includes utilities which can be strung together to create data an
* estimate the location of sound sources from synchronized recordings


OpenSoundscape's source code can be found on `GitHub <https://github.com/kitzeslab/opensoundscape>`__ and its documentation can be found on `OpenSoundscape.org <https://opensoundscape.org>`__.


Table of Contents
~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -110,14 +110,14 @@ Suggested citation:
:hidden:
:caption: Classifiers 101

classifier_guide/overview
classifier_guide/guide.md
classifier_guide/why_classify
classifier_guide/data_organization
classifier_guide/create_training_dataset
classifier_guide/train_cnn
classifier_guide/evaluate_cnn
classifier_guide/retrain_cnn

.. toctree::
:maxdepth: 1
:hidden:
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sphinx>=7.2.6
ipykernel
nbsphinx
docutils>=0.18.1
docutils>=0.18.1,<0.19
mistune<2.0.0
sphinx-copybutton>=0.5.2
sphinx-rtd-theme>=1.3.0
Expand Down
9 changes: 5 additions & 4 deletions docs/tutorials/train_cnn.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,12 @@
"## Create train, validation, and test datasets\n",
"\n",
"To train and test a model, we use three datasets:\n",
"\n",
"* The **training dataset** is used to fit your machine learning model to the audio data. \n",
"* The **validation dataset** is a held-out dataset that is used to select hyperparameters (e.g. how many epochs to train for) during training\n",
"* The **test dataset** is another held-out dataset that we use to check how the model performs on data that were not available at all during training.\n",
"\n",
"While both the training and validation datasets are used while trained the model, the test dataset is never touched until the model is fully trained and completed.\n",
"While both the training and validation datasets are used while training the model, the test dataset is never touched until the model is fully trained and completed.\n",
"\n",
"The training and validation datasets may be gathered from the same source as each other. In contrast, the test dataset is often gathered from a different source to assess whether the model's performance generalizes to a real-world problem. For example, training and validation data might be drawn from an online database like Xeno-Canto, whereas the testing data is from your own field data. \n",
"\n",
Expand Down Expand Up @@ -1222,9 +1223,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "opso_dev",
"display_name": "opso-dev",
"language": "python",
"name": "opso_dev"
"name": "opso-dev"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -1236,7 +1237,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.13"
"version": "3.9.16"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 379952a

Please sign in to comment.