Skip to main content

MMAING-AESOP

MMAING-AESOP it is an early outbreak detection model based on the combination of:

  • Rt (Time-Dependent Reproduction Number - NGM)
  • Ensemble of Machine Learning models (Isolation Forest, LOF, OCSVM, COPOD)

The model generates Early Warning Signals (EWS) based on weekly primary care time series.

If you use MMAING-AESOP in your research, please cite:

Borges, D.G.F., Coutinho, E.R., Cerqueira-Silva, T. et al. Combining machine learning and dynamic system techniques to early detection of respiratory outbreaks in routinely collected primary healthcare records. BMC Med Res Methodol 25, 99 (2025). https://doi.org/10.1186/s12874-025-02542-0


Installation and usage

The mmaing_aesop package is available on PyPi. To install it, use the following command:

pip install mmaing_aesop

After installation, you can import the package in your Python script with:

```bash
from mmaing_aesop import MMAING


## Example

```modelo = MMAING(
    #enseble
    vote_threshold=3,
    #outlies
    contamination=0.4,
    #rt
    limiar_rt=1.25,
    window_rt=5,
    gamma=0.2,
    #limites 
    alpha=0.05,
    window_limit=5,
    baseline_years=[2017, 2018, 2019],
    start_year_detection=2020

)
modelo.fit(df_real[df_real['co_ibge'] == xxxxxx])
modelo.plot(co_ibge=xxxxxx)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mmaing_aesop-0.2.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mmaing_aesop-0.2.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file mmaing_aesop-0.2.0.tar.gz.

File metadata

  • Download URL: mmaing_aesop-0.2.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for mmaing_aesop-0.2.0.tar.gz
Algorithm Hash digest
SHA256 362adc1c2fbd31efbe11b5e30c006230782dafefa6eb455bfa64363bcd2ca90c
MD5 6bfce0f2da82154511b96c77f126bde7
BLAKE2b-256 775df6b41276f5531e3aa9f0582a14060c5e2529738c56810c3ae3e1abdc1171

See more details on using hashes here.

File details

Details for the file mmaing_aesop-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: mmaing_aesop-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for mmaing_aesop-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29a70def27b2f129991658849d06e68fe546c1e9f4d0f3a70ba0b3c74f37b243
MD5 6d553bc6e3b7be11bd530f45f4bb4ef1
BLAKE2b-256 75be248a6f469ad5b718d6ebb4417a4920748608dbbb083e8865ece8c0f1b82b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.2

2 files

0.2.1

2 files

This release

0.2.0 This release

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page