mendevi.database.normalize.p_static_p_core

mendevi.database.normalize.p_static_p_core(database: str | bytes | Path) dict[str, tuple][source]

Estimate for each hostname, the model P = P_static + c * P_core.

Parameters

databasepathlike

The path of the existing database to be updated.

Returns

cstdict

To each hostname, associate the estimation of (p_static, p_core).

Examples

>>> from mendevi.database.normalize import p_static_p_core
>>> p_static_p_core("/data/dataset/merge.db")
>>>