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
@@ -1,6 +1,9 @@
1
- def TextParser(data=None, object=None, text_column=None, convert_to_lowercase=True, stem_tokens=False,
2
- remove_stopwords=False, accumulate=None, delimiter=" \t\n\f\r",
3
- punctuation="!#$%&()*+,-./:;?@\^_`{|}~", token_col_name=None, **generic_arguments):
1
+ def TextParser(data=None, object=None, text_column=None, enforce_token_limit=False,
2
+ convert_to_lowercase=True, stem_tokens=False, remove_stopwords=False,
3
+ accumulate=None, delimiter=" \t\n\f\r", delimiter_regex=None,
4
+ punctuation="!#$%&()*+,-./:;?@\^_`{|}~", token_col_name=None,
5
+ doc_id_column=None, list_positions=False, token_frequency=False,
6
+ output_by_word=True, **generic_arguments):
4
7
  """
5
8
  DESCRIPTION:
6
9
  The TextParser() function can parse text and perform the following operations:
@@ -38,6 +41,13 @@ def TextParser(data=None, object=None, text_column=None, convert_to_lowercase=Tr
38
41
  Specifies the name of the input data column whose contents are to be tokenized.
39
42
  Types: str
40
43
 
44
+ enforce_token_limit:
45
+ Optional Argument.
46
+ Specifies whether to throw an informative error when finding token larger than
47
+ 64K/32K or silently discard those larger tokens.
48
+ Default Value: False
49
+ Types: bool
50
+
41
51
  convert_to_lowercase:
42
52
  Optional Argument.
43
53
  Specifies whether to convert the text in "text_column" to lowercase.
@@ -71,6 +81,11 @@ def TextParser(data=None, object=None, text_column=None, convert_to_lowercase=Tr
71
81
  Default Value: " \\t\\n\\f\\r"
72
82
  Types: str
73
83
 
84
+ delimiter_regex:
85
+ Optional Argument.
86
+ Specifies a Perl Compatible regular expression that represents the word delimiter.
87
+ Types: str
88
+
74
89
  punctuation:
75
90
  Optional Argument.
76
91
  Specifies the punctuation characters to replace with a space in the input text.
@@ -83,6 +98,29 @@ def TextParser(data=None, object=None, text_column=None, convert_to_lowercase=Tr
83
98
  the text of the specified column in the "text_column" element.
84
99
  Types: str
85
100
 
101
+ doc_id_column:
102
+ Optional Argument.
103
+ Specifies the name of the column that uniquely identifies a row in the input table.
104
+ Types: str
105
+
106
+ list_positions:
107
+ Optional Argument.
108
+ Specifies whether to output the positions of a word in list form.
109
+ Default Value: False
110
+ Types: bool
111
+
112
+ token_frequency:
113
+ Optional Argument.
114
+ Specifies whether to output the frequency for each token.
115
+ Default Value: False
116
+ Types: bool
117
+
118
+ output_by_word:
119
+ Optional Argument.
120
+ Specifies whether to output each token in a separate row or all tokens in one.
121
+ Default Value: True
122
+ Types: bool
123
+
86
124
  **generic_arguments:
87
125
  Specifies the generic keyword arguments SQLE functions accept. Below
88
126
  are the generic keyword arguments:
@@ -170,4 +208,17 @@ def TextParser(data=None, object=None, text_column=None, convert_to_lowercase=Tr
170
208
 
171
209
  # Print the result DataFrame.
172
210
  print(TextParser_out.result)
211
+
212
+ # Example 3 : Tokenize words in "text_data" column using delimiter regex,
213
+ # convert tokens to lowercase and output token positions in a list format
214
+ TextParser_out = TextParser(data=complaints,
215
+ text_column="text_data",
216
+ doc_id_column="doc_id",
217
+ delimeter_regex="[ \t\f\r\n]+",
218
+ list_positions=True,
219
+ convert_to_lowercase=True,
220
+ output_by_word=False)
221
+
222
+ # Print the result DataFrame.
223
+ print(TextParser_out.result)
173
224
  """
