Skip to content

Commit

Permalink
read the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
teyaberg committed Jun 10, 2024
1 parent 98a76ff commit 1009f70
Show file tree
Hide file tree
Showing 9 changed files with 86 additions and 15 deletions.
13 changes: 7 additions & 6 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = "MEDS-TAB"
project = "MEDS-Tab"
copyright = "2024, Matthew McDermott, Nassim Oufattole, Teya Bergamaschi"
author = "Matthew McDermott, Nassim Oufattole, Teya Bergamaschi"
release = "0.1.0"
version = "0.1.0"
release = "0.0.1"
version = "0.0.1"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

sys.path.insert(0, os.path.abspath("../.."))

extensions = [
"sphinx.ext.duration",
"sphinx.ext.doctest",
Expand Down Expand Up @@ -60,8 +61,8 @@
html_static_path = ["_static"]


html_title = f"NEDS-TAB v{version} Documentation"
html_short_title = "MEDS-TAB Documentation"
html_title = f"MEDS-Tab v{version} Documentation"
html_short_title = "MEDS-Tab Documentation"

# html_logo = "query-512.png"
# html_favicon = "query-16.ico"
Expand All @@ -70,7 +71,7 @@

html_theme_options = {
"dark_mode_code_blocks": False,
# "nav_title": "MEDS-TAB",
# "nav_title": "MEDS-Tab",
# "palette": {"primary": "green", "accent": "green"},
# "repo_url": "https://github.com/mmcdermott/MEDS_Tabular_AutoML",
# "repo_name": "MEDS_Tabular_AutoML",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
src.MEDS\_tabular\_automl.scripts.describe\_codes
=================================================

.. automodule:: src.MEDS_tabular_automl.scripts.describe_codes







.. rubric:: Functions

.. autosummary::

main
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
src.MEDS\_tabular\_automl.scripts.launch\_xgboost
=================================================

.. automodule:: src.MEDS_tabular_automl.scripts.launch_xgboost







.. rubric:: Functions

.. autosummary::

main





.. rubric:: Classes

.. autosummary::

Iterator
XGBoostModel
1 change: 0 additions & 1 deletion docs/source/generated/src.MEDS_tabular_automl.scripts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@ src.MEDS\_tabular\_automl.scripts
src.MEDS_tabular_automl.scripts.cache_task
src.MEDS_tabular_automl.scripts.describe_codes
src.MEDS_tabular_automl.scripts.launch_xgboost
src.MEDS_tabular_automl.scripts.sweep_xgboost
src.MEDS_tabular_automl.scripts.tabularize_static
src.MEDS_tabular_automl.scripts.tabularize_time_series
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
src.MEDS\_tabular\_automl.scripts.tabularize\_static
====================================================

.. automodule:: src.MEDS_tabular_automl.scripts.tabularize_static







.. rubric:: Functions

.. autosummary::

main
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
src.MEDS\_tabular\_automl.scripts.tabularize\_time\_series
==========================================================

.. automodule:: src.MEDS_tabular_automl.scripts.tabularize_time_series







.. rubric:: Functions

.. autosummary::

main
4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to MEDS-TAB's documentation!
Welcome to MEDS-Tab's documentation!
====================================

.. toctree::
:maxdepth: 1
:maxdepth: 2
:caption: Contents:

overview
Expand Down
4 changes: 0 additions & 4 deletions docs/source/license.rst

This file was deleted.

4 changes: 2 additions & 2 deletions src/MEDS_tabular_automl/describe_codes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from pathlib import Path

import polars as pl
from omegaconf import DictConfig, OmegaConf
from omegaconf import DictConfig

from MEDS_tabular_automl.utils import DF_T, get_feature_names

Expand Down Expand Up @@ -118,7 +118,7 @@ def filter_to_codes(
return sorted([code for code, freq in code_freqs.items() if freq >= min_code_inclusion_frequency])


OmegaConf.register_new_resolver("filter_to_codes", filter_to_codes)
# OmegaConf.register_new_resolver("filter_to_codes", filter_to_codes)


def clear_code_aggregation_suffix(code):
Expand Down

0 comments on commit 1009f70

Please sign in to comment.