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
@@ -1371,7 +1371,8 @@
1371
1371
  "url_data": {
1372
1372
  "id": "INTEGER",
1373
1373
  "urls": "VARCHAR(60)",
1374
- "part": "VARCHAR(20)"
1374
+ "part": "VARCHAR(20)",
1375
+ "query_key": "VARCHAR(20)"
1375
1376
  },
1376
1377
  "hnsw_data": {
1377
1378
  "id": "INTEGER",
@@ -1389,5 +1390,78 @@
1389
1390
  "int_format": "VARCHAR(20)",
1390
1391
  "float_format": "VARCHAR(20)",
1391
1392
  "date_format": "VARCHAR(20)"
1393
+ },
1394
+ "Employee_roles": {
1395
+ "EmployeeID": "integer NOT NULL",
1396
+ "EmployeeName": "varchar(100) CHARACTER SET LATIN CASESPECIFIC",
1397
+ "Department": "varchar(50) CHARACTER SET LATIN CASESPECIFIC",
1398
+ "Salary": "decimal(10,2)",
1399
+ "role_validity_period": "PERIOD(DATE) NOT NULL AS VALIDTIME"
1400
+ },
1401
+ "Employee_Address": {
1402
+ "EmployeeID": "integer",
1403
+ "EmployeeName": "varchar(100) CHARACTER SET LATIN NOT CASESPECIFIC",
1404
+ "address": "varchar(255) CHARACTER SET LATIN NOT CASESPECIFIC",
1405
+ "validity_period": "PERIOD(TIMESTAMP(6) WITH TIME ZONE) NOT NULL AS TRANSACTIONTIME"
1406
+ },
1407
+ "Employee": {
1408
+ "EmployeeID": "integer NOT NULL",
1409
+ "EmployeeName": "varchar(100)",
1410
+ "address": "varchar(100)",
1411
+ "Department": "varchar(50)",
1412
+ "Salary": "decimal(10,2)",
1413
+ "role_validity": "PERIOD(DATE) NOT NULL AS VALIDTIME",
1414
+ "validity_period": "PERIOD(TIMESTAMP(6) WITH TIME ZONE) NOT NULL AS TRANSACTIONTIME"
1415
+ },
1416
+ "pattern_matching_data":{
1417
+ "id": "INTEGER",
1418
+ "data": "VARCHAR(20)",
1419
+ "pattern": "VARCHAR(20)",
1420
+ "level": "VARCHAR(20)"
1421
+ },
1422
+ "creditcard_data":{
1423
+ "Credit_Time": "FLOAT",
1424
+ "V1" : "FLOAT",
1425
+ "V2" : "FLOAT",
1426
+ "V3" : "FLOAT",
1427
+ "V4" : "FLOAT",
1428
+ "V5" : "FLOAT",
1429
+ "V6" : "FLOAT",
1430
+ "V7" : "FLOAT",
1431
+ "V8" : "FLOAT",
1432
+ "V9" : "FLOAT",
1433
+ "V10" : "FLOAT",
1434
+ "V11" : "FLOAT",
1435
+ "V12" : "FLOAT",
1436
+ "V13" : "FLOAT",
1437
+ "V14" : "FLOAT",
1438
+ "V15" : "FLOAT",
1439
+ "V16" : "FLOAT",
1440
+ "V17" : "FLOAT",
1441
+ "V18" : "FLOAT",
1442
+ "V19" : "FLOAT",
1443
+ "V20" : "FLOAT",
1444
+ "V21" : "FLOAT",
1445
+ "V22" : "FLOAT",
1446
+ "V23" : "FLOAT",
1447
+ "V24" : "FLOAT",
1448
+ "V25" : "FLOAT",
1449
+ "V26" : "FLOAT",
1450
+ "V27" : "FLOAT",
1451
+ "V28" : "FLOAT",
1452
+ "Amount" : "FLOAT",
1453
+ "Credit_Class" : "BIGINT"
1454
+ },
1455
+ "payment_fraud_dataset":{
1456
+ "step": "BIGINT",
1457
+ "payment_type": "VARCHAR(40)",
1458
+ "amount": "FLOAT",
1459
+ "nameOrig": "VARCHAR(40)",
1460
+ "oldbalanceOrg": "FLOAT",
1461
+ "newbalanceOrig": "FLOAT",
1462
+ "nameDest": "VARCHAR(40)",
1463
+ "oldbalanceDest": "FLOAT",
1464
+ "newbalanceDest": "FLOAT",
1465
+ "isFraud": "BIGINT"
1392
1466
  }
1393
1467
  }
@@ -1,9 +1,10 @@
1
- "id","urls","part"
2
- 0,"http://example.com:8080/path","FILE"
3
- 1,"ftp://example.net:21/path","PATH"
4
- 2,"https://example.net/path4/path5/path6?query4=value4#fragment3","REF"
5
- 3,"https://www.facebook.com","HOST"
6
- 4,"https://teracloud-pod-services-pod-account-service.dummyvalue.production.pods.teracloud.ninja/v1/accounts/acc-dummyvalue/user-environment-service/api/v1/","QUERY"
7
- 5,"http://pg.example.ml/path150#fragment90","AUTHORITY"
8
- 6,"smtp://user:password@smtp.example.com:21/file.txt","USERINFO"
9
- 7,"https://www.google.com","PROTOCOL"
1
+ "id","urls","part","query_key"
2
+ 0,"http://example.com:8080/path","FILE","path"
3
+ 1,"ftp://example.net:21/path","PATH","path"
4
+ 2,"https://example.net/path4/path5/path6?query4=value4#fragment3","REF","fragment3"
5
+ 3,"https://www.facebook.com","HOST","facebook.com"
6
+ 4,"https://teracloud-pod-services-pod-account-service.dummyvalue.production.pods.teracloud.ninja/v1/accounts/acc-dummyvalue/user-environment-service/api/v1/","QUERY",None
7
+ 5,"http://pg.example.ml/path150#fragment90","AUTHORITY","fragment90"
8
+ 6,"smtp://user:password@smtp.example.com:21/file.txt","USERINFO","password"
9
+ 7,"https://www.google.com","PROTOCOL","google.com"
10
+ 8,"http://example.com/api?query1=value1&query2=value2","QUERY","query1"