Closed yleilawang closed 3 weeks ago
Attention: Patch coverage is 59.37500%
with 13 lines
in your changes missing coverage. Please review.
Project coverage is 92.02%. Comparing base (
b18b2d2
) to head (69caf21
).
Files with missing lines | Patch % | Lines |
---|---|---|
numalogic/registry/mlflow_registry.py | 59.37% | 10 Missing and 3 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Also, update the version for pyproject.toml
@s0nicboOm we have not released any previous versions right?
Added changes for:
Profiling Updates
reg.save(skeys=skeys, dkeys= ["ae", "pipeline"], artifact=VanillaAE(10), artifact_type='pytorch', **{"a": "b"})
reg.save(skeys=skeys, dkeys= ["scaler", "pipeline"], artifact=StandardScaler(), artifact_type='sklearn', **{"a": "b"})
reg.save(skeys=skeys, dkeys= ["threshold", "pipeline"], artifact=StdDevThreshold(), artifact_type='sklearn', **{"a": "b"})
output = reg.save_multiple(
skeys=skeys, dkeys=dkeys, dict_artifacts=dict_artifacts, **{"a": "b"}
)
def f():
reg.load(skeys=skeys, dkeys= ["ae", "pipeline"], artifact_type='pytorch')
reg.load(skeys=skeys, dkeys= ["scaler", "pipeline"], artifact_type='sklearn')
reg.load(skeys=skeys, dkeys= ["threshold", "pipeline"], artifact_type='sklearn')
def g():
reg.load_multiple(skeys=skeys, dkeys=dkeys)
import timeit
a = timeit.timeit(f, number=100)
b = timeit.timeit(g, number=100)
print(a, b)
--> 9.074686333002319 4.829918750001525