teradataml 20.0.0.5__py3-none-any.whl → 20.0.0.7__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.

Files changed (119) hide show
  1. teradataml/LICENSE-3RD-PARTY.pdf +0 -0
  2. teradataml/README.md +306 -0
  3. teradataml/__init__.py +1 -1
  4. teradataml/_version.py +1 -1
  5. teradataml/analytics/analytic_function_executor.py +162 -76
  6. teradataml/analytics/byom/__init__.py +1 -1
  7. teradataml/analytics/json_parser/__init__.py +2 -0
  8. teradataml/analytics/json_parser/analytic_functions_argument.py +95 -2
  9. teradataml/analytics/json_parser/metadata.py +22 -4
  10. teradataml/analytics/sqle/DecisionTreePredict.py +3 -2
  11. teradataml/analytics/sqle/NaiveBayesPredict.py +3 -2
  12. teradataml/analytics/sqle/__init__.py +3 -0
  13. teradataml/analytics/utils.py +59 -11
  14. teradataml/automl/__init__.py +2369 -464
  15. teradataml/automl/autodataprep/__init__.py +15 -0
  16. teradataml/automl/custom_json_utils.py +184 -112
  17. teradataml/automl/data_preparation.py +113 -58
  18. teradataml/automl/data_transformation.py +154 -53
  19. teradataml/automl/feature_engineering.py +113 -53
  20. teradataml/automl/feature_exploration.py +548 -25
  21. teradataml/automl/model_evaluation.py +260 -32
  22. teradataml/automl/model_training.py +399 -206
  23. teradataml/clients/auth_client.py +10 -6
  24. teradataml/clients/keycloak_client.py +165 -0
  25. teradataml/common/aed_utils.py +11 -2
  26. teradataml/common/bulk_exposed_utils.py +4 -2
  27. teradataml/common/constants.py +72 -2
  28. teradataml/common/exceptions.py +32 -0
  29. teradataml/common/garbagecollector.py +50 -21
  30. teradataml/common/messagecodes.py +73 -1
  31. teradataml/common/messages.py +27 -1
  32. teradataml/common/sqlbundle.py +25 -7
  33. teradataml/common/utils.py +210 -22
  34. teradataml/context/aed_context.py +16 -10
  35. teradataml/context/context.py +37 -9
  36. teradataml/data/Employee.csv +5 -0
  37. teradataml/data/Employee_Address.csv +4 -0
  38. teradataml/data/Employee_roles.csv +5 -0
  39. teradataml/data/JulesBelvezeDummyData.csv +100 -0
  40. teradataml/data/byom_example.json +5 -0
  41. teradataml/data/creditcard_data.csv +284618 -0
  42. teradataml/data/docs/byom/docs/ONNXSeq2Seq.py +255 -0
  43. teradataml/data/docs/sqle/docs_17_10/NGramSplitter.py +1 -1
  44. teradataml/data/docs/sqle/docs_17_20/NGramSplitter.py +1 -1
  45. teradataml/data/docs/sqle/docs_17_20/TextParser.py +1 -1
  46. teradataml/data/jsons/byom/ONNXSeq2Seq.json +287 -0
  47. teradataml/data/jsons/byom/onnxembeddings.json +1 -0
  48. teradataml/data/jsons/sqle/20.00/AI_AnalyzeSentiment.json +3 -7
  49. teradataml/data/jsons/sqle/20.00/AI_AskLLM.json +3 -7
  50. teradataml/data/jsons/sqle/20.00/AI_DetectLanguage.json +3 -7
  51. teradataml/data/jsons/sqle/20.00/AI_ExtractKeyPhrases.json +3 -7
  52. teradataml/data/jsons/sqle/20.00/AI_MaskPII.json +3 -7
  53. teradataml/data/jsons/sqle/20.00/AI_RecognizeEntities.json +3 -7
  54. teradataml/data/jsons/sqle/20.00/AI_RecognizePIIEntities.json +3 -7
  55. teradataml/data/jsons/sqle/20.00/AI_TextClassifier.json +3 -7
  56. teradataml/data/jsons/sqle/20.00/AI_TextEmbeddings.json +3 -7
  57. teradataml/data/jsons/sqle/20.00/AI_TextSummarize.json +3 -7
  58. teradataml/data/jsons/sqle/20.00/AI_TextTranslate.json +3 -7
  59. teradataml/data/jsons/sqle/20.00/TD_API_AzureML.json +151 -0
  60. teradataml/data/jsons/sqle/20.00/TD_API_Sagemaker.json +182 -0
  61. teradataml/data/jsons/sqle/20.00/TD_API_VertexAI.json +183 -0
  62. teradataml/data/load_example_data.py +29 -11
  63. teradataml/data/pattern_matching_data.csv +11 -0
  64. teradataml/data/payment_fraud_dataset.csv +10001 -0
  65. teradataml/data/sdk/modelops/modelops_spec.json +101737 -0
  66. teradataml/data/teradataml_example.json +75 -1
  67. teradataml/data/url_data.csv +10 -9
  68. teradataml/dataframe/copy_to.py +715 -55
  69. teradataml/dataframe/dataframe.py +2115 -97
  70. teradataml/dataframe/dataframe_utils.py +66 -28
  71. teradataml/dataframe/functions.py +1130 -2
  72. teradataml/dataframe/setop.py +4 -1
  73. teradataml/dataframe/sql.py +710 -1039
  74. teradataml/dbutils/dbutils.py +470 -35
  75. teradataml/dbutils/filemgr.py +1 -1
  76. teradataml/hyperparameter_tuner/optimizer.py +456 -142
  77. teradataml/hyperparameter_tuner/utils.py +4 -2
  78. teradataml/lib/aed_0_1.dll +0 -0
  79. teradataml/lib/libaed_0_1.dylib +0 -0
  80. teradataml/lib/libaed_0_1.so +0 -0
  81. teradataml/lib/libaed_0_1_aarch64.so +0 -0
  82. teradataml/opensource/_base.py +7 -1
  83. teradataml/options/configure.py +20 -4
  84. teradataml/scriptmgmt/UserEnv.py +247 -36
  85. teradataml/scriptmgmt/lls_utils.py +140 -39
  86. teradataml/sdk/README.md +79 -0
  87. teradataml/sdk/__init__.py +4 -0
  88. teradataml/sdk/_auth_modes.py +422 -0
  89. teradataml/sdk/_func_params.py +487 -0
  90. teradataml/sdk/_json_parser.py +453 -0
  91. teradataml/sdk/_openapi_spec_constants.py +249 -0
  92. teradataml/sdk/_utils.py +236 -0
  93. teradataml/sdk/api_client.py +900 -0
  94. teradataml/sdk/constants.py +62 -0
  95. teradataml/sdk/modelops/__init__.py +98 -0
  96. teradataml/sdk/modelops/_client.py +409 -0
  97. teradataml/sdk/modelops/_constants.py +304 -0
  98. teradataml/sdk/modelops/models.py +2308 -0
  99. teradataml/sdk/spinner.py +107 -0
  100. teradataml/series/series.py +12 -7
  101. teradataml/store/feature_store/constants.py +601 -234
  102. teradataml/store/feature_store/feature_store.py +2886 -616
  103. teradataml/store/feature_store/mind_map.py +639 -0
  104. teradataml/store/feature_store/models.py +5831 -214
  105. teradataml/store/feature_store/utils.py +390 -0
  106. teradataml/table_operators/query_generator.py +4 -21
  107. teradataml/table_operators/table_operator_util.py +1 -1
  108. teradataml/table_operators/templates/dataframe_register.template +6 -2
  109. teradataml/table_operators/templates/dataframe_udf.template +6 -2
  110. teradataml/utils/docstring.py +527 -0
  111. teradataml/utils/dtypes.py +95 -1
  112. teradataml/utils/internal_buffer.py +2 -2
  113. teradataml/utils/utils.py +41 -3
  114. teradataml/utils/validators.py +699 -18
  115. {teradataml-20.0.0.5.dist-info → teradataml-20.0.0.7.dist-info}/METADATA +312 -2
  116. {teradataml-20.0.0.5.dist-info → teradataml-20.0.0.7.dist-info}/RECORD +119 -87
  117. {teradataml-20.0.0.5.dist-info → teradataml-20.0.0.7.dist-info}/WHEEL +0 -0
  118. {teradataml-20.0.0.5.dist-info → teradataml-20.0.0.7.dist-info}/top_level.txt +0 -0
  119. {teradataml-20.0.0.5.dist-info → teradataml-20.0.0.7.dist-info}/zip-safe +0 -0
