wizata-dsapi 1.3.15__py3-none-any.whl → 1.3.17__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.
- wizata_dsapi/mlmodel.py +22 -10
- wizata_dsapi/version.py +1 -1
- {wizata_dsapi-1.3.15.dist-info → wizata_dsapi-1.3.17.dist-info}/METADATA +1 -1
- {wizata_dsapi-1.3.15.dist-info → wizata_dsapi-1.3.17.dist-info}/RECORD +7 -7
- {wizata_dsapi-1.3.15.dist-info → wizata_dsapi-1.3.17.dist-info}/WHEEL +0 -0
- {wizata_dsapi-1.3.15.dist-info → wizata_dsapi-1.3.17.dist-info}/licenses/LICENSE.txt +0 -0
- {wizata_dsapi-1.3.15.dist-info → wizata_dsapi-1.3.17.dist-info}/top_level.txt +0 -0
wizata_dsapi/mlmodel.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import json
|
|
2
2
|
import uuid
|
|
3
3
|
|
|
4
|
-
from
|
|
4
|
+
from typing import List, Iterator
|
|
5
5
|
|
|
6
6
|
from .api_dto import ApiDto
|
|
7
7
|
from enum import Enum
|
|
@@ -231,14 +231,6 @@ class MLModelConfig(ApiDto):
|
|
|
231
231
|
raise TypeError(f'unsupported target_feat type {self.target_feat.__class__.__name__}')
|
|
232
232
|
|
|
233
233
|
|
|
234
|
-
class ModelList:
|
|
235
|
-
"""
|
|
236
|
-
used to conveniently manipulate a list of models.
|
|
237
|
-
"""
|
|
238
|
-
|
|
239
|
-
def __init__(self):
|
|
240
|
-
self.models = []
|
|
241
|
-
|
|
242
234
|
class ModelInfo:
|
|
243
235
|
"""
|
|
244
236
|
define a pointer to a machine learning model.
|
|
@@ -321,7 +313,27 @@ class ModelInfo:
|
|
|
321
313
|
self.source = obj["source"]
|
|
322
314
|
|
|
323
315
|
|
|
324
|
-
|
|
316
|
+
class ModelList:
|
|
317
|
+
"""
|
|
318
|
+
used to conveniently manipulate a list of models.
|
|
319
|
+
"""
|
|
320
|
+
|
|
321
|
+
def __init__(self):
|
|
322
|
+
self.models: List[ModelInfo] = []
|
|
323
|
+
|
|
324
|
+
def __iter__(self) -> Iterator[ModelInfo]:
|
|
325
|
+
return iter(self.models)
|
|
326
|
+
|
|
327
|
+
def __len__(self) -> int:
|
|
328
|
+
return len(self.models)
|
|
329
|
+
|
|
330
|
+
def __getitem__(self, index: int) -> ModelInfo:
|
|
331
|
+
return self.models[index]
|
|
332
|
+
|
|
333
|
+
def append(self, model: ModelInfo):
|
|
334
|
+
self.models.append(model)
|
|
335
|
+
|
|
336
|
+
|
|
325
337
|
class MLModel(ApiDto):
|
|
326
338
|
"""
|
|
327
339
|
used to define a stored machine learning model within Wizata.
|
wizata_dsapi/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.3.
|
|
1
|
+
__version__ = "1.3.17"
|
|
@@ -16,7 +16,7 @@ wizata_dsapi/experiment.py,sha256=QYQ1CJ-MTWsXq08xYbm5sAp95dRxbPOmGDgaAOoBMDQ,46
|
|
|
16
16
|
wizata_dsapi/group_system.py,sha256=6rUKe0_J3YWACysyBlzuw_TEpKNXgLOMxhpWsNxOzwY,1708
|
|
17
17
|
wizata_dsapi/ilogger.py,sha256=iYnID-Z-qrYhie26C43404aIuU4_tHSKXbDeQIdo82Q,807
|
|
18
18
|
wizata_dsapi/insight.py,sha256=ABFZ04DqYxxzqAEfU1tzlTZqqrigM-zN-8Lbetko3g0,6468
|
|
19
|
-
wizata_dsapi/mlmodel.py,sha256=
|
|
19
|
+
wizata_dsapi/mlmodel.py,sha256=_Bk38a0WypO7wV8tyONgi2X-osXNiOyd7bwALmrdv1M,18271
|
|
20
20
|
wizata_dsapi/model_toolkit.py,sha256=a76ckSuetSKDjEkOl7o49g9oaItdw9iOaPt0JcstmhU,1551
|
|
21
21
|
wizata_dsapi/paged_query_result.py,sha256=0Iyt2Kd4tvrfthhT-tk9EmSERsbJTaPNON2euHcBn6k,1150
|
|
22
22
|
wizata_dsapi/pipeline.py,sha256=WDJeOxPZJiYW1qwTNZUm3jom2epIxqrSoiUwcrTF9EE,31300
|
|
@@ -31,7 +31,7 @@ wizata_dsapi/template.py,sha256=wtCRKKk3PchH4RrNgNYlEF_9C6bzZwKIeLyEvgv6Fdo,1370
|
|
|
31
31
|
wizata_dsapi/trigger.py,sha256=w3BZYP-L3SUwvaT0oCTanh_Ewn57peZvlt7vxzHv9J8,5129
|
|
32
32
|
wizata_dsapi/twin.py,sha256=S0DUzQf1smZXZTdXpXZPtkZYCfKIhw53EecCnsl9i4Q,11017
|
|
33
33
|
wizata_dsapi/twinregistration.py,sha256=Mi6-YuwroiEXc0c1hgrOaphh4hNVoHupxOnXedVtJtE,13377
|
|
34
|
-
wizata_dsapi/version.py,sha256=
|
|
34
|
+
wizata_dsapi/version.py,sha256=OX786JeRMrtwPYQdAc9ULLYMRr8lfF4n4G5Au3WKE2I,23
|
|
35
35
|
wizata_dsapi/wizard_function.py,sha256=RbM7W7Gf-6Rhp_1dU9DBYkHaciknGAGvuAndhAS_vyo,942
|
|
36
36
|
wizata_dsapi/wizard_request.py,sha256=v6BaqKLKvTWmUSo0_gda9FabAQz5x_-GOH1Av50GzFo,3762
|
|
37
37
|
wizata_dsapi/wizata_dsapi_client.py,sha256=kos_8j47CBXiy6y6b_H2yDUe3aWh76diEmWjCisYKkY,78662
|
|
@@ -42,8 +42,8 @@ wizata_dsapi/plots/__init__.py,sha256=qgnSFqrjOPur-807M8uh5awIfjM1ZHXUXcAqHc-r2l
|
|
|
42
42
|
wizata_dsapi/plots/common.py,sha256=jdPsJqLHBwSKc6dX83BSGPqSRxzIVNHSYO5yI_8sjGk,6568
|
|
43
43
|
wizata_dsapi/scripts/__init__.py,sha256=hAxiETSQf0qOHde1si1tEAJU48seqEgHrchCzS2-LvQ,80
|
|
44
44
|
wizata_dsapi/scripts/common.py,sha256=efwq-Rd0lvYljIs3gSFz9izogBD7asOU2cTK-IvHTkM,4244
|
|
45
|
-
wizata_dsapi-1.3.
|
|
46
|
-
wizata_dsapi-1.3.
|
|
47
|
-
wizata_dsapi-1.3.
|
|
48
|
-
wizata_dsapi-1.3.
|
|
49
|
-
wizata_dsapi-1.3.
|
|
45
|
+
wizata_dsapi-1.3.17.dist-info/licenses/LICENSE.txt,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
46
|
+
wizata_dsapi-1.3.17.dist-info/METADATA,sha256=elZuJ7zUyKoJmmztuyJHURA_N40rxEwLFlm-Qh_QKp0,5651
|
|
47
|
+
wizata_dsapi-1.3.17.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
48
|
+
wizata_dsapi-1.3.17.dist-info/top_level.txt,sha256=-OeTJbEnh5DuWyTOHtvw0Dw3LRg3G27TNS6W4ZtfwPs,13
|
|
49
|
+
wizata_dsapi-1.3.17.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|