Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
251 commits
Select commit Hold shift + click to select a range
4d19454
feat(configs): add *Config for all architectures
mkumar73 May 25, 2026
e36fcc0
feat(base_models): replace DefaultXXConfig with XXConfig in all base …
mkumar73 May 25, 2026
6408f1d
feat(models): add split config __init__ to all Classifier and Regress…
mkumar73 May 25, 2026
ff1dbd1
feat(sklearn_parent): implement split-config path in SklearnBase.__in…
mkumar73 May 25, 2026
8ad2397
fix(lss): use getattr fallback for lr/weight_decay in SklearnBaseLSS.…
mkumar73 May 25, 2026
cc48e7d
feat(config)!: split config into trainer, model and preprocessing config
mkumar73 May 25, 2026
c101911
test: clean up DefaultMLPConfig alias and remove migration tracking s…
mkumar73 May 25, 2026
51b39f1
test: module import fixed
mkumar73 May 25, 2026
c8c003c
fix: modernca config and model update
mkumar73 May 25, 2026
16f6f06
docs: docstring update
mkumar73 May 25, 2026
97423f9
fix: training parameter added
mkumar73 May 25, 2026
0660bf0
docs: key concepts, updated for new config setting
mkumar73 May 25, 2026
f0f0fbe
docs: model, trainer and preprocessing config explained
mkumar73 May 25, 2026
d797215
test: suppress pyright warning for member access
mkumar73 May 25, 2026
f09dbed
chore: ignore debug and dev scripts
mkumar73 May 25, 2026
32249be
refactor(modules)!: remove legacy arch_utils, base_models, data_utils…
mkumar73 May 25, 2026
78fa793
feat(nn)!: add nn module with blocks, normalization, and initialization
mkumar73 May 25, 2026
2d62b0d
feat(architectures)!: add architectures module with all stable model …
mkumar73 May 25, 2026
35364cb
feat(architectures)!: add experimental sub-package with ModernNCA, Ta…
mkumar73 May 25, 2026
1c46844
feat(core)!: add core module with BaseModel, registry, embeddings, po…
mkumar73 May 25, 2026
798cce9
feat(training)!: add training module with lightning module, losses, o…
mkumar73 May 25, 2026
0aedae6
feat(data)!: add data module with MambularDataModule, MambularDataset…
mkumar73 May 25, 2026
18cda2c
feat(distributions)!: add distributions module with 12 distribution c…
mkumar73 May 25, 2026
956cd5d
feat(metrics)!: add metrics module stubs for classification, regressi…
mkumar73 May 25, 2026
f253966
feat(hpo)!: add hpo module with get_search_space mapper
mkumar73 May 25, 2026
b27c963
feat(configs)!: add configs sub module with per-model config modules
mkumar73 May 25, 2026
f40e90e
feat(configs)!: add configs/experimental sub module for ModernNCA, Ta…
mkumar73 May 25, 2026
f8a18a6
feat(configs)!: add configs/core.py with shared base configuration de…
mkumar73 May 25, 2026
5deb7fd
feat(models)!: add split base classes for classifier, regressor, and …
mkumar73 May 25, 2026
dc4c7ff
feat(models)!: expose stable classes in __all__ and add __getattr__ s…
mkumar73 May 25, 2026
e57aaa8
feat(models)!: add _docstring helper to centralize generate_docstring…
mkumar73 May 25, 2026
9d135cd
chore: _registry cleanup, not used anymore
mkumar73 May 25, 2026
c924f4b
refactor(models)!: update import paths in ndtf, node, resnet, saint, …
mkumar73 May 25, 2026
c9220a2
refactor(models)!: update import paths in experimental ModernNCA, Tan…
mkumar73 May 25, 2026
93512ca
test(base): update test_base to scan architectures/ and architectures…
mkumar73 May 25, 2026
34e3365
test(model-exports): import MODEL_REGISTRY from deeptab.core.registry…
mkumar73 May 25, 2026
1f8eeb2
test(distributions): add test_distributions covering importability, _…
mkumar73 May 25, 2026
a5aac0f
test(hpo): add test_hpo smoke tests for get_search_space return shape…
mkumar73 May 25, 2026
a317d62
feat(root)!: expose configs, data, distributions, metrics, models in …
mkumar73 May 25, 2026
d0c5802
refactor(configs)!: remove deprecated flat config files superseded by…
mkumar73 May 25, 2026
2d97a0d
refactor(configs)!: update __init__ to import from core, models/, and…
mkumar73 May 25, 2026
baac165
refactor(architectures)!: update config imports to use configs/models…
mkumar73 May 25, 2026
c11abab
refactor(models)!: update config imports to use configs/models/, conf…
mkumar73 May 25, 2026
8f0c189
refactor(architectures)!: update config imports to use configs/models…
mkumar73 May 25, 2026
444a0c4
fix(nn)!: suppress pyright reportOptionalCall on RotaryEmbedding opti…
mkumar73 May 25, 2026
5a570c0
chore(justfile): simplify recipes, rename typecheck to types, remove …
mkumar73 May 26, 2026
558436b
refactor(core): expose public API via core/__init__.py boundary
mkumar73 May 26, 2026
770fb3a
refactor(training): expose public API via training/__init__.py boundary
mkumar73 May 26, 2026
fbc00c9
refactor(nn): expose public API via nn/__init__.py boundary
mkumar73 May 26, 2026
db422bd
refactor(architectures): add lazy __getattr__ boundary with TYPE_CHEC…
mkumar73 May 26, 2026
73133e4
refactor(architectures): update core imports to go through package bo…
mkumar73 May 26, 2026
4bf775a
refactor(models): update training and hpo imports to go through packa…
mkumar73 May 26, 2026
bfadf73
refactor(hpo): add missing exports to hpo/__init__.py
mkumar73 May 26, 2026
bb92750
fix(tests): update config lookup to search configs.models and configs…
mkumar73 May 26, 2026
7e8d4f4
refactor(models): replace **kwargs with explicit signatures in stable…
mkumar73 May 26, 2026
2f935a0
fix(tests): update flat-kwarg error assertions to match native TypeEr…
mkumar73 May 26, 2026
ac5987f
test(config): ignore call arg for testing flat kwargs
mkumar73 May 26, 2026
c44f52e
feat(configs): add SplitConfig for train/validation splitting parameters
mkumar73 May 26, 2026
f8f45f7
refactor(data): rename to TabularDataset/TabularDataModule and move t…
mkumar73 May 26, 2026
62d4442
refactor(models): update imports to use TabularDataModule
mkumar73 May 26, 2026
5f5a214
docs: update data utility class references
mkumar73 May 26, 2026
2a3e6e2
feat(data): add FeatureSchema and TabularBatch typed containers
mkumar73 May 26, 2026
31b084c
feat(data): add stratified splitting for classification and schema pr…
mkumar73 May 26, 2026
e8defa0
feat(data): add optional TabularBatch return mode
mkumar73 May 26, 2026
76be7dc
test(data): add comprehensive tests for data module
mkumar73 May 26, 2026
150fd2b
docs: restructure getting started into dedicated directory with detai…
mkumar73 May 26, 2026
e414950
docs: create comprehensive core concepts section with detailed guides
mkumar73 May 26, 2026
b3be3dd
docs: fix classification typo
mkumar73 May 26, 2026
f7593c0
docs(tutorials): detailed tutorials added with notebook badge, remove…
mkumar73 May 26, 2026
a5575a5
docs: add Model Zoo section with 18 models, comparison tables, and re…
mkumar73 May 26, 2026
f217c27
docs: clean up
mkumar73 May 26, 2026
5ce31f9
docs: remove base_models from API reference
mkumar73 May 26, 2026
321f836
docs: rename data_utils to data in API reference
mkumar73 May 26, 2026
91d6fe8
docs: major documentation restructure and updated API reference
mkumar73 May 26, 2026
c669e2b
docs: update readme and homepage
mkumar73 May 26, 2026
7fb27f2
docs(conf): disable notebook execution during build
mkumar73 May 26, 2026
3427f31
docs: cleanup index files, update reference links
mkumar73 May 27, 2026
f25fb06
docs: optimize getting started section
mkumar73 May 27, 2026
327404a
docs: optimzie core concepts, clean ups
mkumar73 May 27, 2026
4e2d44a
docs: update model docs to research-oriented format with tables, com…
mkumar73 May 27, 2026
416a122
docs: update readme, use v2.0 api
mkumar73 May 27, 2026
c5b144d
docs: update feature details for comparison table
mkumar73 May 27, 2026
2a49943
docs: readme rendering fixed
mkumar73 May 27, 2026
588fcbf
docs: api changes updated for custom model
mkumar73 May 27, 2026
9fb68e9
docs: formatting fix for code, notes, tips etc.
mkumar73 May 27, 2026
f709e60
docs: icons for tips, notes etc.
mkumar73 May 27, 2026
5ea4f24
fix: enable side bar navigation for api reference
mkumar73 May 27, 2026
218bc96
docs: formatting fixes
mkumar73 May 27, 2026
0a501b2
docs: sphinx theme style update
mkumar73 May 27, 2026
4db2721
docs: move from rst to md for model zoo indexes
mkumar73 May 27, 2026
acb9f1f
docs: cleanup redundant info from experimental models
mkumar73 May 27, 2026
dcc311c
docs: model list updated in the form of table
mkumar73 May 27, 2026
44613e8
docs: formatting fix
mkumar73 May 27, 2026
2e96a7e
docs: badge updated for tutorials
mkumar73 May 27, 2026
f46c073
chore: minor formatting fixes
mkumar73 May 27, 2026
1b419c9
docs: data api documentation update
mkumar73 May 27, 2026
c4fb222
docs: formatting fix
mkumar73 May 27, 2026
ba4f940
docs: research paper link added, facts updated
mkumar73 May 27, 2026
4be15ff
docs: update experimental overview, architecture details, recommendat…
mkumar73 May 27, 2026
d161fec
docs: clean up header
mkumar73 May 27, 2026
5a79dd4
docs: update architecture details and stable model guidelines
mkumar73 May 27, 2026
1817518
docs(conf): exclude notebook pattern
mkumar73 May 27, 2026
37a5f76
docs: core concepts refined further
mkumar73 May 27, 2026
775a1f5
docs: links updated
mkumar73 May 27, 2026
9b4f62f
docs(models): refernece link fixed
mkumar73 May 27, 2026
1836bfd
docs(tutorials): sync notebook and markdowns
mkumar73 May 27, 2026
1787201
chore: ignore pl logs and checkpoints
mkumar73 May 27, 2026
776fd13
docs(tutorials): guidelines for efficiency and benchmarking
mkumar73 May 27, 2026
4ceff77
feat: model inspection api added
mkumar73 May 27, 2026
aec64b4
feat: add rich model artifact serialization metadata
mkumar73 May 27, 2026
ff977f1
refactor(data): update datamodule and dataset internals
mkumar73 May 27, 2026
192ae4d
feat(core): add sklearn_compat module and update serialization/core e…
mkumar73 May 27, 2026
4f61623
refactor(models): update base classifier/regressor/lss model internals
mkumar73 May 27, 2026
8e07b18
docs(core_concepts): update docs for scoring, preprocessing, and data…
mkumar73 May 27, 2026
cffc694
test: update model, data, and save/load tests
mkumar73 May 27, 2026
4538ca0
chore: ipykernel added for dev
mkumar73 May 29, 2026
323e61a
docs: formatting fixed in installation
mkumar73 May 29, 2026
8d27dc2
fix: resolve pyright type errors
mkumar73 May 29, 2026
eae6cbf
fix: use getattr for task_model access in InspectionMixin
mkumar73 May 29, 2026
c54e027
docs: model zoo index rearrange
mkumar73 Jun 5, 2026
66adc93
fix: use r2 metric for regresion as default
mkumar73 Jun 5, 2026
67e08bd
refactor: consolidate save/load into core.serialization helpers
mkumar73 Jun 5, 2026
8096926
feat(core): add set_seed/seed_context reproducibility helpers
mkumar73 Jun 5, 2026
839a154
docs: add reproducibility guide
mkumar73 Jun 5, 2026
c436362
feat(training): add class-imbalance loss registry and weighted sampling
mkumar73 Jun 5, 2026
9ef848d
test(training): test cases for class-imbalance functionality
mkumar73 Jun 5, 2026
7710e40
docs(tutorials): add imbalanced classification tutorial and notebook
mkumar73 Jun 5, 2026
f349d33
ci: add smoke and coverage jobs, register smoke pytest marker
mkumar73 Jun 5, 2026
f1ebcd7
test: mark fast sanity-check tests with @pytest.mark.smoke
mkumar73 Jun 5, 2026
a898bd6
test(data): add validation leakage regression tests and score() param…
mkumar73 Jun 5, 2026
85980d0
docs: core concepts refined, serialization and model inspected added
mkumar73 Jun 5, 2026
8c6e10a
docs: index updated
mkumar73 Jun 6, 2026
e8ca5a5
feat(inspection): add profile() method for pre-training dry-run diagn…
mkumar73 Jun 6, 2026
d7f5d0f
feat(serialization): warn when save/load path lacks .deeptab extension
mkumar73 Jun 6, 2026
e801792
fix: ruff issue
mkumar73 Jun 6, 2026
ad6ba13
fix: pyright issues
mkumar73 Jun 6, 2026
9b2df76
docs: cleanup and minor update
mkumar73 Jun 6, 2026
566df29
docs: inference details added
mkumar73 Jun 6, 2026
ae519d5
docs: hardware recommendations
mkumar73 Jun 6, 2026
48b0961
feat: light weight inference wrapper
mkumar73 Jun 7, 2026
1ad75ca
test: code cov for nn blocks
mkumar73 Jun 7, 2026
b23f3f1
refactor(distributions): separate dist classes, add registry
mkumar73 Jun 7, 2026
9234a75
feat: add tweedie, inflated poissons, log normal etc. distribution
mkumar73 Jun 7, 2026
2cfb4b4
docs: distribution documentation added
mkumar73 Jun 8, 2026
5ca0dfa
feat(metrics): add deeptab metrics ABC, regression, classification, lss
mkumar73 Jun 8, 2026
85b0f93
feat(models): wire evaluate() in lss_base, regressor_base, and classi…
mkumar73 Jun 8, 2026
b552ded
fix(training): apply distribution parameter transform before passing …
mkumar73 Jun 8, 2026
bec59ba
fix(docs): remove dead cross-reference links and fix tables
mkumar73 Jun 8, 2026
af2a28f
docs(api): add metrics API reference with overview tables
mkumar73 Jun 8, 2026
13d08f2
docs(distributions): update table, fix grid
mkumar73 Jun 8, 2026
62ca8ec
docs: index update
mkumar73 Jun 8, 2026
3ebe48d
test(metrics): cover test cases for regression, classification, and lss
mkumar73 Jun 8, 2026
7dbfe38
docs: metrics info included
mkumar73 Jun 8, 2026
273f9ac
feat(core): add exception hierarchy and message factories
mkumar73 Jun 8, 2026
e6c1e5a
feat(configs,models): add __post_init__ validation using typed except…
mkumar73 Jun 8, 2026
f156cbd
fix(architectures,distributions): replace ValueError with typed excep…
mkumar73 Jun 8, 2026
05b464e
feat(api): export exception and warning types from deeptab and deepta…
mkumar73 Jun 8, 2026
d0afb6d
test(exceptions): add test suite for exception hierarchy and validation
mkumar73 Jun 8, 2026
d442581
fix(test): add typed error, fix preprocessing config
mkumar73 Jun 8, 2026
45dc2d2
fix: suppress unsupported dunderall
mkumar73 Jun 8, 2026
51ad3dc
feat(training): add optimizer/scheduler registry with all torch.optim…
mkumar73 Jun 9, 2026
d39e392
feat(training): wire optimizer/scheduler registry into LightningModul…
mkumar73 Jun 9, 2026
b1a7c2c
feat(configs): add optimizer/scheduler fields to TrainerConfig and In…
mkumar73 Jun 9, 2026
1897619
test(training): add unit tests for optimizer and scheduler registry
mkumar73 Jun 9, 2026
c7047ae
docs(tutorials): add advanced training tutorial and fix preprocessing…
mkumar73 Jun 9, 2026
0c8345a
docs(api): fix autodoc mocks, typehints config, and remove internal s…
mkumar73 Jun 9, 2026
86f3559
docs: update README, homepage, core concepts, developer guide, and ge…
mkumar73 Jun 9, 2026
177704a
ci: add Codecov upload step to coverage job
mkumar73 Jun 9, 2026
4e95808
docs: add favicon, update config
mkumar73 Jun 9, 2026
6676abe
refactor(configs): remove legacy BaseConfig class
mkumar73 Jun 9, 2026
76a61b9
fix(models): read optimizer_type and preprocessor live from config in…
mkumar73 Jun 9, 2026
c320a3d
fix: data validation for parameters
mkumar73 Jun 10, 2026
007fcca
fix: add seed to DataLoader/sampler generators
mkumar73 Jun 10, 2026
5ed3703
fix(exceptions): inherit EmptyDataError and ColumnCountError from Val…
mkumar73 Jun 10, 2026
5c1259d
fix(sklearn_compat): raise ValueError for 1D array input in ensure_da…
mkumar73 Jun 10, 2026
5b467ec
fix(base): add __sklearn_is_fitted__, use check_is_fitted
mkumar73 Jun 10, 2026
3550776
test(exceptions): add validation tests for TrainerConfig and ModelCon…
mkumar73 Jun 10, 2026
c85ed37
test(data): add DataLoader generator seeding tests
mkumar73 Jun 10, 2026
ae112d4
test(sklearn_contract): add sklearn estimator contract tests with par…
mkumar73 Jun 10, 2026
c0d4828
refactor: extract _FitMixin, _PredictMixin, _SerializationMixin, _Hyp…
mkumar73 Jun 10, 2026
6c09a7b
feat: introduce IDataModule/ITaskModel protocols and default factorie…
mkumar73 Jun 10, 2026
6f2a566
fix: resolve Pyright type errors in base, classifier_base, regressor_…
mkumar73 Jun 10, 2026
2ac63ef
test: add mixin unit tests
mkumar73 Jun 10, 2026
704f99b
refactor(models): prefix non-constructor attributes with _ for sklear…
mkumar73 Jun 11, 2026
4d2278a
refactor(core): update inspection and serialization for _ attribute r…
mkumar73 Jun 11, 2026
4e612cb
feat(training): rewrite configure_optimizers, add contrastive pretrai…
mkumar73 Jun 11, 2026
18a1aee
test: add pretraining unit tests and lss_base contract tests
mkumar73 Jun 11, 2026
fc5b92f
test: remove resolved xfails, update attribute references, add parame…
mkumar73 Jun 11, 2026
6e3050f
fix: pyright issues
mkumar73 Jun 11, 2026
b644f5e
refactor(hpo): rename mapper.py to search_space.py and fix lss_base e…
mkumar73 Jun 11, 2026
e3a03db
feat(models): integrate ObservabilityConfig into fit mixin
mkumar73 Jun 11, 2026
3111ee1
feat(models): add observability mixin wiring ObservabilityConfig to b…
mkumar73 Jun 11, 2026
bb717f3
feat(models): expose ObservabilityConfig on base estimator constructor
mkumar73 Jun 11, 2026
c61a151
chore: ignore experiment directories
mkumar73 Jun 11, 2026
5eff364
chore(deps): add extra packages for observability
mkumar73 Jun 11, 2026
8a0d721
fix: save default artificats to <run_dir>/artifacts/model.deeptab
mkumar73 Jun 11, 2026
010ec12
feat(core): add ObservabilityConfig
mkumar73 Jun 11, 2026
1cbcf62
test: update event names and add observability test coverage
mkumar73 Jun 12, 2026
dfc8844
feat(models): thread observability_config through all estimators
mkumar73 Jun 13, 2026
026ff51
fix(hpo): rebuild model per trial and map activation names to modules
mkumar73 Jun 13, 2026
dbc6d75
feat(inspection): expose public read-only task_model property
mkumar73 Jun 13, 2026
84543fe
chore: ignore observability run and checkpoint artifacts
mkumar73 Jun 13, 2026
01d8472
docs: refresh README for OpenTabular move and v2 highlights
mkumar73 Jun 13, 2026
35a4387
docs(api): correct reference examples and remove em-dashes
mkumar73 Jun 13, 2026
ab05124
docs(core-concepts): add observability guide and document Observabili…
mkumar73 Jun 13, 2026
d49215f
docs(core-concepts): streamline inference, model operations, and skle…
mkumar73 Jun 13, 2026
c8d4e7e
docs(tutorials): rename regression tutorial to skewed_regression
mkumar73 Jun 13, 2026
327a4e6
docs(tutorials): rename distributional tutorial to uncertainty_quanti…
mkumar73 Jun 13, 2026
1f86d80
docs(tutorials): add hyperparameter optimisation tutorial
mkumar73 Jun 13, 2026
ef01477
docs(tutorials): add observability tutorial
mkumar73 Jun 13, 2026
b680aaf
docs(tutorials): align imbalance classification structure with other …
mkumar73 Jun 13, 2026
475aa12
docs(tutorials): refresh advanced training, experimental, and efficie…
mkumar73 Jun 13, 2026
38805c7
docs(getting-started): streamline onboarding pages
mkumar73 Jun 13, 2026
bbd5ed3
docs(guide): update tooling references, reorder
mkumar73 Jun 13, 2026
99164a9
docs: update homepage and toctree navigation
mkumar73 Jun 13, 2026
2f6ec01
docs(model-zoo): refine efficiency page
mkumar73 Jun 13, 2026
e25c150
chore: trial run, persist output
mkumar73 Jun 14, 2026
d2abc5a
fix(transformer): use batch_first attention to prevent cross-sample l…
mkumar73 Jun 14, 2026
32d57f2
docs(conf): exclude inherited sklearn metadata-routing members from a…
mkumar73 Jun 14, 2026
e01c5c0
docs: remove why_deeptab page and update readme, homepage
mkumar73 Jun 14, 2026
420d612
docs: correct API names and config values in core concepts and instal…
mkumar73 Jun 14, 2026
d1ef82b
docs(api): document real constructor params in model docstrings
mkumar73 Jun 14, 2026
1f9bbfa
refactor(models): adopt declarative class variable estimator pattern
mkumar73 Jun 14, 2026
ea9cb68
fix(models): adapt child class to use class var, update docstring exa…
mkumar73 Jun 14, 2026
aa6765e
docs(training): document fit-time parameters and update models index
mkumar73 Jun 14, 2026
ba7a474
docs(core_concepts): add custom models guide
mkumar73 Jun 15, 2026
75e7813
feat(training): add unregister_optimizer, unregister_scheduler with b…
mkumar73 Jun 15, 2026
1d88c13
docs(training): add unregister optimizer and scheduler concept
mkumar73 Jun 15, 2026
3a9fa4a
docs: v2 changes
mkumar73 Jun 15, 2026
177c419
docs: refine readme, homepage, tutorials wording
mkumar73 Jun 15, 2026
3b60959
docs(core-concepts): document split config, no-preprocessing mode, fi…
mkumar73 Jun 18, 2026
ef9e186
docs(core-concepts): clarify sklearn compatibility, inference wrapper…
mkumar73 Jun 18, 2026
ff8cc96
feat(config): warn on misplaced config slots
mkumar73 Jun 18, 2026
4dc720c
docs(config): document wrong-field errors
mkumar73 Jun 18, 2026
009be45
refactor: replace SplitConfig with TrainerConfig.stratify and refresh…
mkumar73 Jun 19, 2026
ce54db7
docs(model): latex format added for notations
mkumar73 Jun 19, 2026
7d639f9
docs: description corrected
mkumar73 Jun 19, 2026
fa126a7
docs: update autodoc config
mkumar73 Jun 19, 2026
f4c0604
docs: metrics table update
mkumar73 Jun 19, 2026
8e17ae6
docs: observability info include structlog
mkumar73 Jun 19, 2026
3a4c629
docs: add info for contranstive pretraining
mkumar73 Jun 19, 2026
b673c4a
docs: update deeptab description
mkumar73 Jun 20, 2026
f47bf46
docs: re-ran tutorials, update comments
mkumar73 Jun 20, 2026
5d82896
fix(modernnca): support LSS prediction and add experimental model tests
mkumar73 Jun 20, 2026
a8256ad
docs: model summary update
mkumar73 Jun 20, 2026
70541fb
docs: standardize numpydoc docstrings across core, nn, and training m…
mkumar73 Jun 20, 2026
730ae5b
build: regenerate poetry.lock to match pyproject
mkumar73 Jun 20, 2026
3af2aed
style: use X | Y isinstance unions
mkumar73 Jun 20, 2026
f7ea989
build: align ruff version with pre-commit
mkumar73 Jun 20, 2026
41a9284
docs: update model comparison facts
mkumar73 Jun 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
81 changes: 81 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,84 @@ jobs:

- name: Run unit tests
run: poetry run pytest tests/ -v

smoke:
name: Smoke tests (Python 3.12, ubuntu)
runs-on: ubuntu-latest
needs: lint

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install Poetry
run: pipx install poetry

- name: Configure Poetry
run: poetry config virtualenvs.in-project true

- name: Cache virtualenv
uses: actions/cache@v4
with:
path: .venv
key: venv-smoke-${{ runner.os }}-3.12-${{ hashFiles('poetry.lock') }}

- name: Install dependencies
run: poetry install

- name: Run smoke tests
run: poetry run pytest tests/ -v -m smoke --tb=short

coverage:
name: Coverage (stable modules)
runs-on: ubuntu-latest
needs: tests

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install Poetry
run: pipx install poetry

- name: Configure Poetry
run: poetry config virtualenvs.in-project true

- name: Cache virtualenv
uses: actions/cache@v4
with:
path: .venv
key: venv-coverage-${{ runner.os }}-3.12-${{ hashFiles('poetry.lock') }}

- name: Install dependencies
run: poetry install

- name: Run tests with coverage
run: |
poetry run pytest tests/ \
--cov=deeptab \
--cov-branch \
--cov-report=term-missing \
--cov-report=xml:coverage.xml \
-q

- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage.xml
retention-days: 30

