teradataml 20.0.0.4__py3-none-any.whl → 20.0.0.6__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 (131) hide show
  1. teradataml/LICENSE-3RD-PARTY.pdf +0 -0
  2. teradataml/README.md +182 -13
  3. teradataml/__init__.py +2 -1
  4. teradataml/_version.py +2 -2
  5. teradataml/analytics/analytic_function_executor.py +8 -13
  6. teradataml/analytics/json_parser/analytic_functions_argument.py +4 -0
  7. teradataml/analytics/sqle/__init__.py +16 -1
  8. teradataml/analytics/utils.py +60 -1
  9. teradataml/automl/__init__.py +290 -106
  10. teradataml/automl/autodataprep/__init__.py +471 -0
  11. teradataml/automl/data_preparation.py +29 -10
  12. teradataml/automl/data_transformation.py +11 -0
  13. teradataml/automl/feature_engineering.py +64 -4
  14. teradataml/automl/feature_exploration.py +639 -25
  15. teradataml/automl/model_training.py +1 -1
  16. teradataml/clients/auth_client.py +12 -8
  17. teradataml/clients/keycloak_client.py +165 -0
  18. teradataml/common/constants.py +71 -26
  19. teradataml/common/exceptions.py +32 -0
  20. teradataml/common/messagecodes.py +28 -0
  21. teradataml/common/messages.py +13 -4
  22. teradataml/common/sqlbundle.py +3 -2
  23. teradataml/common/utils.py +345 -45
  24. teradataml/context/context.py +259 -93
  25. teradataml/data/apriori_example.json +22 -0
  26. teradataml/data/docs/sqle/docs_17_20/Apriori.py +138 -0
  27. teradataml/data/docs/sqle/docs_17_20/NERExtractor.py +121 -0
  28. teradataml/data/docs/sqle/docs_17_20/NGramSplitter.py +3 -3
  29. teradataml/data/docs/sqle/docs_17_20/SMOTE.py +212 -0
  30. teradataml/data/docs/sqle/docs_17_20/TextMorph.py +119 -0
  31. teradataml/data/docs/sqle/docs_17_20/TextParser.py +54 -3
  32. teradataml/data/docs/uaf/docs_17_20/ACF.py +1 -1
  33. teradataml/data/docs/uaf/docs_17_20/ArimaEstimate.py +2 -2
  34. teradataml/data/docs/uaf/docs_17_20/ArimaXEstimate.py +2 -2
  35. teradataml/data/docs/uaf/docs_17_20/DFFT.py +1 -1
  36. teradataml/data/docs/uaf/docs_17_20/DFFT2.py +1 -1
  37. teradataml/data/docs/uaf/docs_17_20/DFFT2Conv.py +1 -1
  38. teradataml/data/docs/uaf/docs_17_20/DFFTConv.py +1 -1
  39. teradataml/data/docs/uaf/docs_17_20/FilterFactory1d.py +4 -4
  40. teradataml/data/docs/uaf/docs_17_20/GenseriesSinusoids.py +2 -2
  41. teradataml/data/docs/uaf/docs_17_20/GoldfeldQuandt.py +2 -2
  42. teradataml/data/docs/uaf/docs_17_20/HoltWintersForecaster.py +6 -6
  43. teradataml/data/docs/uaf/docs_17_20/LineSpec.py +1 -1
  44. teradataml/data/docs/uaf/docs_17_20/LinearRegr.py +1 -1
  45. teradataml/data/docs/uaf/docs_17_20/Matrix2Image.py +4 -4
  46. teradataml/data/docs/uaf/docs_17_20/MultivarRegr.py +1 -1
  47. teradataml/data/docs/uaf/docs_17_20/PACF.py +1 -1
  48. teradataml/data/docs/uaf/docs_17_20/PowerSpec.py +2 -2
  49. teradataml/data/docs/uaf/docs_17_20/PowerTransform.py +3 -3
  50. teradataml/data/docs/uaf/docs_17_20/Resample.py +5 -5
  51. teradataml/data/docs/uaf/docs_17_20/SAX.py +3 -3
  52. teradataml/data/docs/uaf/docs_17_20/SignifPeriodicities.py +1 -1
  53. teradataml/data/docs/uaf/docs_17_20/SimpleExp.py +1 -1
  54. teradataml/data/docs/uaf/docs_17_20/Smoothma.py +3 -3
  55. teradataml/data/docs/uaf/docs_17_20/UNDIFF.py +1 -1
  56. teradataml/data/jsons/byom/onnxembeddings.json +1 -0
  57. teradataml/data/jsons/sqle/17.20/NGramSplitter.json +6 -6
  58. teradataml/data/jsons/sqle/17.20/TD_Apriori.json +181 -0
  59. teradataml/data/jsons/sqle/17.20/TD_NERExtractor.json +145 -0
  60. teradataml/data/jsons/sqle/17.20/TD_SMOTE.json +267 -0
  61. teradataml/data/jsons/sqle/17.20/TD_TextMorph.json +134 -0
  62. teradataml/data/jsons/sqle/17.20/TD_TextParser.json +114 -9
  63. teradataml/data/jsons/sqle/20.00/AI_AnalyzeSentiment.json +328 -0
  64. teradataml/data/jsons/sqle/20.00/AI_AskLLM.json +420 -0
  65. teradataml/data/jsons/sqle/20.00/AI_DetectLanguage.json +343 -0
  66. teradataml/data/jsons/sqle/20.00/AI_ExtractKeyPhrases.json +328 -0
  67. teradataml/data/jsons/sqle/20.00/AI_MaskPII.json +328 -0
  68. teradataml/data/jsons/sqle/20.00/AI_RecognizeEntities.json +328 -0
  69. teradataml/data/jsons/sqle/20.00/AI_RecognizePIIEntities.json +328 -0
  70. teradataml/data/jsons/sqle/20.00/AI_TextClassifier.json +359 -0
  71. teradataml/data/jsons/sqle/20.00/AI_TextEmbeddings.json +360 -0
  72. teradataml/data/jsons/sqle/20.00/AI_TextSummarize.json +343 -0
  73. teradataml/data/jsons/sqle/20.00/AI_TextTranslate.json +343 -0
  74. teradataml/data/jsons/sqle/20.00/TD_SMOTE.json +2 -2
  75. teradataml/data/jsons/sqle/20.00/TD_VectorDistance.json +1 -1
  76. teradataml/data/ner_dict.csv +8 -0
  77. teradataml/data/ner_input_eng.csv +7 -0
  78. teradataml/data/ner_rule.csv +5 -0
  79. teradataml/data/pattern_matching_data.csv +11 -0
  80. teradataml/data/pos_input.csv +40 -0
  81. teradataml/data/sdk/modelops/modelops_spec.json +101737 -0
  82. teradataml/data/tdnerextractor_example.json +14 -0
  83. teradataml/data/teradataml_example.json +21 -1
  84. teradataml/data/textmorph_example.json +5 -0
  85. teradataml/data/to_num_data.csv +4 -0
  86. teradataml/data/tochar_data.csv +5 -0
  87. teradataml/data/trans_dense.csv +16 -0
  88. teradataml/data/trans_sparse.csv +55 -0
  89. teradataml/data/url_data.csv +10 -9
  90. teradataml/dataframe/copy_to.py +38 -27
  91. teradataml/dataframe/data_transfer.py +61 -45
  92. teradataml/dataframe/dataframe.py +1110 -132
  93. teradataml/dataframe/dataframe_utils.py +73 -27
  94. teradataml/dataframe/functions.py +1070 -9
  95. teradataml/dataframe/sql.py +750 -959
  96. teradataml/dbutils/dbutils.py +33 -13
  97. teradataml/dbutils/filemgr.py +14 -10
  98. teradataml/hyperparameter_tuner/utils.py +4 -2
  99. teradataml/lib/aed_0_1.dll +0 -0
  100. teradataml/opensource/_base.py +12 -157
  101. teradataml/options/configure.py +24 -9
  102. teradataml/scriptmgmt/UserEnv.py +317 -39
  103. teradataml/scriptmgmt/lls_utils.py +456 -135
  104. teradataml/sdk/README.md +79 -0
  105. teradataml/sdk/__init__.py +4 -0
  106. teradataml/sdk/_auth_modes.py +422 -0
  107. teradataml/sdk/_func_params.py +487 -0
  108. teradataml/sdk/_json_parser.py +453 -0
  109. teradataml/sdk/_openapi_spec_constants.py +249 -0
  110. teradataml/sdk/_utils.py +236 -0
  111. teradataml/sdk/api_client.py +897 -0
  112. teradataml/sdk/constants.py +62 -0
  113. teradataml/sdk/modelops/__init__.py +98 -0
  114. teradataml/sdk/modelops/_client.py +406 -0
  115. teradataml/sdk/modelops/_constants.py +304 -0
  116. teradataml/sdk/modelops/models.py +2308 -0
  117. teradataml/sdk/spinner.py +107 -0
  118. teradataml/store/__init__.py +1 -1
  119. teradataml/table_operators/Apply.py +16 -1
  120. teradataml/table_operators/Script.py +20 -1
  121. teradataml/table_operators/query_generator.py +4 -21
  122. teradataml/table_operators/table_operator_util.py +58 -9
  123. teradataml/utils/dtypes.py +4 -2
  124. teradataml/utils/internal_buffer.py +22 -2
  125. teradataml/utils/utils.py +0 -1
  126. teradataml/utils/validators.py +318 -58
  127. {teradataml-20.0.0.4.dist-info → teradataml-20.0.0.6.dist-info}/METADATA +188 -14
  128. {teradataml-20.0.0.4.dist-info → teradataml-20.0.0.6.dist-info}/RECORD +131 -84
  129. {teradataml-20.0.0.4.dist-info → teradataml-20.0.0.6.dist-info}/WHEEL +0 -0
  130. {teradataml-20.0.0.4.dist-info → teradataml-20.0.0.6.dist-info}/top_level.txt +0 -0
  131. {teradataml-20.0.0.4.dist-info → teradataml-20.0.0.6.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
+ }