wizata-dsapi 1.3.54__tar.gz → 1.3.56__tar.gz
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-1.3.54/wizata_dsapi.egg-info → wizata_dsapi-1.3.56}/PKG-INFO +1 -1
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/mlmodel.py +7 -0
- wizata_dsapi-1.3.56/wizata_dsapi/version.py +1 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/wizata_dsapi_client.py +12 -6
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56/wizata_dsapi.egg-info}/PKG-INFO +1 -1
- wizata_dsapi-1.3.54/wizata_dsapi/version.py +0 -1
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/LICENSE.txt +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/README.rst +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/setup.cfg +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/setup.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/__init__.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/api_config.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/api_dto.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/api_interface.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/bucket.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/business_label.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/context.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/dataframe_toolkit.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/datapoint.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/datastore.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/ds_dataframe.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/dsapi_json_encoder.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/evaluation.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/execution.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/experiment.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/group_system.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/ilogger.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/insight.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/model_toolkit.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/models/__init__.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/models/common.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/paged_query_result.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/pipeline.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/pipeline_image.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/plot.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/plots/__init__.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/plots/common.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/request.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/script.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/scripts/__init__.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/scripts/common.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/solution_component.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/streamlit_utils.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/template.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/trigger.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/twin.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/twinregistration.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/wizard_function.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/wizard_request.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi/words.py +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi.egg-info/SOURCES.txt +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi.egg-info/dependency_links.txt +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi.egg-info/requires.txt +0 -0
- {wizata_dsapi-1.3.54 → wizata_dsapi-1.3.56}/wizata_dsapi.egg-info/top_level.txt +0 -0
|
@@ -456,6 +456,7 @@ class MLModelConfig(ApiDto):
|
|
|
456
456
|
output_columns_names: list = None,
|
|
457
457
|
output_prefix: str = None,
|
|
458
458
|
features: list = None,
|
|
459
|
+
features_from_file: str = None,
|
|
459
460
|
model_key: str = None,
|
|
460
461
|
model_type: str = None,
|
|
461
462
|
model_alias: str = None,
|
|
@@ -476,6 +477,7 @@ class MLModelConfig(ApiDto):
|
|
|
476
477
|
# features management
|
|
477
478
|
self.target_feat = target_feat
|
|
478
479
|
self.features = features
|
|
480
|
+
self.features_from_file = features_from_file
|
|
479
481
|
self.output_columns_names = output_columns_names
|
|
480
482
|
self.output_append = output_append
|
|
481
483
|
self.output_prefix = output_prefix
|
|
@@ -551,6 +553,9 @@ class MLModelConfig(ApiDto):
|
|
|
551
553
|
if "features" in obj.keys() and obj["features"] is not None:
|
|
552
554
|
self.features = obj["features"]
|
|
553
555
|
|
|
556
|
+
if "features_from_file" in obj.keys() and obj["features_from_file"] is not None:
|
|
557
|
+
self.features_from_file = obj["features_from_file"]
|
|
558
|
+
|
|
554
559
|
# output management
|
|
555
560
|
if "output_append" in obj.keys():
|
|
556
561
|
self.output_append = get_bool(obj, name="output_append")
|
|
@@ -610,6 +615,8 @@ class MLModelConfig(ApiDto):
|
|
|
610
615
|
obj["train_test_split_type"] = str(self.train_test_split_type)
|
|
611
616
|
if self.features is not None:
|
|
612
617
|
obj["features"] = self.features
|
|
618
|
+
if self.features_from_file is not None:
|
|
619
|
+
obj["features_from_file"] = self.features_from_file
|
|
613
620
|
if self.properties_mapping is not None and isinstance(self.properties_mapping, dict):
|
|
614
621
|
obj["properties_mapping"] = self.properties_mapping
|
|
615
622
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.3.56"
|
|
@@ -841,14 +841,15 @@ class WizataDSAPIClient(ApiInterface, ApiDtoInterface):
|
|
|
841
841
|
pipeline=None,
|
|
842
842
|
image: str = None,
|
|
843
843
|
twin=None,
|
|
844
|
-
mode: str = 'experiment'
|
|
844
|
+
mode: str = 'experiment',
|
|
845
|
+
version: str = None,
|
|
845
846
|
) -> Execution:
|
|
846
847
|
"""
|
|
847
848
|
internal function - deprecated - please use experiment() or test_run() instead.
|
|
848
849
|
"""
|
|
849
850
|
# Prepare
|
|
850
851
|
if execution is None:
|
|
851
|
-
execution = Execution()
|
|
852
|
+
execution = Execution(version=version)
|
|
852
853
|
if request is not None:
|
|
853
854
|
execution.request = request
|
|
854
855
|
if dataframe is not None:
|
|
@@ -925,7 +926,8 @@ class WizataDSAPIClient(ApiInterface, ApiDtoInterface):
|
|
|
925
926
|
properties: dict = None,
|
|
926
927
|
train: bool = True,
|
|
927
928
|
plot: bool = True,
|
|
928
|
-
write: bool = False
|
|
929
|
+
write: bool = False,
|
|
930
|
+
version: str = None) -> Execution:
|
|
929
931
|
"""
|
|
930
932
|
experiment and train models with a pipeline.
|
|
931
933
|
|
|
@@ -960,7 +962,8 @@ class WizataDSAPIClient(ApiInterface, ApiDtoInterface):
|
|
|
960
962
|
twin=twin,
|
|
961
963
|
image=image,
|
|
962
964
|
properties=properties,
|
|
963
|
-
mode='experiment'
|
|
965
|
+
mode='experiment',
|
|
966
|
+
version=version
|
|
964
967
|
)
|
|
965
968
|
|
|
966
969
|
def run(self,
|
|
@@ -969,7 +972,8 @@ class WizataDSAPIClient(ApiInterface, ApiDtoInterface):
|
|
|
969
972
|
image: str = None,
|
|
970
973
|
train: bool = False,
|
|
971
974
|
plot: bool = False,
|
|
972
|
-
write: bool = True
|
|
975
|
+
write: bool = True,
|
|
976
|
+
version: str = None) -> Execution:
|
|
973
977
|
"""
|
|
974
978
|
run a pipeline.
|
|
975
979
|
|
|
@@ -988,6 +992,7 @@ class WizataDSAPIClient(ApiInterface, ApiDtoInterface):
|
|
|
988
992
|
:param image: pipeline image id to use.
|
|
989
993
|
:param plot: if False plot steps are ignored.
|
|
990
994
|
:param write: if False write steps are ignored.
|
|
995
|
+
:param version: version of python environment to use if different than local environment.
|
|
991
996
|
"""
|
|
992
997
|
|
|
993
998
|
if train or plot or not write:
|
|
@@ -1004,7 +1009,8 @@ class WizataDSAPIClient(ApiInterface, ApiDtoInterface):
|
|
|
1004
1009
|
twin=twin,
|
|
1005
1010
|
properties=properties,
|
|
1006
1011
|
image=image,
|
|
1007
|
-
mode='production'
|
|
1012
|
+
mode='production',
|
|
1013
|
+
version=version
|
|
1008
1014
|
)
|
|
1009
1015
|
|
|
1010
1016
|
def multi_run(self, pipeline_id, twin_ids: list, properties: dict = None):
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.3.54"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|