├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ └── feature_request.md ├── dependabot.yml ├── release.yml └── workflows │ ├── bot-prs.yml │ ├── coverage.yml │ ├── docs.yml │ ├── pr-sync-labels.yml │ ├── publish.yml │ └── tests.yml ├── .gitignore ├── .pre-commit-config.yaml ├── LICENSE ├── Makefile ├── README.md ├── codecov.yml ├── datasets ├── chicago-bikes.csv ├── online_retail_II.csv └── ufo_sighting_data.csv ├── docs ├── draft.md ├── examples │ ├── cal-attribute.md │ ├── create-segments.md │ ├── datasets │ │ ├── bikes-in-chicago.md │ │ ├── store-transactions.md │ │ └── ufo-sightings.md │ ├── generation-process.md │ ├── model │ │ └── sklearn-compat.md │ └── plotting │ │ ├── add-calendar-events.md │ │ ├── calendar-customization.md │ │ ├── event-frequency.md │ │ └── pandas-methods.md ├── images │ ├── arbitrary-events.png │ ├── bikes-by-member-type.png │ ├── calendar-customization.png │ ├── chicago-bikes.png │ ├── chicago-components.png │ ├── customer-transactions.png │ ├── customized-in-methods.png │ ├── discrete-approximation.png │ ├── member-by-week-w-storm.png │ ├── new-segments.png │ ├── profile-by-row.png │ ├── quick-start.png │ ├── removed-labels.png │ ├── series-calendar.png │ ├── station-distribution.png │ ├── station-profiles.png │ ├── store-transactions.png │ ├── time-slot-size.png │ ├── time-slots.png │ ├── trip-volume.png │ ├── very-different-stations.png │ ├── week-w-storm.png │ ├── week.png │ └── weekly-ufo-sightings.png ├── index.md ├── javascripts │ └── mathjax.js ├── methodology.md ├── modules │ ├── const.md │ ├── datasets.md │ ├── extensions.md │ ├── generate.md │ ├── model.md │ ├── plot.md │ ├── plot │ │ ├── colors.md │ │ ├── config.md │ │ ├── core.md │ │ ├── elements.md │ │ ├── grid_settings.md │ │ └── iterate.md │ ├── segments.md │ ├── transformers.md │ └── vocab.md └── overrides │ └── partials │ └── comments.html ├── latent_calendar ├── __init__.py ├── const.py ├── datasets │ └── __init__.py ├── extensions.py ├── generate.py ├── model │ ├── __init__.py │ ├── latent_calendar.py │ └── utils.py ├── plot │ ├── __init__.py │ ├── colors.py │ ├── config.py │ ├── core │ │ ├── __init__.py │ │ ├── calendar.py │ │ └── model.py │ ├── elements.py │ ├── grid_settings.py │ └── iterate.py ├── py.typed ├── segments │ ├── __init__.py │ ├── convolution.py │ └── hand_picked.py ├── transformers.py └── vocab.py ├── mkdocs.yml ├── pyproject.toml ├── scripts ├── plot-post.py └── pymc-slides │ ├── Dockerfile │ ├── README.md │ ├── data │ ├── generative-process.png │ ├── me.jpeg │ └── stations.png │ ├── images │ ├── across-stations.png │ ├── attempt-1.png │ ├── attempt-2.png │ ├── attempt-3.png │ ├── attempt-4.png │ ├── case-for-discrete.png │ ├── component-distribution.png │ ├── different-priors.png │ ├── different-stations-predictions.png │ ├── different-stations-profiles.png │ ├── different-stations.png │ ├── mock-data-2-model-2.png │ ├── mock-data-2.png │ ├── mock-data-model-2.png │ ├── mock-data.png │ ├── model-components-8.png │ ├── model-components-topic-word-prior-0.0001.png │ ├── model-components-topic-word-prior-0.01.png │ ├── model-components-topic-word-prior-0.1.png │ ├── model-components-topic-word-prior-0.5.png │ ├── model-components-topic-word-prior-1.png │ ├── model-components-topic-word-prior-1e-05.png │ ├── model-components.png │ ├── prior-sensitivity-doc-topic.png │ ├── station-profiles-8.png │ ├── station-profiles.png │ ├── test-sensitivity-priors-topic-word.png │ └── timeslot-prior.png │ ├── pymc-slides.py │ ├── qr-codes │ └── documentation.png │ ├── requirements.txt │ └── slides.qmd ├── tests ├── __init__.py ├── baseline │ ├── test_blank_calendar.png │ ├── test_multiday_event.png │ ├── test_segements.png │ ├── test_settings.png │ └── test_various_elements.png ├── conftest.py ├── model │ ├── __init__.py │ ├── test_latent_calendar.py │ └── test_model_utils.py ├── plot │ ├── __init__.py │ ├── test_core.py │ ├── test_elements.py │ ├── test_grid_settings.py │ └── test_iterate.py ├── segments │ ├── __init__.py │ ├── test_convolution.py │ └── test_hand_picked.py ├── test_const.py ├── test_datasets.py ├── test_extensions.py ├── test_generate.py ├── test_plots.py └── test_transformers.py └── uv.lock /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/.github/release.yml -------------------------------------------------------------------------------- /.github/workflows/bot-prs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/.github/workflows/bot-prs.yml -------------------------------------------------------------------------------- /.github/workflows/coverage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/.github/workflows/coverage.yml -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/.github/workflows/docs.yml -------------------------------------------------------------------------------- /.github/workflows/pr-sync-labels.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/.github/workflows/pr-sync-labels.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/README.md -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/codecov.yml -------------------------------------------------------------------------------- /datasets/chicago-bikes.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/datasets/chicago-bikes.csv -------------------------------------------------------------------------------- /datasets/online_retail_II.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/datasets/online_retail_II.csv -------------------------------------------------------------------------------- /datasets/ufo_sighting_data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/datasets/ufo_sighting_data.csv -------------------------------------------------------------------------------- /docs/draft.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/draft.md -------------------------------------------------------------------------------- /docs/examples/cal-attribute.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/examples/cal-attribute.md -------------------------------------------------------------------------------- /docs/examples/create-segments.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/examples/create-segments.md -------------------------------------------------------------------------------- /docs/examples/datasets/bikes-in-chicago.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/examples/datasets/bikes-in-chicago.md -------------------------------------------------------------------------------- /docs/examples/datasets/store-transactions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/examples/datasets/store-transactions.md -------------------------------------------------------------------------------- /docs/examples/datasets/ufo-sightings.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/examples/datasets/ufo-sightings.md -------------------------------------------------------------------------------- /docs/examples/generation-process.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/examples/generation-process.md -------------------------------------------------------------------------------- /docs/examples/model/sklearn-compat.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/examples/model/sklearn-compat.md -------------------------------------------------------------------------------- /docs/examples/plotting/add-calendar-events.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/examples/plotting/add-calendar-events.md -------------------------------------------------------------------------------- /docs/examples/plotting/calendar-customization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/examples/plotting/calendar-customization.md -------------------------------------------------------------------------------- /docs/examples/plotting/event-frequency.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/examples/plotting/event-frequency.md -------------------------------------------------------------------------------- /docs/examples/plotting/pandas-methods.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/examples/plotting/pandas-methods.md -------------------------------------------------------------------------------- /docs/images/arbitrary-events.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/arbitrary-events.png -------------------------------------------------------------------------------- /docs/images/bikes-by-member-type.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/bikes-by-member-type.png -------------------------------------------------------------------------------- /docs/images/calendar-customization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/calendar-customization.png -------------------------------------------------------------------------------- /docs/images/chicago-bikes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/chicago-bikes.png -------------------------------------------------------------------------------- /docs/images/chicago-components.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/chicago-components.png -------------------------------------------------------------------------------- /docs/images/customer-transactions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/customer-transactions.png -------------------------------------------------------------------------------- /docs/images/customized-in-methods.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/customized-in-methods.png -------------------------------------------------------------------------------- /docs/images/discrete-approximation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/discrete-approximation.png -------------------------------------------------------------------------------- /docs/images/member-by-week-w-storm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/member-by-week-w-storm.png -------------------------------------------------------------------------------- /docs/images/new-segments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/new-segments.png -------------------------------------------------------------------------------- /docs/images/profile-by-row.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/profile-by-row.png -------------------------------------------------------------------------------- /docs/images/quick-start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/quick-start.png -------------------------------------------------------------------------------- /docs/images/removed-labels.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/removed-labels.png -------------------------------------------------------------------------------- /docs/images/series-calendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/series-calendar.png -------------------------------------------------------------------------------- /docs/images/station-distribution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/station-distribution.png -------------------------------------------------------------------------------- /docs/images/station-profiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/station-profiles.png -------------------------------------------------------------------------------- /docs/images/store-transactions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/store-transactions.png -------------------------------------------------------------------------------- /docs/images/time-slot-size.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/time-slot-size.png -------------------------------------------------------------------------------- /docs/images/time-slots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/time-slots.png -------------------------------------------------------------------------------- /docs/images/trip-volume.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/trip-volume.png -------------------------------------------------------------------------------- /docs/images/very-different-stations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/very-different-stations.png -------------------------------------------------------------------------------- /docs/images/week-w-storm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/week-w-storm.png -------------------------------------------------------------------------------- /docs/images/week.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/week.png -------------------------------------------------------------------------------- /docs/images/weekly-ufo-sightings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/images/weekly-ufo-sightings.png -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/javascripts/mathjax.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/javascripts/mathjax.js -------------------------------------------------------------------------------- /docs/methodology.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/methodology.md -------------------------------------------------------------------------------- /docs/modules/const.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/modules/const.md -------------------------------------------------------------------------------- /docs/modules/datasets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/modules/datasets.md -------------------------------------------------------------------------------- /docs/modules/extensions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/modules/extensions.md -------------------------------------------------------------------------------- /docs/modules/generate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/modules/generate.md -------------------------------------------------------------------------------- /docs/modules/model.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/modules/model.md -------------------------------------------------------------------------------- /docs/modules/plot.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/modules/plot.md -------------------------------------------------------------------------------- /docs/modules/plot/colors.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/modules/plot/colors.md -------------------------------------------------------------------------------- /docs/modules/plot/config.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/modules/plot/config.md -------------------------------------------------------------------------------- /docs/modules/plot/core.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/modules/plot/core.md -------------------------------------------------------------------------------- /docs/modules/plot/elements.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/modules/plot/elements.md -------------------------------------------------------------------------------- /docs/modules/plot/grid_settings.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/modules/plot/grid_settings.md -------------------------------------------------------------------------------- /docs/modules/plot/iterate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/modules/plot/iterate.md -------------------------------------------------------------------------------- /docs/modules/segments.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/modules/segments.md -------------------------------------------------------------------------------- /docs/modules/transformers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/modules/transformers.md -------------------------------------------------------------------------------- /docs/modules/vocab.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/modules/vocab.md -------------------------------------------------------------------------------- /docs/overrides/partials/comments.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/docs/overrides/partials/comments.html -------------------------------------------------------------------------------- /latent_calendar/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/__init__.py -------------------------------------------------------------------------------- /latent_calendar/const.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/const.py -------------------------------------------------------------------------------- /latent_calendar/datasets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/datasets/__init__.py -------------------------------------------------------------------------------- /latent_calendar/extensions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/extensions.py -------------------------------------------------------------------------------- /latent_calendar/generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/generate.py -------------------------------------------------------------------------------- /latent_calendar/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /latent_calendar/model/latent_calendar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/model/latent_calendar.py -------------------------------------------------------------------------------- /latent_calendar/model/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/model/utils.py -------------------------------------------------------------------------------- /latent_calendar/plot/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/plot/__init__.py -------------------------------------------------------------------------------- /latent_calendar/plot/colors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/plot/colors.py -------------------------------------------------------------------------------- /latent_calendar/plot/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/plot/config.py -------------------------------------------------------------------------------- /latent_calendar/plot/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/plot/core/__init__.py -------------------------------------------------------------------------------- /latent_calendar/plot/core/calendar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/plot/core/calendar.py -------------------------------------------------------------------------------- /latent_calendar/plot/core/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/plot/core/model.py -------------------------------------------------------------------------------- /latent_calendar/plot/elements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/plot/elements.py -------------------------------------------------------------------------------- /latent_calendar/plot/grid_settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/plot/grid_settings.py -------------------------------------------------------------------------------- /latent_calendar/plot/iterate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/plot/iterate.py -------------------------------------------------------------------------------- /latent_calendar/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /latent_calendar/segments/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/segments/__init__.py -------------------------------------------------------------------------------- /latent_calendar/segments/convolution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/segments/convolution.py -------------------------------------------------------------------------------- /latent_calendar/segments/hand_picked.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/segments/hand_picked.py -------------------------------------------------------------------------------- /latent_calendar/transformers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/transformers.py -------------------------------------------------------------------------------- /latent_calendar/vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/latent_calendar/vocab.py -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/pyproject.toml -------------------------------------------------------------------------------- /scripts/plot-post.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/plot-post.py -------------------------------------------------------------------------------- /scripts/pymc-slides/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/Dockerfile -------------------------------------------------------------------------------- /scripts/pymc-slides/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/README.md -------------------------------------------------------------------------------- /scripts/pymc-slides/data/generative-process.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/data/generative-process.png -------------------------------------------------------------------------------- /scripts/pymc-slides/data/me.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/data/me.jpeg -------------------------------------------------------------------------------- /scripts/pymc-slides/data/stations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/data/stations.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/across-stations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/across-stations.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/attempt-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/attempt-1.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/attempt-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/attempt-2.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/attempt-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/attempt-3.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/attempt-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/attempt-4.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/case-for-discrete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/case-for-discrete.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/component-distribution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/component-distribution.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/different-priors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/different-priors.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/different-stations-predictions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/different-stations-predictions.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/different-stations-profiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/different-stations-profiles.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/different-stations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/different-stations.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/mock-data-2-model-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/mock-data-2-model-2.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/mock-data-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/mock-data-2.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/mock-data-model-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/mock-data-model-2.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/mock-data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/mock-data.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/model-components-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/model-components-8.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/model-components-topic-word-prior-0.0001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/model-components-topic-word-prior-0.0001.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/model-components-topic-word-prior-0.01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/model-components-topic-word-prior-0.01.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/model-components-topic-word-prior-0.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/model-components-topic-word-prior-0.1.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/model-components-topic-word-prior-0.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/model-components-topic-word-prior-0.5.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/model-components-topic-word-prior-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/model-components-topic-word-prior-1.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/model-components-topic-word-prior-1e-05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/model-components-topic-word-prior-1e-05.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/model-components.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/model-components.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/prior-sensitivity-doc-topic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/prior-sensitivity-doc-topic.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/station-profiles-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/station-profiles-8.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/station-profiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/station-profiles.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/test-sensitivity-priors-topic-word.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/test-sensitivity-priors-topic-word.png -------------------------------------------------------------------------------- /scripts/pymc-slides/images/timeslot-prior.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/images/timeslot-prior.png -------------------------------------------------------------------------------- /scripts/pymc-slides/pymc-slides.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/pymc-slides.py -------------------------------------------------------------------------------- /scripts/pymc-slides/qr-codes/documentation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/qr-codes/documentation.png -------------------------------------------------------------------------------- /scripts/pymc-slides/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/requirements.txt -------------------------------------------------------------------------------- /scripts/pymc-slides/slides.qmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/scripts/pymc-slides/slides.qmd -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/baseline/test_blank_calendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/baseline/test_blank_calendar.png -------------------------------------------------------------------------------- /tests/baseline/test_multiday_event.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/baseline/test_multiday_event.png -------------------------------------------------------------------------------- /tests/baseline/test_segements.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/baseline/test_segements.png -------------------------------------------------------------------------------- /tests/baseline/test_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/baseline/test_settings.png -------------------------------------------------------------------------------- /tests/baseline/test_various_elements.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/baseline/test_various_elements.png -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/model/test_latent_calendar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/model/test_latent_calendar.py -------------------------------------------------------------------------------- /tests/model/test_model_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/model/test_model_utils.py -------------------------------------------------------------------------------- /tests/plot/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/plot/test_core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/plot/test_core.py -------------------------------------------------------------------------------- /tests/plot/test_elements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/plot/test_elements.py -------------------------------------------------------------------------------- /tests/plot/test_grid_settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/plot/test_grid_settings.py -------------------------------------------------------------------------------- /tests/plot/test_iterate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/plot/test_iterate.py -------------------------------------------------------------------------------- /tests/segments/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/segments/test_convolution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/segments/test_convolution.py -------------------------------------------------------------------------------- /tests/segments/test_hand_picked.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/segments/test_hand_picked.py -------------------------------------------------------------------------------- /tests/test_const.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/test_const.py -------------------------------------------------------------------------------- /tests/test_datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/test_datasets.py -------------------------------------------------------------------------------- /tests/test_extensions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/test_extensions.py -------------------------------------------------------------------------------- /tests/test_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/test_generate.py -------------------------------------------------------------------------------- /tests/test_plots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/test_plots.py -------------------------------------------------------------------------------- /tests/test_transformers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/tests/test_transformers.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williambdean/latent-calendar/HEAD/uv.lock --------------------------------------------------------------------------------