- name: Upload to Codecov
uses: codecov/codecov-action@v4
with:
files: coverage.xml
fail_ci_if_error: false
24 changes: 20 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,28 @@ dist/
# logs and checkpoints
examples/lightning_logs
*.ckpt

*.deeptab
lightning_logs
lightning_logs/*
checkpoints
checkpoints/*
model_checkpoints
model_checkpoints/*
outputs
outputs/*
experiment_logs
experiment_logs/*
mlruns
mlruns/*
deeptab_runs
deeptab_runs/*
obs_runs
obs_runs/*

# Sphinx build artifacts
docs/_build/doctrees/*
docs/_build/html/*

# dev files
dev
dev/*


lightning_logs/*
859 changes: 431 additions & 428 deletions README.md

Large diffs are not rendered by default.

28 changes: 24 additions & 4 deletions deeptab/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
from . import base_models, data_utils, models, utils
from . import configs, data, distributions, metrics, models
from ._version import __version__
from .core.exceptions import (
ConfigWarning,
DataWarning,
DeepTabError,
DeepTabWarning,
NotFittedError,
PerformanceWarning,
)
from .core.inference import InferenceModel
from .core.reproducibility import seed_context, set_seed

__all__ = [
"ConfigWarning",
"DataWarning",
"DeepTabError",
"DeepTabWarning",
"InferenceModel",
"NotFittedError",
"PerformanceWarning",
"__version__",
"base_models",
"data_utils",
"configs",
"data",
"distributions",
"metrics",
"models",
"utils",
"seed_context",
"set_seed",
]
Loading
Loading