Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intro to training classifier #966

Merged
merged 61 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
a38f19e
Intro to training
sanruizguz Feb 19, 2024
e6e67e0
Deleting old versions of files not previously linked by git
Feb 20, 2024
b55c0c9
Add Intro to training classifier into the guide folder
Feb 20, 2024
8772d8a
Addition of Introduction to training classifier
sanruizguz Feb 20, 2024
4a6dd0e
Replaced overview file per Intro.md
sanruizguz Feb 20, 2024
06cb68f
Delete images that were included in other folder
sanruizguz Feb 20, 2024
198a3a8
Pin docutils <0.19
sanruizguz Mar 7, 2024
792df8f
Update Intro.md
sanruizguz Mar 7, 2024
511a5d0
Update Intro.md
sanruizguz Mar 7, 2024
e68d5f2
Update Intro.md
sanruizguz Mar 7, 2024
ad08324
Update Intro.md
sanruizguz Mar 7, 2024
302978f
Update Intro.md
sanruizguz Mar 8, 2024
bb8c503
Update Intro.md
sanruizguz Mar 8, 2024
69d2820
Update Intro.md
sanruizguz Mar 8, 2024
c82b654
Update Intro.md
sanruizguz Mar 8, 2024
6958121
Update Intro.md
sanruizguz Mar 8, 2024
a499e08
Update Intro.md
sanruizguz Mar 8, 2024
de026f4
Update Intro.md
sanruizguz Mar 8, 2024
16e6b63
Update Intro.md
sanruizguz Mar 8, 2024
b1238b5
Update Intro.md
sanruizguz Mar 8, 2024
931c26a
Update Intro.md
sanruizguz Mar 8, 2024
eb4ebe8
Update Intro.md
sanruizguz Mar 8, 2024
396b3f4
Update Intro.md
sanruizguz Mar 8, 2024
4445d62
Add files via upload
sanruizguz Mar 8, 2024
e983a73
Add files via upload
sanruizguz Mar 8, 2024
4224e79
Add files via upload
sanruizguz Mar 8, 2024
5f4a597
Add files via upload
sanruizguz Mar 8, 2024
7321474
Add files via upload
sanruizguz Mar 8, 2024
37d42d3
Update Intro.md
sanruizguz Mar 8, 2024
7fbe461
Add files via upload
sanruizguz Mar 8, 2024
bf00b58
Update Intro.md
sanruizguz Mar 8, 2024
1cd2156
Update Intro.md
sanruizguz Mar 8, 2024
a5f6df7
Update Intro.md
sanruizguz Mar 8, 2024
a32f157
Update Intro.md
sanruizguz Mar 11, 2024
1ccc212
Add files via upload
sanruizguz Mar 11, 2024
ef38f3d
Add files via upload
sanruizguz Mar 11, 2024
49c5fbd
Update Intro.md
sanruizguz Mar 11, 2024
8cd5f50
Update Intro.md
sanruizguz Mar 11, 2024
1ae8d6a
Update Intro.md
sanruizguz Mar 11, 2024
9afe080
Update Intro.md
sanruizguz Mar 11, 2024
41a0274
Update Intro.md
sanruizguz Mar 11, 2024
abc972a
Update Intro.md
sanruizguz Mar 11, 2024
ae4b52e
Update Intro.md
sanruizguz Mar 11, 2024
c08985b
Update Intro.md
sanruizguz Mar 11, 2024
51c964d
Update Intro.md
sanruizguz Mar 11, 2024
e279660
Update Intro.md
sanruizguz Mar 11, 2024
213a587
Update Intro.md
sanruizguz Mar 11, 2024
4f005a6
Add files via upload
sanruizguz Mar 11, 2024
24b0143
Update Intro.md
sanruizguz Mar 11, 2024
c7b5281
Update Intro.md
sanruizguz Mar 11, 2024
09c0401
Update resources available
rhine3 Mar 12, 2024
67dfbb2
Remove typo
rhine3 Mar 12, 2024
b85d78e
Update Intro.md
sanruizguz Mar 19, 2024
348f248
Update Intro.md
sanruizguz Mar 19, 2024
634908e
Fix spacing
rhine3 Mar 25, 2024
b5f331c
Standardize capitalization
rhine3 Mar 25, 2024
dfcfca7
Fix figure source link
rhine3 Mar 25, 2024
894f0f4
Add OPSO header and fix docs link format
rhine3 Mar 25, 2024
b42826a
Add GitHub badge
rhine3 Mar 25, 2024
1688d61
Fix section indentation
rhine3 Mar 25, 2024
5d39aa7
Fix GitHub image formatting
rhine3 Mar 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading