teradataml 20.0.0.3__py3-none-any.whl → 20.0.0.4__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 teradataml might be problematic. Click here for more details.
- teradataml/LICENSE-3RD-PARTY.pdf +0 -0
- teradataml/README.md +119 -0
- teradataml/_version.py +1 -1
- teradataml/analytics/analytic_function_executor.py +18 -6
- teradataml/analytics/byom/__init__.py +1 -1
- teradataml/analytics/sqle/__init__.py +4 -1
- teradataml/analytics/valib.py +18 -4
- teradataml/automl/__init__.py +51 -6
- teradataml/automl/data_preparation.py +56 -33
- teradataml/automl/data_transformation.py +58 -33
- teradataml/automl/feature_engineering.py +12 -5
- teradataml/automl/model_training.py +34 -13
- teradataml/common/__init__.py +1 -2
- teradataml/common/constants.py +64 -40
- teradataml/common/messagecodes.py +13 -3
- teradataml/common/messages.py +4 -1
- teradataml/common/sqlbundle.py +40 -10
- teradataml/common/utils.py +113 -39
- teradataml/common/warnings.py +11 -0
- teradataml/context/context.py +141 -17
- teradataml/data/amazon_reviews_25.csv +26 -0
- teradataml/data/byom_example.json +11 -0
- teradataml/data/docs/byom/docs/DataRobotPredict.py +2 -2
- teradataml/data/docs/byom/docs/DataikuPredict.py +40 -1
- teradataml/data/docs/byom/docs/H2OPredict.py +2 -2
- teradataml/data/docs/byom/docs/ONNXEmbeddings.py +242 -0
- teradataml/data/docs/byom/docs/ONNXPredict.py +2 -2
- teradataml/data/docs/byom/docs/PMMLPredict.py +2 -2
- teradataml/data/docs/sqle/docs_17_20/Shap.py +28 -6
- teradataml/data/docs/uaf/docs_17_20/DWT2D.py +4 -1
- teradataml/data/hnsw_alter_data.csv +5 -0
- teradataml/data/hnsw_data.csv +10 -0
- teradataml/data/jsons/byom/h2opredict.json +1 -1
- teradataml/data/jsons/byom/onnxembeddings.json +266 -0
- teradataml/data/jsons/sqle/17.20/TD_Shap.json +0 -1
- teradataml/data/jsons/sqle/20.00/TD_HNSW.json +296 -0
- teradataml/data/jsons/sqle/20.00/TD_HNSWPredict.json +206 -0
- teradataml/data/jsons/sqle/20.00/TD_HNSWSummary.json +32 -0
- teradataml/data/jsons/sqle/20.00/TD_KMeans.json +2 -2
- teradataml/data/jsons/sqle/20.00/TD_SMOTE.json +1 -1
- teradataml/data/jsons/sqle/20.00/TD_VectorDistance.json +5 -5
- teradataml/data/teradataml_example.json +8 -0
- teradataml/data/vectordistance_example.json +1 -1
- teradataml/dataframe/copy_to.py +8 -3
- teradataml/dataframe/data_transfer.py +11 -1
- teradataml/dataframe/dataframe.py +517 -121
- teradataml/dataframe/dataframe_utils.py +152 -20
- teradataml/dataframe/functions.py +26 -11
- teradataml/dataframe/setop.py +11 -6
- teradataml/dataframe/sql.py +2 -2
- teradataml/dbutils/dbutils.py +525 -129
- teradataml/hyperparameter_tuner/optimizer.py +12 -1
- teradataml/opensource/{sklearn/_sklearn_wrapper.py → _base.py} +317 -1011
- teradataml/opensource/_class.py +141 -17
- teradataml/opensource/{constants.py → _constants.py} +7 -3
- teradataml/opensource/_lightgbm.py +52 -53
- teradataml/opensource/_sklearn.py +1008 -0
- teradataml/opensource/_wrapper_utils.py +5 -5
- teradataml/options/__init__.py +47 -15
- teradataml/options/configure.py +103 -25
- teradataml/options/display.py +13 -2
- teradataml/plot/axis.py +47 -8
- teradataml/plot/figure.py +33 -0
- teradataml/plot/plot.py +63 -13
- teradataml/scriptmgmt/UserEnv.py +2 -2
- teradataml/scriptmgmt/lls_utils.py +63 -26
- teradataml/store/__init__.py +1 -2
- teradataml/store/feature_store/feature_store.py +102 -7
- teradataml/table_operators/Apply.py +32 -18
- teradataml/table_operators/Script.py +3 -1
- teradataml/table_operators/TableOperator.py +3 -1
- teradataml/utils/dtypes.py +47 -0
- teradataml/utils/internal_buffer.py +18 -0
- teradataml/utils/validators.py +68 -9
- {teradataml-20.0.0.3.dist-info → teradataml-20.0.0.4.dist-info}/METADATA +123 -2
- {teradataml-20.0.0.3.dist-info → teradataml-20.0.0.4.dist-info}/RECORD +79 -75
- teradataml/data/SQL_Fundamentals.pdf +0 -0
- teradataml/libaed_0_1.dylib +0 -0
- teradataml/libaed_0_1.so +0 -0
- teradataml/opensource/sklearn/__init__.py +0 -0
- teradataml/store/vector_store/__init__.py +0 -1586
- {teradataml-20.0.0.3.dist-info → teradataml-20.0.0.4.dist-info}/WHEEL +0 -0
- {teradataml-20.0.0.3.dist-info → teradataml-20.0.0.4.dist-info}/top_level.txt +0 -0
- {teradataml-20.0.0.3.dist-info → teradataml-20.0.0.4.dist-info}/zip-safe +0 -0
|
@@ -25,6 +25,8 @@ from teradataml.common.messages import Messages, MessageCodes
|
|
|
25
25
|
from teradataml.hyperparameter_tuner.utils import _ProgressBar
|
|
26
26
|
from teradataml.utils.utils import _AsyncDBExecutor
|
|
27
27
|
from teradataml.utils.validators import _Validators
|
|
28
|
+
from teradataml.options.configure import configure
|
|
29
|
+
from teradataml.common.constants import TeradataConstants
|
|
28
30
|
|
|
29
31
|
|
|
30
32
|
class _BaseSearch:
|
|
@@ -1287,7 +1289,8 @@ class _BaseSearch:
|
|
|
1287
1289
|
# Initialize logging.
|
|
1288
1290
|
if verbose > 0:
|
|
1289
1291
|
self.__progress_bar = _ProgressBar(jobs=len(self._parameter_grid), verbose=verbose)
|
|
1290
|
-
|
|
1292
|
+
# With VT option Parallel execution won't be possible, as it opens multiple connections.
|
|
1293
|
+
if not run_parallel or configure.temp_object_type == TeradataConstants.TERADATA_VOLATILE_TABLE:
|
|
1291
1294
|
# Setting start time of Sequential execution.
|
|
1292
1295
|
self.__start_time = time.time() if self.__timeout is not None else None
|
|
1293
1296
|
# TODO: Factorize the code once parallel execution part is completed in ELE-6154 JIRA.
|
|
@@ -1339,6 +1342,10 @@ class _BaseSearch:
|
|
|
1339
1342
|
self.__start_time = time.time() if self.__timeout is not None else None
|
|
1340
1343
|
# Trigger parallel thread execution.
|
|
1341
1344
|
self._async_executor.submit(self._execute_fit, *async_exec_params)
|
|
1345
|
+
|
|
1346
|
+
if len(self.__model_err_records) > 0 and not kwargs.get('suppress_refer_msg', False):
|
|
1347
|
+
print('\nAn error occurred during Model Training.'\
|
|
1348
|
+
' Refer to get_error_log() for more details.')
|
|
1342
1349
|
|
|
1343
1350
|
|
|
1344
1351
|
def __model_trainer_routine(self, model_param, iter, **kwargs):
|
|
@@ -2272,6 +2279,8 @@ class GridSearch(_BaseSearch):
|
|
|
2272
2279
|
set of data as hyperparameter for model trainer function, the search
|
|
2273
2280
|
determines the best data along with the best model based on the
|
|
2274
2281
|
evaluation metrics.
|
|
2282
|
+
Note:
|
|
2283
|
+
* configure.temp_object_type="VT" follows sequential execution.
|
|
2275
2284
|
|
|
2276
2285
|
PARAMETERS:
|
|
2277
2286
|
func:
|
|
@@ -3196,6 +3205,8 @@ class RandomSearch(_BaseSearch):
|
|
|
3196
3205
|
set of data as hyperparameter for model trainer function, the search
|
|
3197
3206
|
determines the best data along with the best model based on the
|
|
3198
3207
|
evaluation metrics.
|
|
3208
|
+
Note:
|
|
3209
|
+
* configure.temp_object_type="VT" follows sequential execution.
|
|
3199
3210
|
|
|
3200
3211
|
PARAMETERS:
|
|
3201
3212
|
func:
|