virgo-modules 0.4.4__py3-none-any.whl → 0.4.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of virgo-modules might be problematic. Click here for more details.
- virgo_modules/src/edge_utils/conformal_utils.py +3 -3
- {virgo_modules-0.4.4.dist-info → virgo_modules-0.4.5.dist-info}/METADATA +1 -1
- {virgo_modules-0.4.4.dist-info → virgo_modules-0.4.5.dist-info}/RECORD +6 -6
- {virgo_modules-0.4.4.dist-info → virgo_modules-0.4.5.dist-info}/LICENSE +0 -0
- {virgo_modules-0.4.4.dist-info → virgo_modules-0.4.5.dist-info}/WHEEL +0 -0
- {virgo_modules-0.4.4.dist-info → virgo_modules-0.4.5.dist-info}/top_level.txt +0 -0
|
@@ -21,14 +21,14 @@ def get_conformal_classifiers(model, data, targets):
|
|
|
21
21
|
def log_confmodels(runid, classifiers):
|
|
22
22
|
with mlflow.start_run(run_id=runid) as run:
|
|
23
23
|
for i,classifier in enumerate(classifiers):
|
|
24
|
-
mlflow.sklearn.log_model(classifier,f"
|
|
24
|
+
mlflow.sklearn.log_model(classifier,name = f"conformal_model-{i}")
|
|
25
25
|
print('models were logged')
|
|
26
26
|
|
|
27
27
|
def load_confmodel(runid, target_variables):
|
|
28
28
|
classifiers = list()
|
|
29
29
|
for i in range(len(target_variables)):
|
|
30
|
-
folder = f"
|
|
31
|
-
model = mlflow.sklearn.load_model(f"runs:/{runid}/{folder}")
|
|
30
|
+
folder = f"conformal_model-{i}"
|
|
31
|
+
model = mlflow.sklearn.load_model(f"runs:/{runid}/{folder}",)
|
|
32
32
|
classifiers.append(model)
|
|
33
33
|
return classifiers
|
|
34
34
|
|
|
@@ -8,11 +8,11 @@ virgo_modules/src/re_utils.py,sha256=DBY_VBB1wKm5D7znutpF_66CTLZhJfx54h8Ws0YzdN4
|
|
|
8
8
|
virgo_modules/src/ticketer_source.py,sha256=jxP-OOeoyN2JxRQg-mX6t6WNJXiIrhWKDywDxpYANxU,101977
|
|
9
9
|
virgo_modules/src/transformer_utils.py,sha256=ysCUp3cB3_7Jr9OHDqhg2_6Vu0k1YVjfqbvQNbxpbhI,8990
|
|
10
10
|
virgo_modules/src/edge_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
virgo_modules/src/edge_utils/conformal_utils.py,sha256=
|
|
11
|
+
virgo_modules/src/edge_utils/conformal_utils.py,sha256=WK54ctvdnFrCAv3_slFBC71Ojy9xgC1wODR7xmvXGgg,3743
|
|
12
12
|
virgo_modules/src/edge_utils/edge_utils.py,sha256=unCrkimwzlJx-osUWz6f6Vfiuv-unIATYva5UkK-Xik,18661
|
|
13
13
|
virgo_modules/src/edge_utils/shap_utils.py,sha256=OMKVO-4gtOng9GeSuhEgAEQe4FF3AtqXjm-GUBLqYFc,3349
|
|
14
|
-
virgo_modules-0.4.
|
|
15
|
-
virgo_modules-0.4.
|
|
16
|
-
virgo_modules-0.4.
|
|
17
|
-
virgo_modules-0.4.
|
|
18
|
-
virgo_modules-0.4.
|
|
14
|
+
virgo_modules-0.4.5.dist-info/LICENSE,sha256=pNgFyCYgmimaw0o6V20JupZLROycAnOA_HDDh1tX2V4,1097
|
|
15
|
+
virgo_modules-0.4.5.dist-info/METADATA,sha256=GR7pTBoguHajgjq17Z6gXRSdjRz-3w4X5QD3-0N7Ge4,876
|
|
16
|
+
virgo_modules-0.4.5.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
17
|
+
virgo_modules-0.4.5.dist-info/top_level.txt,sha256=ZjI-qEkDtT-8mFwGAWnXfqPOKEGlIhWRW1es1VyXc60,14
|
|
18
|
+
virgo_modules-0.4.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|