@@ -94,7 +94,7 @@ def ACF(data=None, data_filter_expr=None, max_lags=None,
94
94
  Default behavior when "alpha" avoided or not a positive
95
95
  float:
96
96
  * The function does not return confidence intervals.
97
- Types: float
97
+ Types: int OR float
98
98
 
99
99
  **generic_arguments:
100
100
  Specifies the generic keyword arguments of UAF functions.
@@ -169,7 +169,7 @@ def ArimaEstimate(data1=None, data1_filter_expr=None, data2=None,
169
169
  at the end to specify the intercept coefficient initial
170
170
  value, then the formula is as follows:
171
171
  p+q+P+Q+constant
172
- Types: float, list of float
172
+ Types: int, list of int, float, list of float
173
173
 
174
174
  fixed:
175
175
  Optional Argument.
@@ -183,7 +183,7 @@ def ArimaEstimate(data1=None, data1_filter_expr=None, data2=None,
183
183
  at the end to specify the intercept coefficient initial
184
184
  value, then the formula is as follows:
185
185
  p+q+P+Q+constant
186
- Types: float, list of float
186
+ Types: int, list of int, float, list of float
187
187
 
188
188
  constant:
189
189
  Optional Argument.
@@ -95,7 +95,7 @@ def ArimaXEstimate(data1=None, data1_filter_expr=None, data2=None,
95
95
  MA coefficients, the seasonal SAR regression
96
96
  coefficients and the SMA coefficients. The formula is
97
97
  as follows: 'p+q+P+Q+CONSTANT-length-init-list'
98
- Types: float, list of float
98
+ Types: int, list of int, float, list of float
99
99
 
100
100
  fixed:
101
101
  Optional Argument.
@@ -107,7 +107,7 @@ def ArimaXEstimate(data1=None, data1_filter_expr=None, data2=None,
107
107
  If an intercept is needed, one more value is added at
108
108
  the end to specify the intercept coefficient initial value.
109
109
  The formula is as follows: 'p+q+P+Q+CONSTANT-length-fixed-list'
110
- Types: float, list of float
110
+ Types: int, list of int, float, list of float
111
111
 
112
112
  constant:
113
113
  Optional Argument.
@@ -57,7 +57,7 @@ def DFFT(data=None, data_filter_expr=None, zero_padding_ok=True,
57
57
  obtained by sampling at a rate of 10,000 hertz.
58
58
  Note:
59
59
  Applicable only when "freq_style" is set to 'K_HERTZ'.
60
- Types: float
60
+ Types: int OR float
61
61
 
62
62
  algorithm:
63
63
  Optional Argument.
@@ -56,7 +56,7 @@ def DFFT2(data=None, data_filter_expr=None, zero_padding_ok=True,
56
56
  column index.
57
57
  Note:
58
58
  Applicable only when "freq_style" is set to 'K_HERTZ'.
59
- Types: float
59
+ Types: int OR float
60
60
 
61
61
  algorithm:
62
62
  Optional Argument.
@@ -54,7 +54,7 @@ def DFFT2Conv(data=None, data_filter_expr=None, conv=None,
54
54
  were obtained by sampling at a rate of 10,000 hertz.
55
55
  Note:
56
56
  * Applicable only when "freq_style" is set to 'K_HERTZ'.
57
- Types: float
57
+ Types: int OR float
58
58
 
59
59
  output_fmt_content:
60
60
  Optional Argument.
@@ -55,7 +55,7 @@ def DFFTConv(data=None, data_filter_expr=None, conv=None,
55
55
  Value should be greater than 0.
56
56
  Notes:
57
57
  * Applicable only when "freq_style" is set to 'K_HERTZ'.
58
- Types: float
58
+ Types: int OR float
59
59
 
60
60
  output_fmt_content:
61
61
  Optional Argument.
@@ -57,27 +57,27 @@ def FilterFactory1d(filter_id=None, filter_type=None,
57
57
  A smaller value produces faster drop off at the cost of more coefficients.
58
58
  Not used when "filter_length" is supplied.
59
59
  Default is bandwidth from "filter_length".
60
- Types: float
60
+ Types: int OR float
61
61
 
62
62
  low_cutoff:
63
63
  Optional Argument.
64
64
  Specifies the lower frequency that change between a passband
65
65
  and stopband occurs. It must be greater
66
66
  than 0. It is not used by default with 'HIGHPASS' filter.
67
- Types: float
67
+ Types: int OR float
68
68
 
69
69
  high_cutoff:
70
70
  Optional Argument.
71
71
  Specifies the higher frequency that change
72
72
  between a passband and stopband occurs. It must be greater
73
73
  than 0 and not used by default with 'LOWPASS' filter.
74
- Types: float
74
+ Types: int OR float
75
75
 
76
76
  sampling_frequency:
77
77
  Required Argument.
78
78
  Specifies the frequency that the data to be filtered was
79
79
  sampled. It must be greater than 0.
80
- Types: float
80
+ Types: int OR float
81
81
 
82
82
  filter_description:
83
83
  Optional Argument.
@@ -40,8 +40,8 @@ def GenseriesSinusoids(data=None, data_filter_expr=None, periodicities=None,
40
40
  Specifies the periodicity as a comma-separated list, which
41
41
  contains one or more floating point values representing
42
42
  periodicities.
43
- Types: float, list of float
44
-
43
+ Types: int, list of int, float, list of float
44
+
45
45
  output_fmt_index_style:
46
46
  Optional Argument.
47
47
  Specifies the index style of the output format.
@@ -53,7 +53,7 @@ def GoldfeldQuandt(data=None, data_filter_expr=None,
53
53
  * not specified, then split-point index is calculate as:
54
54
  start_idx = (N - omit) / 2
55
55
  Where, 'N' is the total number of entries in the data series.
56
- Types: float
56
+ Types: int OR float
57
57
 
58
58
  omit:
59
59
  Required Argument.
@@ -66,7 +66,7 @@ def GoldfeldQuandt(data=None, data_filter_expr=None,
66
66
  Where 'N' is the total number of entries in the data series
67
67
  * greater than 1.0, then "omit" is interpreted as number of
68
68
  central points to omit.
69
- Types: float
69
+ Types: int OR float
70
70
 
71
71
  significance_level:
72
72
  Required Argument.
@@ -37,7 +37,7 @@ def HoltWintersForecaster(data=None, data_filter_expr=None, forecast_periods=Non
37
37
  the forecasting, else the "alpha" value is estimated using
38
38
  goodness-of-fit metrics. Value must be greater than or equal
39
39
  to 0 and less than or equal to 1.
40
- Types: float
40
+ Types: int OR float
41
41
 
42
42
  beta:
43
43
  Optional Argument.
@@ -47,7 +47,7 @@ def HoltWintersForecaster(data=None, data_filter_expr=None, forecast_periods=Non
47
47
  the forecasting, else the "beta" value is estimated using
48
48
  goodness-of-fit metrics. Value must be greater than or equal
49
49
  to 0 and less than or equal to 1.
50
- Types: float
50
+ Types: int OR float
51
51
 
52
52
  gamma:
53
53
  Optional Argument.
@@ -57,7 +57,7 @@ def HoltWintersForecaster(data=None, data_filter_expr=None, forecast_periods=Non
57
57
  the forecasting, else the "gamma" value is estimated using
58
58
  goodness-of-fit metrics. Value must be greater than or equal
59
59
  to 0 and less than or equal to 1.
60
- Types: float
60
+ Types: int OR float
61
61
 
62
62
  seasonal_periods:
63
63
  Optional Argument.
@@ -74,14 +74,14 @@ def HoltWintersForecaster(data=None, data_filter_expr=None, forecast_periods=Non
74
74
  Specifies the initialization value used as part of the fitting
75
75
  and forecasting operations. If not specified, then the initialization
76
76
  value is calculated as an additive level.
77
- Types: float
77
+ Types: int OR float
78
78
 
79
79
  init_trend:
80
80
  Optional Argument.
81
81
  Specifies the initialization value used as part of the fitting
82
82
  and forecasting operations. If not specified, then the initialization
83
83
  value is calculated as an additive trend.
84
- Types: float
84
+ Types: int OR float
85
85
 
86
86
  init_season:
87
87
  Optional Argument.
@@ -89,7 +89,7 @@ def HoltWintersForecaster(data=None, data_filter_expr=None, forecast_periods=Non
89
89
  specified, the initialization value is used as part of the
90
90
  fitting and forecasting operations, else the initialization
91
91
  value is calculated as a multiplicative seasonality.
92
- Types: float, list of float
92
+ Types: int, list of int, float, list of float
93
93
 
94
94
  model:
95
95
  Required Argument.
@@ -68,7 +68,7 @@ def LineSpec(data=None, data_filter_expr=None, freq_style="K_INTEGRAL",
68
68
  A value of 10000.0 indicates that the sample points were obtained
69
69
  by sampling at a rate of 10,000 hertz. This hertz interpretation
70
70
  applies to both the ROW_I and COLUMN_I indices.
71
- Types: float
71
+ Types: int OR float
72
72
 
73
73
  **generic_arguments:
74
74
  Specifies the generic keyword arguments of UAF functions.
@@ -92,7 +92,7 @@ def LinearRegr(data=None, data_filter_expr=None, variables_count=2,
92
92
  Note:
93
93
  Applicable only when "coeff_stats" is set to True.
94
94
  Default Value: 0.9
95
- Types: float
95
+ Types: int OR float
96
96
 
97
97
  model_stats:
98
98
  Optional Argument.
@@ -70,28 +70,28 @@ def Matrix2Image(data=None, data_filter_expr=None, image="PNG", type=None,
70
70
  scaled. By default, the MIN and MAX values of the
71
71
  payload are used as the range. Used when "type" is 'GRAY'
72
72
  or 'COLORMAP'.
73
- Types: float, list of float
73
+ Types: int, list of int, float, list of float
74
74
 
75
75
  red:
76
76
  Optional Argument.
77
77
  Specifies the range of the first payload value. By
78
78
  default, the MIN and MAX values of the payload are
79
79
  used as the range. It is only used when "type" is 'RGB'.
80
- Types: float, list of float
80
+ Types: int, list of int, float, list of float
81
81
 
82
82
  green:
83
83
  Optional Argument.
84
84
  Specifies the range of the second payload value.By
85
85
  default, the MIN and MAX values of the payload are
86
86
  used as the range. It is only used when "type" is 'RGB'.
87
- Types: float, list of float
87
+ Types: int, list of int, float, list of float
88
88
 
89
89
  blue:
90
90
  Optional Argument.
91
91
  Specifies the range of the third payload value. By
92
92
  default, the MIN and MAX values of the payload are
93
93
  used as the range. It is only used when "type" is 'RGB'.
94
- Types: float, list of float
94
+ Types: int, list of int, float, list of float
95
95
 
96
96
  flip_x:
97
97
  Optional Argument.
@@ -71,7 +71,7 @@ def MultivarRegr(data=None, data_filter_expr=None, variables_count=None,
71
71
  Note:
72
72
  Applicable only when "coeff_stats" is set to 1.
73
73
  Default Value: 0.9
74
- Types: float
74
+ Types: int OR float
75
75
 
76
76
  model_stats:
77
77
  Optional Argument.
@@ -64,7 +64,7 @@ def PACF(data=None, data_filter_expr=None,
64
64
  Specifies confidence intervals for the given level. For example, if 0.05 is entered,
65
65
  then 95% confidence intervals are returned for standard deviation computed according
66
66
  to Bartlett’s formula.
67
- Types: float
67
+ Types: int OR float
68
68
 
69
69
  **generic_arguments:
70
70
  Specifies the generic keyword arguments of UAF functions.
@@ -51,7 +51,7 @@ def PowerSpec(data=None, data_filter_expr=None, freq_style=None,
51
51
  points were obtained by sampling at a rate of 10,000 hertz.
52
52
  Note:
53
53
  * Only used with "freq_style" set to 'K_HERTZ'.
54
- Types: float
54
+ Types: int OR float
55
55
 
56
56
  zero_padding_ok:
57
57
  Optional Argument.
@@ -111,7 +111,7 @@ def PowerSpec(data=None, data_filter_expr=None, freq_style=None,
111
111
  hertz.
112
112
  Note:
113
113
  * Use when "window_name" is set to 'TUKEY'.
114
- Types: float
114
+ Types: int OR float
115
115
 
116
116
  **generic_arguments:
117
117
  Specifies the generic keyword arguments of UAF functions.
@@ -43,18 +43,18 @@ def PowerTransform(data=None, data_filter_expr=None, back_transform=False,
43
43
  p:
44
44
  Required Argument.
45
45
  Specifies the power to use in the transform equation.
46
- Types: float
46
+ Types: int OR float
47
47
 
48
48
  b:
49
49
  Required Argument.
50
50
  Specifies the logarithm to be applied for the transform equation.
51
- Types: float
51
+ Types: int OR float
52
52
 
53
53
  lambda1:
54
54
  Required Argument.
55
55
  Specifies the parameter used to decide the preferred
56
56
  power transform operation during the Box-Cox transformation.
57
- Types: float
57
+ Types: int OR float
58
58
 
59
59
  output_fmt_index_style:
60
60
  Optional Argument.
@@ -56,7 +56,7 @@ def Resample(data=None, data_filter_expr=None, timecode_start_value=None,
56
56
  Provide either arguments "timecode_start_value" and
57
57
  "timecode_duration", or arguments "sequence_start_value"
58
58
  and "sequence_duration".
59
- Types: float
59
+ Types: int OR float
60
60
 
61
61
  sequence_duration:
62
62
  Optional Argument.
@@ -65,7 +65,7 @@ def Resample(data=None, data_filter_expr=None, timecode_start_value=None,
65
65
  Provide either arguments "timecode_start_value" and
66
66
  "timecode_duration", or arguments "sequence_start_value"
67
67
  and "sequence_duration".
68
- Types: float
68
+ Types: int OR float
69
69
 
70
70
  interpolate:
71
71
  Required Argument.
@@ -84,7 +84,7 @@ def Resample(data=None, data_filter_expr=None, timecode_start_value=None,
84
84
  Note:
85
85
  * Applicable only when "interpolate" set to 'WEIGHTED'.
86
86
  * The interpolated value is calculated as: Y_t = Y_{t_LEFT} * (1 - WEIGHT) + (Y-{t_RIGHT} * WEIGHT).
87
- Types: float
87
+ Types: int OR float
88
88
 
89
89
  spline_params_method:
90
90
  Optional Argument.
@@ -106,7 +106,7 @@ def Resample(data=None, data_filter_expr=None, timecode_start_value=None,
106
106
  * Used only when "interpolate" set to 'SPLINE'.
107
107
  * Used only when "spline_params_method" set to 'CLAMPED'.
108
108
  Default Value: 0.0
109
- Types: float
109
+ Types: int OR float
110
110
 
111
111
  spline_params_ypn:
112
112
  Optional Argument.
@@ -116,7 +116,7 @@ def Resample(data=None, data_filter_expr=None, timecode_start_value=None,
116
116
  * Used only when "interpolate" set to 'SPLINE'.
117
117
  * Used only when "spline_params_method" set to 'CLAMPED'.
118
118
  Default Value: 0.0
119
- Types: float
119
+ Types: int OR float
120
120
 
121
121
  output_fmt_index_style:
122
122
  Optional Argument.
@@ -49,7 +49,7 @@ def SAX(data=None, data_filter_expr=None, window_type='GLOBAL',
49
49
  the specified value will apply to all payloads.
50
50
  * If "mean" specifies multiple values, each value will be
51
51
  applied to its corresponding payload.
52
- Types: float, list of float
52
+ Types: int, list of int, float, list of float
53
53
 
54
54
  std_dev:
55
55
  Optional Argument.
@@ -62,7 +62,7 @@ def SAX(data=None, data_filter_expr=None, window_type='GLOBAL',
62
62
  the specified value will apply to all payloads.
63
63
  * If "std_dev" specifies multiple values, each value will be
64
64
  applied to its corresponding payload.
65
- Types: float, list of float
65
+ Types: int, list of int, float, list of float
66
66
 
67
67
  window_size:
68
68
  Optional Argument, Required if "window_type" is SLIDING.
@@ -124,7 +124,7 @@ def SAX(data=None, data_filter_expr=None, window_type='GLOBAL',
124
124
  breakpoints:
125
125
  Optional Argument.
126
126
  Specifies the breakpoints to form the SAX code based on "data".
127
- Types: float, list of float
127
+ Types: int, list of int, float, list of float
128
128
 
129
129
  output_fmt_index_style:
130
130
  Optional Argument.
@@ -47,7 +47,7 @@ def SignifPeriodicities(data=None, data_filter_expr=None,
47
47
  Required Argument.
48
48
  Specifies the significant periodicities to perform
49
49
  tests for each period.
50
- Types: float OR list of float
50
+ Types: int, list of int, float, list of float
51
51
 
52
52
  **generic_arguments:
53
53
  Specifies the generic keyword arguments of UAF functions.
@@ -36,7 +36,7 @@ def SimpleExp(data=None, data_filter_expr=None, forecast_periods=None,
36
36
  is not specified, the value of 'alpha' is estimated by using
37
37
  goodness-of-fit metrics. Value must be greater than or equal to
38
38
  0 and less than or equal to 1.
39
- Types: float
39
+ Types: int OR float
40
40
 
41
41
  prediction_intervals:
42
42
  Optional Argument.
@@ -67,7 +67,7 @@ def Smoothma(data=None, data_filter_expr=None, ma=None, window=None,
67
67
  faster.
68
68
  Note:
69
69
  * Applicable only when "ma" is set to 'EXPONENTIAL'.
70
- Types: float
70
+ Types: int OR float
71
71
 
72
72
  weights:
73
73
  Optional Argument.
@@ -80,7 +80,7 @@ def Smoothma(data=None, data_filter_expr=None, ma=None, window=None,
80
80
  value if it is not specified.
81
81
  Note:
82
82
  * Applicable only when "ma" is set to 'MEAN'.
83
- Types: float
83
+ Types: int OR float
84
84
 
85
85
  well_known:
86
86
  Optional Argument.
@@ -109,7 +109,7 @@ def Smoothma(data=None, data_filter_expr=None, ma=None, window=None,
109
109
  For example, pad=4.5 applies a pad value of 4.5 for a series less than "window".
110
110
  Note:
111
111
  * Applicable only when "ma" is set to 'MEAN' or 'MEDIAN'.
112
- Types: float
112
+ Types: int, float
113
113
 
114
114
  output_fmt_index_style:
115
115
  Optional Argument.
@@ -59,7 +59,7 @@ def UNDIFF(data1=None, data1_filter_expr=None, data2=None,
59
59
  initial_values:
60
60
  Optional Argument.
61
61
  Specifies the starting values for the undifferencing operation.
62
- Types: float OR list of float
62
+ Types: int, list of int, float OR list of float
63
63
 
64
64
  input_fmt_input_mode:
65
65
  Optional Argument.
@@ -105,6 +105,7 @@
105
105
  "datatype": "STRING",
106
106
  "allowsLists": false,
107
107
  "rName": "model.output.tensor",
108
+ "permittedValues": ["sentence_embedding","token_embeddings"],
108
109
  "useInR": true,
109
110
  "rOrderNum": 5
110
111
  },
@@ -124,8 +124,8 @@
124
124
  "name": "Delimiter",
125
125
  "alternateNames": [],
126
126
  "isRequired": false,
127
- "rDescription": "A character or string that separates words in the input text. The default value is the set of all whitespace characters which includes the characters for space, tab, newline, carriage return and some others.",
128
- "description": "A character or string that separates words in the input text. The default value is the set of all whitespace characters which includes the characters for space, tab, newline, carriage return and some others.",
127
+ "rDescription": "A character or string or a regular expression that separates words in the input text. The default value is the set of all whitespace characters which includes the characters for space, tab, newline, carriage return and some others.",
128
+ "description": "A character or string or a regular expression that separates words in the input text. The default value is the set of all whitespace characters which includes the characters for space, tab, newline, carriage return and some others.",
129
129
  "datatype": "STRING",
130
130
  "allowsLists": false,
131
131
  "rName": "delimiter",
@@ -139,8 +139,8 @@
139
139
  "name": "Punctuation",
140
140
  "alternateNames": [],
141
141
  "isRequired": false,
142
- "rDescription": "A string that specifies the punctuation characters for the function to remove before evaluating the input text. The default characters to remove are: `~#^&*()-",
143
- "description": "A string that specifies the punctuation characters for the function to remove before evaluating the input text. The default characters to remove are: `~#^&*()-",
142
+ "rDescription": "A string or a regular expression that specifies the punctuation characters for the function to remove before evaluating the input text. The default characters to remove are: `~#^&*()-",
143
+ "description": "A string or a regular expression that specifies the punctuation characters for the function to remove before evaluating the input text. The default characters to remove are: `~#^&*()-",
144
144
  "datatype": "STRING",
145
145
  "allowsLists": false,
146
146
  "rName": "punctuation",
@@ -154,8 +154,8 @@
154
154
  "name": "Reset",
155
155
  "alternateNames": [],
156
156
  "isRequired": false,
157
- "rDescription": "A string that specifies the character or string that ends a sentence. The default sentence-ending characters are: .,?! At the end of a sentence, the function discards any partial n-grams and searches for the next n-gram at the beginning of the next sentence. An n-gram cannot span two sentences.",
158
- "description": "A string expression that specifies the character or string that ends a sentence. The default sentence-ending characters are: .,?! At the end of a sentence, the function discards any partial n-grams and searches for the next n-gram at the beginning of the next sentence. An n-gram cannot span two sentences.",
157
+ "rDescription": "A string or a regular expression that specifies the character or string that ends a sentence. The default sentence-ending characters are: .,?! At the end of a sentence, the function discards any partial n-grams and searches for the next n-gram at the beginning of the next sentence. An n-gram cannot span two sentences.",
158
+ "description": "A string or a regular expression that specifies the character or string that ends a sentence. The default sentence-ending characters are: .,?! At the end of a sentence, the function discards any partial n-grams and searches for the next n-gram at the beginning of the next sentence. An n-gram cannot span two sentences.",
159
159
  "datatype": "STRING",
160
160
  "allowsLists": false,
161
161
  "rName": "reset",