tfp_causalimpact_customized
A stable multi-chain rebuilt of TFP CausalImpact
Features
-
Added convergence tests to the Gibbs sampling process.
-
Improved summary round to 3 digits
-
Added support for Japanese fonts and characters in Matplotlib plots.
-
Enhanced compatibility with Japanese data visualization requirements.
-
Enhanced plotting capabilities for chain convergence visualizations.
-
Enhancements Over tfcausalimpact tfcausalimpact
- Stability: Resolved the issue of results changing from run to run, ensuring consistent outcomes. See Result change from run to run in tfcausalimpact.
Getting Started
- Installation
uv add tfp_causalimpact_customized
- Plot options (Currently only Matplotlib is supported) Important:y_formatter_unit must be a dictionary with the keys that are the same as legend_labels y_labels.
plot_options = {
'chart_width': 1000,
'chart_height': 200,
'x_label': 'Date',
'y_labels': ['Observed1', 'Pointwise Effect1', 'Cumulative Effect1'],
'title': 'Customized Matplotlib Plot',
'title_font_size': 16,
'axis_title_font_size': 14,
'y_formatter': 'millions',
'y_formatter_unit': {
'Observed1': ' units',
'Pointwise Effect1': ' effect',
'Cumulative Effect1': ' total'
},
'legend_labels': {
'mean': 'Average',
'observed': 'Observed',
'pointwise': 'Pointwise Effect',
'cumulative': 'Cumulative Effect',
'pre-period-start': 'Start of Pre-Period',
'pre-period-end': 'End of Pre-Period',
'post-period-start': 'Start of Post-Period',
'post-period-end': 'End of Post-Period'
}
}
Metadata
Release files for tfp_causalimpact_customized 0.2.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tfp_causalimpact_customized-0.2.20.tar.gz | 3.0 MB | Without provenance | Details for tfp_causalimpact_customized-0.2.20.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tfp_causalimpact_customized-0.2.20-py3-none-any.whl | Python 3 | none | any | Details for tfp_causalimpact_customized-0.2.20-py3-none-any.whl |
Total release size: 3.0 MB
Release files / tfp_causalimpact_customized-0.2.20.tar.gz
| Download URL | tfp_causalimpact_customized-0.2.20.tar.gz |
|---|---|
| Size | 3.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80cbb0f526f68f40bf06d6b241bd71ec897244e539f560f85ff2e64a7d65e53a
|
|
BLAKE2b-256 checksum How to use checksums |
c6bae3172d94d73cf52e8648af979c8a24a664efee35eda2c7a687647945caf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.4
|
Release files / tfp_causalimpact_customized-0.2.20-py3-none-any.whl
| Download URL | tfp_causalimpact_customized-0.2.20-py3-none-any.whl |
|---|---|
| Size | 68.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
675000fde7d34512c9a95a78cca4cae811f6bbec7e0d237ef1f53a665d3e7a84
|
|
BLAKE2b-256 checksum How to use checksums |
d4d316833993c4ea4d50603995260619a024477933b33674350c09e507cb1217
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.4
|
Security for tfp_causalimpact_customized 0.2.20
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.