Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

ENH: Switch recommonmark to MyST-parser #787

Merged
merged 25 commits into from
Aug 18, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
267d4e8
📝 Create basic for ML API
peterhessey Aug 5, 2022
806f261
📝 Add ML/configs base doc files
peterhessey Aug 5, 2022
0cbd7c7
📝 Finish ML/configs API
peterhessey Aug 8, 2022
f5c82cf
📝 Update augmentations
peterhessey Aug 8, 2022
ac0171a
📝 Add ML/dataset API docs
peterhessey Aug 8, 2022
e9fff6a
📝 Add rst skeleton for ML/models
peterhessey Aug 8, 2022
4fd8de4
📝 Fix docstring missing newlines
peterhessey Aug 8, 2022
6371548
Remove script
peterhessey Aug 8, 2022
27e7784
📝 Finish ML/models API docs
peterhessey Aug 8, 2022
6a1273f
📝 Start ML/SSL API. Fix some formatting issues
peterhessey Aug 9, 2022
562173b
📝 Correct whitespace issues in `:param`
peterhessey Aug 9, 2022
416e907
📝 Fix whitespace errors on `:return` statements
peterhessey Aug 9, 2022
a778dac
📝 Fix :return: statements
peterhessey Aug 9, 2022
33b557c
📝 Finish ML/SSL API
peterhessey Aug 9, 2022
7d4f466
📝 Add ML/utils API docs
peterhessey Aug 9, 2022
19ab5b2
📝 Add visualizer docs, fix `:raise` indents
peterhessey Aug 9, 2022
67169af
📝 Fix more issues with the `:raises:` formatting
peterhessey Aug 9, 2022
7619004
♻️ Restructuring folders
peterhessey Aug 9, 2022
bdc2a51
📝 Limit API `toctree` depth
peterhessey Aug 9, 2022
56c3a52
📝 Add primary InnerEye/ML files API to docs
peterhessey Aug 9, 2022
e9e5ee8
📝 Fix and add `InnerEye/ML/*.py` docs
peterhessey Aug 9, 2022
c1d84a8
⚰️ Remove weird `settings.json` change
peterhessey Aug 9, 2022
933bc7b
📌 Switch recommonmark to MyST-parser
peterhessey Aug 15, 2022
6e610b0
📌 Add myst-parser to `environment.yml`, lock env
peterhessey Aug 16, 2022
a9a5278
Fix conflicts merging main
peterhessey Aug 17, 2022
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
Prev Previous commit
Next Next commit
📝 Add primary InnerEye/ML files API to docs
  • Loading branch information
peterhessey committed Aug 9, 2022
commit 56c3a5273dc32b8280fec11f8dc9a82cc07f9c11
1 change: 0 additions & 1 deletion InnerEye/ML/baselines_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ def download_and_compare_scores(outputs_folder: Path, azure_config: AzureConfig,
:param azure_config: Azure configuration to use for downloading data
:param comparison_blob_storage_paths: list of paths to directories containing metrics.csv and dataset.csv files,
each of the form run_recovery_id/rest_of_path

:param model_dataset_df: dataframe containing contents of dataset.csv for the current model
:param model_metrics_df: dataframe containing contents of metrics.csv for the current model
:return: a dataframe for all the data (current model and all baselines); whether any comparisons were
Expand Down
9 changes: 5 additions & 4 deletions docs/source/rst/api/ML/ML.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ Machine learning
================

.. toctree::
:caption: Docuemntation for InnerEye/ML

configs
core
models
dataset
augmentations
pipelines
SSL
configs
utils
runner
photometric_normalization
pipelines
visualizers
13 changes: 13 additions & 0 deletions docs/source/rst/api/ML/core.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
InnerEye/ML Core
================

.. toctree::
:caption: Key Components in running InnerEye-DeepLearning

core/common
core/lightning
core/training
core/testing
core/configs
core/metrics
core/visualization
10 changes: 10 additions & 0 deletions docs/source/rst/api/ML/core/common.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Common
=======

.. automodule:: InnerEye.ML.run_ml

.. automodule:: InnerEye.ML.runner

.. automodule:: InnerEye.ML.common

.. automodule:: InnerEye.ML.baselines_util
12 changes: 12 additions & 0 deletions docs/source/rst/api/ML/core/configs.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Configs
=======

.. automodule:: InnerEye.ML.config

.. automodule:: InnerEye.ML.model_config_base

.. automodule:: InnerEye.ML.deep_learning_config

.. automodule:: InnerEye.ML.scalar_config

.. automodule:: InnerEye.ML.model_inference_config
14 changes: 14 additions & 0 deletions docs/source/rst/api/ML/core/lightning.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Lightning Components
================================

.. automodule:: InnerEye.ML.lightning_base

.. automodule:: InnerEye.ML.lightning_container

.. automodule:: InnerEye.ML.lightning_models

.. automodule:: InnerEye.ML.lightning_helpers

.. automodule:: InnerEye.ML.lightning_loggers

.. automodule:: InnerEye.ML.lightning_metrics
6 changes: 6 additions & 0 deletions docs/source/rst/api/ML/core/metrics.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Metrics
========

.. automodule:: InnerEye.ML.metrics

.. automodule:: InnerEye.ML.metrics_dict
4 changes: 4 additions & 0 deletions docs/source/rst/api/ML/core/testing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Testing Models
==============

.. automodule:: InnerEye.ML.model_testing
6 changes: 6 additions & 0 deletions docs/source/rst/api/ML/core/training.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Training Models
================

.. automodule:: InnerEye.ML.model_training

.. automodule:: InnerEye.ML.photometric_normalization
8 changes: 8 additions & 0 deletions docs/source/rst/api/ML/core/visualization.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Visualization
==============

.. automodule:: InnerEye.ML.plotting

.. automodule:: InnerEye.ML.normalize_and_visualize_dataset

.. automodule:: InnerEye.ML.surface_distance_heatmaps
4 changes: 0 additions & 4 deletions docs/source/rst/api/ML/photometric_normalization.rst

This file was deleted.

4 changes: 0 additions & 4 deletions docs/source/rst/api/ML/runner.rst

This file was deleted.