APIΒΆ
This section contains the auto-generated API reference for the Compocyte package.
Core packageΒΆ
Core subpackage for Compocyte. |
|
Hierarchical classifier implementation. |
|
Utility functions for Compocyte. |
|
Hyperparameter tuner utilities. |
ModelsΒΆ
Model implementations used by Compocyte. |
|
PyTorch dense model wrapper for Compocyte. |
|
Logistic regression wrapper used as a lightweight local classifier. |
|
Shared fit and predict helper methods for different model wrappers. |
|
A minimal dummy classifier used as a fallback local classifier. |
|
CatBoost-based boosted trees wrapper. |
Base classesΒΆ
Base classes for data handling, hierarchy management and import/export. |
|
Data handling base class utilities. |
|
Export / import helpers for hierarchical classifiers. |
|
Hierarchy graph management utilities. |
If you need a flat list of all modules, see the auto-generated files.
Quick API indexΒΆ
Below is a short inline index with one-line summaries for the most important modules. Click a module name to open its full API page.
Compocyte.core β Core package utilities and primary entry points.
Compocyte.core.hierarchical_classifier β HierarchicalClassifier: orchestrates feature selection, training and hierarchical prediction.
Compocyte.core.tools β Utility functions and small helpers used across the codebase.
Compocyte.core.tuner β Hyperparameter tuning helpers and experiment storage utilities.
Models
Compocyte.core.models β Collection of model wrappers used by the framework.
Compocyte.core.models.dense_torch β PyTorch feed-forward model wrapper and helpers.
Compocyte.core.models.log_reg β Scikit-learn based logistic regression wrapper.
Compocyte.core.models.fit_methods β Shared training/prediction utilities across model wrappers.
Compocyte.core.models.trees β CatBoost wrapped boosted trees implementation.
Base classes
Compocyte.core.base β Base classes used by higher-level modules.
Compocyte.core.base.data_base β Data handling and AnnData helpers.
Compocyte.core.base.export_import_base β Save/load helpers for classifier state and models.
Compocyte.core.base.hierarchy_base β Hierarchy graph management utilities.