API reference
The API reference is the object-level counterpart to the User Guide. Each section contains two layers:
- a short manual explanation of the object's role and important behavioral details;
- a
mkdocstringsblock that reads the current Python signature and docstring from the source tree.
This means signatures stay synchronized with the code, while conceptual explanations can remain richer than a docstring should be.
Import conventions
The package root intentionally exports the main fitted estimators:
from capacities_ml_fin import (
ChoquetRegressor,
ScaledChoquetRegressor,
ChoquetClassifier,
ChoquisticRegression,
FuzzyChoquetInputLayer,
FuzzyChoquetNeuralRegressor,
FuzzyChoquetNeuralClassifier,
FuzzyChoquetNeuralAutoRegressor,
ChoquetAutoRegressor,
aggregate_regression_predictions,
aggregate_binary_probabilities,
)
Other functionality is grouped by domain:
from capacities_ml_fin.base.capacities import ExplicitCapacity, MobiusCapacity
from capacities_ml_fin.base.interpretation import shapley_indices
from capacities_ml_fin.ml.optimization import KAdditivity
from capacities_ml_fin.finance import price_returns
from capacities_ml_fin.risk import ExpectedShortfallDistortion
Sections
- Capacities
- Integrals
- Interpretation
- ML models
- Fuzzy neural models
- Model aggregation
- Optimization
- Preprocessing & model selection
- Finance
- Risk
Note
Objects whose names begin with _ are implementation details and are intentionally excluded from the public documentation by the MkDocs configuration.