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.
- teradataml/LICENSE-3RD-PARTY.pdf +0 -0
- teradataml/README.md +182 -13
- teradataml/__init__.py +2 -1
- teradataml/_version.py +2 -2
- teradataml/analytics/analytic_function_executor.py +8 -13
- teradataml/analytics/json_parser/analytic_functions_argument.py +4 -0
- teradataml/analytics/sqle/__init__.py +16 -1
- teradataml/analytics/utils.py +60 -1
- teradataml/automl/__init__.py +290 -106
- teradataml/automl/autodataprep/__init__.py +471 -0
- teradataml/automl/data_preparation.py +29 -10
- teradataml/automl/data_transformation.py +11 -0
- teradataml/automl/feature_engineering.py +64 -4
- teradataml/automl/feature_exploration.py +639 -25
- teradataml/automl/model_training.py +1 -1
- teradataml/clients/auth_client.py +12 -8
- teradataml/clients/keycloak_client.py +165 -0
- teradataml/common/constants.py +71 -26
- teradataml/common/exceptions.py +32 -0
- teradataml/common/messagecodes.py +28 -0
- teradataml/common/messages.py +13 -4
- teradataml/common/sqlbundle.py +3 -2
- teradataml/common/utils.py +345 -45
- teradataml/context/context.py +259 -93
- teradataml/data/apriori_example.json +22 -0
- teradataml/data/docs/sqle/docs_17_20/Apriori.py +138 -0
- teradataml/data/docs/sqle/docs_17_20/NERExtractor.py +121 -0
- teradataml/data/docs/sqle/docs_17_20/NGramSplitter.py +3 -3
- teradataml/data/docs/sqle/docs_17_20/SMOTE.py +212 -0
- teradataml/data/docs/sqle/docs_17_20/TextMorph.py +119 -0
- teradataml/data/docs/sqle/docs_17_20/TextParser.py +54 -3
- teradataml/data/docs/uaf/docs_17_20/ACF.py +1 -1
- teradataml/data/docs/uaf/docs_17_20/ArimaEstimate.py +2 -2
- teradataml/data/docs/uaf/docs_17_20/ArimaXEstimate.py +2 -2
- teradataml/data/docs/uaf/docs_17_20/DFFT.py +1 -1
- teradataml/data/docs/uaf/docs_17_20/DFFT2.py +1 -1
- teradataml/data/docs/uaf/docs_17_20/DFFT2Conv.py +1 -1
- teradataml/data/docs/uaf/docs_17_20/DFFTConv.py +1 -1
- teradataml/data/docs/uaf/docs_17_20/FilterFactory1d.py +4 -4
- teradataml/data/docs/uaf/docs_17_20/GenseriesSinusoids.py +2 -2
- teradataml/data/docs/uaf/docs_17_20/GoldfeldQuandt.py +2 -2
- teradataml/data/docs/uaf/docs_17_20/HoltWintersForecaster.py +6 -6
- teradataml/data/docs/uaf/docs_17_20/LineSpec.py +1 -1
- teradataml/data/docs/uaf/docs_17_20/LinearRegr.py +1 -1
- teradataml/data/docs/uaf/docs_17_20/Matrix2Image.py +4 -4
- teradataml/data/docs/uaf/docs_17_20/MultivarRegr.py +1 -1
- teradataml/data/docs/uaf/docs_17_20/PACF.py +1 -1
- teradataml/data/docs/uaf/docs_17_20/PowerSpec.py +2 -2
- teradataml/data/docs/uaf/docs_17_20/PowerTransform.py +3 -3
- teradataml/data/docs/uaf/docs_17_20/Resample.py +5 -5
- teradataml/data/docs/uaf/docs_17_20/SAX.py +3 -3
- teradataml/data/docs/uaf/docs_17_20/SignifPeriodicities.py +1 -1
- teradataml/data/docs/uaf/docs_17_20/SimpleExp.py +1 -1
- teradataml/data/docs/uaf/docs_17_20/Smoothma.py +3 -3
- teradataml/data/docs/uaf/docs_17_20/UNDIFF.py +1 -1
- teradataml/data/jsons/byom/onnxembeddings.json +1 -0
- teradataml/data/jsons/sqle/17.20/NGramSplitter.json +6 -6
- teradataml/data/jsons/sqle/17.20/TD_Apriori.json +181 -0
- teradataml/data/jsons/sqle/17.20/TD_NERExtractor.json +145 -0
- teradataml/data/jsons/sqle/17.20/TD_SMOTE.json +267 -0
- teradataml/data/jsons/sqle/17.20/TD_TextMorph.json +134 -0
- teradataml/data/jsons/sqle/17.20/TD_TextParser.json +114 -9
- teradataml/data/jsons/sqle/20.00/AI_AnalyzeSentiment.json +328 -0
- teradataml/data/jsons/sqle/20.00/AI_AskLLM.json +420 -0
- teradataml/data/jsons/sqle/20.00/AI_DetectLanguage.json +343 -0
- teradataml/data/jsons/sqle/20.00/AI_ExtractKeyPhrases.json +328 -0
- teradataml/data/jsons/sqle/20.00/AI_MaskPII.json +328 -0
- teradataml/data/jsons/sqle/20.00/AI_RecognizeEntities.json +328 -0
- teradataml/data/jsons/sqle/20.00/AI_RecognizePIIEntities.json +328 -0
- teradataml/data/jsons/sqle/20.00/AI_TextClassifier.json +359 -0
- teradataml/data/jsons/sqle/20.00/AI_TextEmbeddings.json +360 -0
- teradataml/data/jsons/sqle/20.00/AI_TextSummarize.json +343 -0
- teradataml/data/jsons/sqle/20.00/AI_TextTranslate.json +343 -0
- teradataml/data/jsons/sqle/20.00/TD_SMOTE.json +2 -2
- teradataml/data/jsons/sqle/20.00/TD_VectorDistance.json +1 -1
- teradataml/data/ner_dict.csv +8 -0
- teradataml/data/ner_input_eng.csv +7 -0
- teradataml/data/ner_rule.csv +5 -0
- teradataml/data/pattern_matching_data.csv +11 -0
- teradataml/data/pos_input.csv +40 -0
- teradataml/data/sdk/modelops/modelops_spec.json +101737 -0
- teradataml/data/tdnerextractor_example.json +14 -0
- teradataml/data/teradataml_example.json +21 -1
- teradataml/data/textmorph_example.json +5 -0
- teradataml/data/to_num_data.csv +4 -0
- teradataml/data/tochar_data.csv +5 -0
- teradataml/data/trans_dense.csv +16 -0
- teradataml/data/trans_sparse.csv +55 -0
- teradataml/data/url_data.csv +10 -9
- teradataml/dataframe/copy_to.py +38 -27
- teradataml/dataframe/data_transfer.py +61 -45
- teradataml/dataframe/dataframe.py +1110 -132
- teradataml/dataframe/dataframe_utils.py +73 -27
- teradataml/dataframe/functions.py +1070 -9
- teradataml/dataframe/sql.py +750 -959
- teradataml/dbutils/dbutils.py +33 -13
- teradataml/dbutils/filemgr.py +14 -10
- teradataml/hyperparameter_tuner/utils.py +4 -2
- teradataml/lib/aed_0_1.dll +0 -0
- teradataml/opensource/_base.py +12 -157
- teradataml/options/configure.py +24 -9
- teradataml/scriptmgmt/UserEnv.py +317 -39
- teradataml/scriptmgmt/lls_utils.py +456 -135
- 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 +897 -0
- teradataml/sdk/constants.py +62 -0
- teradataml/sdk/modelops/__init__.py +98 -0
- teradataml/sdk/modelops/_client.py +406 -0
- teradataml/sdk/modelops/_constants.py +304 -0
- teradataml/sdk/modelops/models.py +2308 -0
- teradataml/sdk/spinner.py +107 -0
- teradataml/store/__init__.py +1 -1
- teradataml/table_operators/Apply.py +16 -1
- teradataml/table_operators/Script.py +20 -1
- teradataml/table_operators/query_generator.py +4 -21
- teradataml/table_operators/table_operator_util.py +58 -9
- teradataml/utils/dtypes.py +4 -2
- teradataml/utils/internal_buffer.py +22 -2
- teradataml/utils/utils.py +0 -1
- teradataml/utils/validators.py +318 -58
- {teradataml-20.0.0.4.dist-info → teradataml-20.0.0.6.dist-info}/METADATA +188 -14
- {teradataml-20.0.0.4.dist-info → teradataml-20.0.0.6.dist-info}/RECORD +131 -84
- {teradataml-20.0.0.4.dist-info → teradataml-20.0.0.6.dist-info}/WHEEL +0 -0
- {teradataml-20.0.0.4.dist-info → teradataml-20.0.0.6.dist-info}/top_level.txt +0 -0
- {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
|
+
}
|