-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #357 from Living-with-machines/rw_docs
Update worked example notebooks
- Loading branch information
Showing
19 changed files
with
4,144 additions
and
11,608 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Developer's Guide | ||
================ | ||
================= | ||
|
||
Managing version numbers | ||
------------------------ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Project Curriculum Vitae | ||
=========== | ||
========================= | ||
|
||
.. Notes to editors: | ||
.. 1. Add links to slides/videos (always add slides to [email protected] drive) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,56 @@ | ||
Worked Examples | ||
================ | ||
|
||
.. todo:: Explain these different use cases | ||
|
||
.. list-table:: | ||
:widths: 25 25 25 | ||
:header-rows: 0 | ||
:stub-columns: 0 | ||
|
||
* - **classification_one_inch_maps** | ||
.. image:: https://raw.githubusercontent.com/Living-with-machines/MapReader/main/figs/tutorial_classification_one_inch_maps_001.png | ||
:width: 200px | ||
- **classification_plant_phenotype** | ||
.. image:: https://raw.githubusercontent.com/Living-with-machines/MapReader/main/figs/tutorial_classification_plant_phenotype.png | ||
:width: 200px | ||
- **classification_mnist** | ||
.. image:: https://raw.githubusercontent.com/Living-with-machines/MapReader/main/figs/tutorial_classification_mnist.png | ||
:width: 200px | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
Classification of one-inch OS maps <one_inch_pipeline> | ||
Classification of plant phenotypes <plant_pipeline> | ||
Classification of mnist dataset <mnist_pipeline> | ||
We have provided a number of worked examples to demonstrate how to use the MapReader package. | ||
These examples can be found in the `worked_examples <https://github.com/Living-with-machines/MapReader/tree/main/worked_examples>`_ directory of the repository. | ||
|
||
Maps and geospatial images | ||
-------------------------- | ||
|
||
MapReader was developed for maps and geospatial images. | ||
|
||
Classification of one-inch OS maps | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. image:: https://raw.githubusercontent.com/Living-with-machines/MapReader/main/figs/tutorial_classification_one_inch_maps_001.png | ||
:width: 400px | ||
:target: https://github.com/Living-with-machines/MapReader/tree/main/worked_examples/geospatial | ||
|
||
We have provided two examples of how to use MapReader to identify railspace patches in one-inch OS maps. | ||
Both examples demonstrate how to use MapReader with maps hosted on a tileserver. | ||
|
||
Our examples show a full end-to-end use of the MapReader pipeline, including downloading, loading and patchifying map images, annotating patches to create training data, training a model and using the model to classify patches. | ||
|
||
The first examples demonstrates how to use MapReader to classify patches using a standard patch-level classification model in which patches are used as inputs to the model. | ||
It can be found `here <https://github.com/Living-with-machines/MapReader/blob/main/worked_examples/geospatial/classification_one_inch_maps/Pipeline.ipynb>`__. | ||
|
||
The second example demonstrates how to use MapReader to classify patches using a context-level classification model in which patches and their surrounding patches (i.e. context) are used as inputs to the model. | ||
It can be found `here <https://github.com/Living-with-machines/MapReader/blob/main/worked_examples/geospatial/context_classification_one_inch_maps/Pipeline.ipynb>`__. | ||
|
||
Non-geospatial images | ||
--------------------- | ||
|
||
MapReader can also for non-geospatial images. | ||
We have provided two examples of this. | ||
|
||
Classification of plant phenotypes | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. image:: https://raw.githubusercontent.com/Living-with-machines/MapReader/main/figs/tutorial_classification_plant_phenotype.png | ||
:width: 400px | ||
:target: https://github.com/Living-with-machines/MapReader/blob/main/worked_examples/non-geospatial/classification_plant_phenotype/Pipeline.ipynb | ||
|
||
In our plant phenotypes example, we demonstrate how to use MapReader to classify plant phenotypes in images of plants. | ||
Importantly, this worked example demonstrates how to use MapReader with non-georeferenced images (e.g. non-georeferenced map images). | ||
It can be found `here <ttps://github.com/Living-with-machines/MapReader/blob/main/worked_examples/non-geospatial/classification_plant_phenotype/Pipeline.ipynb>`__. | ||
|
||
Classification of MNIST digits | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. image:: https://raw.githubusercontent.com/Living-with-machines/MapReader/main/figs/tutorial_classification_mnist.png | ||
:width: 400px | ||
:target: https://github.com/Living-with-machines/MapReader/blob/main/worked_examples/non-geospatial/classification_mnist/Pipeline.ipynb | ||
|
||
In our MNIST example, we demonstrate how to use MapReader to classify MNIST digits. | ||
Importantly, this example demonstrates how to use MapReader to classify whole images instead of patches and therefore how MapReader can generalize to much broader use cases. | ||
It can be found `here <https://github.com/Living-with-machines/MapReader/blob/main/worked_examples/non-geospatial/classification_mnist/Pipeline.ipynb>`__. |
This file was deleted.
Oops, something went wrong.
3,026 changes: 0 additions & 3,026 deletions
3,026
docs/source/Worked-examples/one_inch_pipeline.ipynb
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.