@@ -0,0 +1,304 @@
1
+ # The below dictionary can be used by developers to map the tags to class names
2
+ # if developer want to use different class names for the tags in the OpenAPI spec.
3
+ _DEV_DEFINED_TAG_TO_CLASS_NAME_MAPPER = {}
4
+
5
+ # The below dictionary can be used by developers to map the old class methods
6
+ # to the new class methods if developer want to use different method names if
7
+ # operationID in the OpenAPI spec, is not correct and doesn't behave as per
8
+ # description/summary.
9
+ _DEV_DEFINED_CLASS_FUNCTIONS_MAPPER = {
10
+ "/api/projects/{id}": {
11
+ "get": {
12
+ "operationID": "getItemResource-project-get",
13
+ "function_name": "find_by_id"
14
+ },
15
+ "put": {
16
+ "operationID": "putItemResource-project-put",
17
+ "function_name": "replace_by_id"
18
+ },
19
+ "patch": {
20
+ "operationID": "patchItemResource-project-patch",
21
+ "function_name": "update_by_id"
22
+ }
23
+ },
24
+ "/api/projects": {
25
+ "post": {
26
+ "operationID": "postCollectionResource-project-post",
27
+ "function_name": "create_project"
28
+ },
29
+ "get": {
30
+ "operationID": "getCollectionResource-project-get",
31
+ "function_name": "find_all"
32
+ }
33
+ },
34
+ "/api/projects/{id}/batchImportAI": {
35
+ "post": {
36
+ "operationID": "batchImportAI",
37
+ "function_name": "import_models"
38
+ }
39
+ },
40
+ "/api/deployments/search/findActiveByTrainedModelIdAndEngineType": {
41
+ "get": {
42
+ "operationID": "executeSearch-deployment-get_6",
43
+ "function_name": "find_active_by_trained_model_and_engine_type"
44
+ }
45
+ },
46
+ "/api/deployments/search/findActive": {
47
+ "get": {
48
+ "operationID": "executeSearch-deployment-get_1",
49
+ "function_name": "find_active"
50
+ }
51
+ },
52
+ "/api/datasetConnections/search/findByArchived": {
53
+ "get": {
54
+ "operationID": "executeSearch-datasetconnection-get_4",
55
+ "function_name": "find_by_archived"
56
+ }
57
+ },
58
+ "/api/datasetTemplates/search/findByArchived": {
59
+ "get": {
60
+ "operationID": "executeSearch-datasettemplate-get_3",
61
+ "function_name": "find_by_archived"
62
+ }
63
+ },
64
+ "/api/datasets/search/findByArchived": {
65
+ "get": {
66
+ "operationID": "executeSearch-dataset-get_4",
67
+ "function_name": "find_by_archived"
68
+ }
69
+ },
70
+ "/api/featureEngineeringTasks/search/findByArchived": {
71
+ "get": {
72
+ "operationID": "executeSearch-featureengineeringtask-get_3",
73
+ "function_name": "find_by_archived"
74
+ }
75
+ },
76
+ "/api/models/search/findByArchived": {
77
+ "get": {
78
+ "operationID": "executeSearch-model-get_4",
79
+ "function_name": "find_by_archived"
80
+ }
81
+ },
82
+ "/api/projects/search/findByArchived": {
83
+ "get": {
84
+ "operationID": "executeSearch-project-get_2",
85
+ "function_name": "find_by_archived"
86
+ }
87
+ },
88
+ "/api/trainedModels/search/findByArchived": {
89
+ "get": {
90
+ "operationID": "executeSearch-trainedmodel-get_3",
91
+ "function_name": "find_by_archived"
92
+ }
93
+ },
94
+ "/api/datasetConnections/{id}": {
95
+ "get": {
96
+ "operationID": "getItemResource-datasetconnection-get",
97
+ "function_name": "find_by_id"
98
+ }
99
+ },
100
+ "/api/datasetTemplates/{id}": {
101
+ "get": {
102
+ "operationID": "getItemResource-datasettemplate-get",
103
+ "function_name": "find_by_id"
104
+ }
105
+ },
106
+ "/api/datasets/{id}": {
107
+ "get": {
108
+ "operationID": "getItemResource-dataset-get",
109
+ "function_name": "find_by_id"
110
+ }
111
+ },
112
+ "/api/deployments/{id}": {
113
+ "get": {
114
+ "operationID": "getItemResource-deployment-get",
115
+ "function_name": "find_by_id"
116
+ }
117
+ },
118
+ "/api/featureEngineeringEvents/{id}": {
119
+ "get": {
120
+ "operationID": "getItemResource-featureengineeringevent-get",
121
+ "function_name": "find_by_id"
122
+ }
123
+ },
124
+ "/api/featureEngineeringTasks/{id}": {
125
+ "get": {
126
+ "operationID": "getItemResource-featureengineeringtask-get",
127
+ "function_name": "find_by_id"
128
+ }
129
+ },
130
+ "/api/jobEvents/{id}": {
131
+ "get": {
132
+ "operationID": "getItemResource-jobevent-get",
133
+ "function_name": "find_by_id"
134
+ }
135
+ },
136
+ "/api/jobs/{id}": {
137
+ "get": {
138
+ "operationID": "getItemResource-job-get",
139
+ "function_name": "find_by_id"
140
+ }
141
+ },
142
+ "/api/modelAttributes/{id}": {
143
+ "get": {
144
+ "operationID": "getItemResource-modelattribute-get",
145
+ "function_name": "find_by_id"
146
+ }
147
+ },
148
+ "/api/models/{id}": {
149
+ "get": {
150
+ "operationID": "getItemResource-model-get",
151
+ "function_name": "find_by_id"
152
+ }
153
+ },
154
+ "/api/projectAttributes/{id}": {
155
+ "get": {
156
+ "operationID": "getItemResource-projectattribute-get",
157
+ "function_name": "find_by_id"
158
+ }
159
+ },
160
+ "/api/tags/{id}": {
161
+ "get": {
162
+ "operationID": "getItemResource-tag-get",
163
+ "function_name": "find_by_id"
164
+ }
165
+ },
166
+ "/api/trainedModelEvents/{id}": {
167
+ "get": {
168
+ "operationID": "getItemResource-trainedmodelevent-get",
169
+ "function_name": "find_by_id"
170
+ }
171
+ },
172
+ "/api/trainedModels/{id}": {
173
+ "get": {
174
+ "operationID": "getItemResource-trainedmodel-get",
175
+ "function_name": "find_by_id"
176
+ }
177
+ },
178
+ "/api/userAttributes/{id}": {
179
+ "get": {
180
+ "operationID": "getItemResource-userattribute-get",
181
+ "function_name": "find_by_id"
182
+ }
183
+ },
184
+ "/api/archives/{entityType}/{entityId}": {
185
+ "delete": {
186
+ "operationID": "unArchive",
187
+ "function_name": "unarchive"
188
+ }
189
+ },
190
+ "/api/alerts": {
191
+ "get": {
192
+ "operationID": "getAlerts",
193
+ "function_name": "find_all"
194
+ }
195
+ },
196
+ "/api/datasetConnections": {
197
+ "get": {
198
+ "operationID": "getCollectionResource-datasetconnection-get",
199
+ "function_name": "find_all"
200
+ }
201
+ },
202
+ "/api/datasetTemplates": {
203
+ "get": {
204
+ "operationID": "getCollectionResource-datasettemplate-get",
205
+ "function_name": "find_all"
206
+ }
207
+ },
208
+ "/api/datasets": {
209
+ "get": {
210
+ "operationID": "getCollectionResource-dataset-get",
211
+ "function_name": "find_all"
212
+ }
213
+ },
214
+ "/api/deployments": {
215
+ "get": {
216
+ "operationID": "getCollectionResource-deployment-get",
217
+ "function_name": "find_all"
218
+ }
219
+ },
220
+ "/api/engineTypes": {
221
+ "get": {
222
+ "operationID": "getEngineTypes",
223
+ "function_name": "find_all"
224
+ }
225
+ },
226
+ "/api/featureEngineeringEvents": {
227
+ "get": {
228
+ "operationID": "getCollectionResource-featureengineeringevent-get",
229
+ "function_name": "find_all"
230
+ }
231
+ },
232
+ "/api/featureEngineeringTasks": {
233
+ "get": {
234
+ "operationID": "getCollectionResource-featureengineeringtask-get",
235
+ "function_name": "find_all"
236
+ }
237
+ },
238
+ "/api/jobEvents": {
239
+ "get": {
240
+ "operationID": "getCollectionResource-jobevent-get",
241
+ "function_name": "find_all"
242
+ }
243
+ },
244
+ "/api/jobs": {
245
+ "get": {
246
+ "operationID": "getCollectionResource-job-get",
247
+ "function_name": "find_all"
248
+ }
249
+ },
250
+ "/api/modelAttributes": {
251
+ "get": {
252
+ "operationID": "getCollectionResource-modelattribute-get",
253
+ "function_name": "find_all"
254
+ }
255
+ },
256
+ "/api/models": {
257
+ "get": {
258
+ "operationID": "getCollectionResource-model-get",
259
+ "function_name": "find_all"
260
+ }
261
+ },
262
+ "/api/projectAttributes": {
263
+ "get": {
264
+ "operationID": "getCollectionResource-projectattribute-get",
265
+ "function_name": "find_all"
266
+ }
267
+ },
268
+ "/api/services": {
269
+ "get": {
270
+ "operationID": "getServices",
271
+ "function_name": "find_all"
272
+ }
273
+ },
274
+ "/api/tags": {
275
+ "get": {
276
+ "operationID": "getCollectionResource-tag-get",
277
+ "function_name": "find_all"
278
+ }
279
+ },
280
+ "/api/trainedModelEvents": {
281
+ "get": {
282
+ "operationID": "getCollectionResource-trainedmodelevent-get",
283
+ "function_name": "find_all"
284
+ }
285
+ },
286
+ "/api/trainedModels": {
287
+ "get": {
288
+ "operationID": "getCollectionResource-trainedmodel-get",
289
+ "function_name": "find_all"
290
+ }
291
+ },
292
+ "/api/userAttributes": {
293
+ "get": {
294
+ "operationID": "getCollectionResource-userattribute-get",
295
+ "function_name": "find_all"
296
+ }
297
+ },
298
+ "/api/userInfo": {
299
+ "get": {
300
+ "operationID": "getUserInfo",
301
+ "function_name": "find_all"
302
+ }
303
+ }
304
+ }