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.
- teradataml/LICENSE-3RD-PARTY.pdf +0 -0
- teradataml/README.md +306 -0
- teradataml/__init__.py +1 -1
- teradataml/_version.py +1 -1
- teradataml/analytics/analytic_function_executor.py +162 -76
- teradataml/analytics/byom/__init__.py +1 -1
- teradataml/analytics/json_parser/__init__.py +2 -0
- teradataml/analytics/json_parser/analytic_functions_argument.py +95 -2
- teradataml/analytics/json_parser/metadata.py +22 -4
- teradataml/analytics/sqle/DecisionTreePredict.py +3 -2
- teradataml/analytics/sqle/NaiveBayesPredict.py +3 -2
- teradataml/analytics/sqle/__init__.py +3 -0
- teradataml/analytics/utils.py +59 -11
- teradataml/automl/__init__.py +2369 -464
- teradataml/automl/autodataprep/__init__.py +15 -0
- teradataml/automl/custom_json_utils.py +184 -112
- teradataml/automl/data_preparation.py +113 -58
- teradataml/automl/data_transformation.py +154 -53
- teradataml/automl/feature_engineering.py +113 -53
- teradataml/automl/feature_exploration.py +548 -25
- teradataml/automl/model_evaluation.py +260 -32
- teradataml/automl/model_training.py +399 -206
- teradataml/clients/auth_client.py +10 -6
- teradataml/clients/keycloak_client.py +165 -0
- teradataml/common/aed_utils.py +11 -2
- teradataml/common/bulk_exposed_utils.py +4 -2
- teradataml/common/constants.py +72 -2
- teradataml/common/exceptions.py +32 -0
- teradataml/common/garbagecollector.py +50 -21
- teradataml/common/messagecodes.py +73 -1
- teradataml/common/messages.py +27 -1
- teradataml/common/sqlbundle.py +25 -7
- teradataml/common/utils.py +210 -22
- teradataml/context/aed_context.py +16 -10
- teradataml/context/context.py +37 -9
- teradataml/data/Employee.csv +5 -0
- teradataml/data/Employee_Address.csv +4 -0
- teradataml/data/Employee_roles.csv +5 -0
- teradataml/data/JulesBelvezeDummyData.csv +100 -0
- teradataml/data/byom_example.json +5 -0
- teradataml/data/creditcard_data.csv +284618 -0
- teradataml/data/docs/byom/docs/ONNXSeq2Seq.py +255 -0
- teradataml/data/docs/sqle/docs_17_10/NGramSplitter.py +1 -1
- teradataml/data/docs/sqle/docs_17_20/NGramSplitter.py +1 -1
- teradataml/data/docs/sqle/docs_17_20/TextParser.py +1 -1
- teradataml/data/jsons/byom/ONNXSeq2Seq.json +287 -0
- teradataml/data/jsons/byom/onnxembeddings.json +1 -0
- teradataml/data/jsons/sqle/20.00/AI_AnalyzeSentiment.json +3 -7
- teradataml/data/jsons/sqle/20.00/AI_AskLLM.json +3 -7
- teradataml/data/jsons/sqle/20.00/AI_DetectLanguage.json +3 -7
- teradataml/data/jsons/sqle/20.00/AI_ExtractKeyPhrases.json +3 -7
- teradataml/data/jsons/sqle/20.00/AI_MaskPII.json +3 -7
- teradataml/data/jsons/sqle/20.00/AI_RecognizeEntities.json +3 -7
- teradataml/data/jsons/sqle/20.00/AI_RecognizePIIEntities.json +3 -7
- teradataml/data/jsons/sqle/20.00/AI_TextClassifier.json +3 -7
- teradataml/data/jsons/sqle/20.00/AI_TextEmbeddings.json +3 -7
- teradataml/data/jsons/sqle/20.00/AI_TextSummarize.json +3 -7
- teradataml/data/jsons/sqle/20.00/AI_TextTranslate.json +3 -7
- teradataml/data/jsons/sqle/20.00/TD_API_AzureML.json +151 -0
- teradataml/data/jsons/sqle/20.00/TD_API_Sagemaker.json +182 -0
- teradataml/data/jsons/sqle/20.00/TD_API_VertexAI.json +183 -0
- teradataml/data/load_example_data.py +29 -11
- teradataml/data/pattern_matching_data.csv +11 -0
- teradataml/data/payment_fraud_dataset.csv +10001 -0
- teradataml/data/sdk/modelops/modelops_spec.json +101737 -0
- teradataml/data/teradataml_example.json +75 -1
- teradataml/data/url_data.csv +10 -9
- teradataml/dataframe/copy_to.py +715 -55
- teradataml/dataframe/dataframe.py +2115 -97
- teradataml/dataframe/dataframe_utils.py +66 -28
- teradataml/dataframe/functions.py +1130 -2
- teradataml/dataframe/setop.py +4 -1
- teradataml/dataframe/sql.py +710 -1039
- teradataml/dbutils/dbutils.py +470 -35
- teradataml/dbutils/filemgr.py +1 -1
- teradataml/hyperparameter_tuner/optimizer.py +456 -142
- teradataml/hyperparameter_tuner/utils.py +4 -2
- teradataml/lib/aed_0_1.dll +0 -0
- teradataml/lib/libaed_0_1.dylib +0 -0
- teradataml/lib/libaed_0_1.so +0 -0
- teradataml/lib/libaed_0_1_aarch64.so +0 -0
- teradataml/opensource/_base.py +7 -1
- teradataml/options/configure.py +20 -4
- teradataml/scriptmgmt/UserEnv.py +247 -36
- teradataml/scriptmgmt/lls_utils.py +140 -39
- teradataml/sdk/README.md +79 -0
- teradataml/sdk/__init__.py +4 -0
- teradataml/sdk/_auth_modes.py +422 -0
- teradataml/sdk/_func_params.py +487 -0
- teradataml/sdk/_json_parser.py +453 -0
- teradataml/sdk/_openapi_spec_constants.py +249 -0
- teradataml/sdk/_utils.py +236 -0
- teradataml/sdk/api_client.py +900 -0
- teradataml/sdk/constants.py +62 -0
- teradataml/sdk/modelops/__init__.py +98 -0
- teradataml/sdk/modelops/_client.py +409 -0
- teradataml/sdk/modelops/_constants.py +304 -0
- teradataml/sdk/modelops/models.py +2308 -0
- teradataml/sdk/spinner.py +107 -0
- teradataml/series/series.py +12 -7
- teradataml/store/feature_store/constants.py +601 -234
- teradataml/store/feature_store/feature_store.py +2886 -616
- teradataml/store/feature_store/mind_map.py +639 -0
- teradataml/store/feature_store/models.py +5831 -214
- teradataml/store/feature_store/utils.py +390 -0
- teradataml/table_operators/query_generator.py +4 -21
- teradataml/table_operators/table_operator_util.py +1 -1
- teradataml/table_operators/templates/dataframe_register.template +6 -2
- teradataml/table_operators/templates/dataframe_udf.template +6 -2
- teradataml/utils/docstring.py +527 -0
- teradataml/utils/dtypes.py +95 -1
- teradataml/utils/internal_buffer.py +2 -2
- teradataml/utils/utils.py +41 -3
- teradataml/utils/validators.py +699 -18
- {teradataml-20.0.0.5.dist-info → teradataml-20.0.0.7.dist-info}/METADATA +312 -2
- {teradataml-20.0.0.5.dist-info → teradataml-20.0.0.7.dist-info}/RECORD +119 -87
- {teradataml-20.0.0.5.dist-info → teradataml-20.0.0.7.dist-info}/WHEEL +0 -0
- {teradataml-20.0.0.5.dist-info → teradataml-20.0.0.7.dist-info}/top_level.txt +0 -0
- {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
|
+
}
|