@elaraai/east-py-datascience 0.0.2-beta.8 → 0.0.2-beta.80

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.
Files changed (123) hide show
  1. package/README.md +58 -1
  2. package/dist/src/alns/alns.d.ts +528 -0
  3. package/dist/src/alns/alns.d.ts.map +1 -0
  4. package/dist/src/alns/alns.js +238 -0
  5. package/dist/src/alns/alns.js.map +1 -0
  6. package/dist/src/google_or/google_or.d.ts +2422 -0
  7. package/dist/src/google_or/google_or.d.ts.map +1 -0
  8. package/dist/src/google_or/google_or.js +542 -0
  9. package/dist/src/google_or/google_or.js.map +1 -0
  10. package/dist/{gp → src/gp}/gp.d.ts +185 -136
  11. package/dist/src/gp/gp.d.ts.map +1 -0
  12. package/dist/{gp → src/gp}/gp.js +64 -12
  13. package/dist/src/gp/gp.js.map +1 -0
  14. package/dist/src/index.d.ts +34 -0
  15. package/dist/src/index.d.ts.map +1 -0
  16. package/dist/src/index.js +57 -0
  17. package/dist/src/index.js.map +1 -0
  18. package/dist/src/lightgbm/lightgbm.d.ts +575 -0
  19. package/dist/src/lightgbm/lightgbm.d.ts.map +1 -0
  20. package/dist/{lightgbm → src/lightgbm}/lightgbm.js +104 -18
  21. package/dist/src/lightgbm/lightgbm.js.map +1 -0
  22. package/dist/src/lightning/lightning.d.ts +1594 -0
  23. package/dist/src/lightning/lightning.d.ts.map +1 -0
  24. package/dist/src/lightning/lightning.js +468 -0
  25. package/dist/src/lightning/lightning.js.map +1 -0
  26. package/dist/{mads → src/mads}/mads.d.ts +109 -112
  27. package/dist/src/mads/mads.d.ts.map +1 -0
  28. package/dist/{mads → src/mads}/mads.js +6 -8
  29. package/dist/src/mads/mads.js.map +1 -0
  30. package/dist/src/mapie/mapie.d.ts +3680 -0
  31. package/dist/src/mapie/mapie.d.ts.map +1 -0
  32. package/dist/src/mapie/mapie.js +616 -0
  33. package/dist/src/mapie/mapie.js.map +1 -0
  34. package/dist/{ngboost → src/ngboost}/ngboost.d.ts +192 -142
  35. package/dist/src/ngboost/ngboost.d.ts.map +1 -0
  36. package/dist/{ngboost → src/ngboost}/ngboost.js +67 -14
  37. package/dist/src/ngboost/ngboost.js.map +1 -0
  38. package/dist/src/optimization/optimization.d.ts +420 -0
  39. package/dist/src/optimization/optimization.d.ts.map +1 -0
  40. package/dist/src/optimization/optimization.js +257 -0
  41. package/dist/src/optimization/optimization.js.map +1 -0
  42. package/dist/{optuna → src/optuna}/optuna.d.ts +374 -314
  43. package/dist/src/optuna/optuna.d.ts.map +1 -0
  44. package/dist/{optuna → src/optuna}/optuna.js +2 -0
  45. package/dist/src/optuna/optuna.js.map +1 -0
  46. package/dist/src/pymc/pymc.d.ts +2932 -0
  47. package/dist/src/pymc/pymc.d.ts.map +1 -0
  48. package/dist/src/pymc/pymc.js +688 -0
  49. package/dist/src/pymc/pymc.js.map +1 -0
  50. package/dist/src/scipy/scipy.d.ts +2205 -0
  51. package/dist/src/scipy/scipy.d.ts.map +1 -0
  52. package/dist/src/scipy/scipy.js +884 -0
  53. package/dist/src/scipy/scipy.js.map +1 -0
  54. package/dist/src/shap/shap.d.ts +2988 -0
  55. package/dist/src/shap/shap.d.ts.map +1 -0
  56. package/dist/src/shap/shap.js +500 -0
  57. package/dist/src/shap/shap.js.map +1 -0
  58. package/dist/{simanneal → src/simanneal}/simanneal.d.ts +257 -160
  59. package/dist/src/simanneal/simanneal.d.ts.map +1 -0
  60. package/dist/{simanneal → src/simanneal}/simanneal.js +105 -8
  61. package/dist/src/simanneal/simanneal.js.map +1 -0
  62. package/dist/src/simulation/simulation.d.ts +431 -0
  63. package/dist/src/simulation/simulation.d.ts.map +1 -0
  64. package/dist/src/simulation/simulation.js +306 -0
  65. package/dist/src/simulation/simulation.js.map +1 -0
  66. package/dist/src/sklearn/sklearn.d.ts +6362 -0
  67. package/dist/src/sklearn/sklearn.d.ts.map +1 -0
  68. package/dist/src/sklearn/sklearn.js +1508 -0
  69. package/dist/src/sklearn/sklearn.js.map +1 -0
  70. package/dist/src/torch/torch.d.ts +1205 -0
  71. package/dist/src/torch/torch.d.ts.map +1 -0
  72. package/dist/{torch → src/torch}/torch.js +109 -18
  73. package/dist/src/torch/torch.js.map +1 -0
  74. package/dist/src/types.d.ts +43 -0
  75. package/dist/src/types.d.ts.map +1 -0
  76. package/dist/src/types.js +44 -0
  77. package/dist/src/types.js.map +1 -0
  78. package/dist/src/xgboost/xgboost.d.ts +1424 -0
  79. package/dist/src/xgboost/xgboost.d.ts.map +1 -0
  80. package/dist/src/xgboost/xgboost.js +432 -0
  81. package/dist/src/xgboost/xgboost.js.map +1 -0
  82. package/package.json +12 -12
  83. package/dist/gp/gp.d.ts.map +0 -1
  84. package/dist/gp/gp.js.map +0 -1
  85. package/dist/index.d.ts +0 -27
  86. package/dist/index.d.ts.map +0 -1
  87. package/dist/index.js +0 -41
  88. package/dist/index.js.map +0 -1
  89. package/dist/lightgbm/lightgbm.d.ts +0 -494
  90. package/dist/lightgbm/lightgbm.d.ts.map +0 -1
  91. package/dist/lightgbm/lightgbm.js.map +0 -1
  92. package/dist/mads/mads.d.ts.map +0 -1
  93. package/dist/mads/mads.js.map +0 -1
  94. package/dist/ngboost/ngboost.d.ts.map +0 -1
  95. package/dist/ngboost/ngboost.js.map +0 -1
  96. package/dist/optuna/optuna.d.ts.map +0 -1
  97. package/dist/optuna/optuna.js.map +0 -1
  98. package/dist/scipy/scipy.d.ts +0 -1260
  99. package/dist/scipy/scipy.d.ts.map +0 -1
  100. package/dist/scipy/scipy.js +0 -413
  101. package/dist/scipy/scipy.js.map +0 -1
  102. package/dist/shap/shap.d.ts +0 -657
  103. package/dist/shap/shap.d.ts.map +0 -1
  104. package/dist/shap/shap.js +0 -241
  105. package/dist/shap/shap.js.map +0 -1
  106. package/dist/simanneal/simanneal.d.ts.map +0 -1
  107. package/dist/simanneal/simanneal.js.map +0 -1
  108. package/dist/sklearn/sklearn.d.ts +0 -2691
  109. package/dist/sklearn/sklearn.d.ts.map +0 -1
  110. package/dist/sklearn/sklearn.js +0 -524
  111. package/dist/sklearn/sklearn.js.map +0 -1
  112. package/dist/torch/torch.d.ts +0 -1081
  113. package/dist/torch/torch.d.ts.map +0 -1
  114. package/dist/torch/torch.js.map +0 -1
  115. package/dist/tsconfig.tsbuildinfo +0 -1
  116. package/dist/types.d.ts +0 -80
  117. package/dist/types.d.ts.map +0 -1
  118. package/dist/types.js +0 -81
  119. package/dist/types.js.map +0 -1
  120. package/dist/xgboost/xgboost.d.ts +0 -504
  121. package/dist/xgboost/xgboost.d.ts.map +0 -1
  122. package/dist/xgboost/xgboost.js +0 -177
  123. package/dist/xgboost/xgboost.js.map +0 -1
@@ -18,23 +18,23 @@ import { StructType, VariantType, OptionType, ArrayType, IntegerType, FloatType,
18
18
  * Parameter value type (can be int, float, string, or bool).
19
19
  */
20
20
  export declare const ParamValueType: VariantType<{
21
- int: IntegerType;
22
- float: FloatType;
23
- string: StringType;
24
- bool: BooleanType;
21
+ readonly int: IntegerType;
22
+ readonly float: FloatType;
23
+ readonly string: StringType;
24
+ readonly bool: BooleanType;
25
25
  }>;
26
26
  /**
27
27
  * Parameter space kind for defining search spaces.
28
28
  */
29
29
  export declare const ParamSpaceKindType: VariantType<{
30
30
  /** Integer parameter with low/high bounds */
31
- int: NullType;
31
+ readonly int: NullType;
32
32
  /** Float parameter with low/high bounds */
33
- float: NullType;
33
+ readonly float: NullType;
34
34
  /** Categorical parameter with choices */
35
- categorical: NullType;
35
+ readonly categorical: NullType;
36
36
  /** Log-uniform float parameter (for learning rates, etc.) */
37
- log_uniform: NullType;
37
+ readonly log_uniform: NullType;
38
38
  }>;
39
39
  /**
40
40
  * Parameter search space definition.
@@ -43,28 +43,28 @@ export declare const ParamSpaceKindType: VariantType<{
43
43
  */
44
44
  export declare const ParamSpaceType: StructType<{
45
45
  /** Parameter name */
46
- name: StringType;
46
+ readonly name: StringType;
47
47
  /** Parameter kind (int, float, categorical, log_uniform) */
48
- kind: VariantType<{
48
+ readonly kind: VariantType<{
49
49
  /** Integer parameter with low/high bounds */
50
- int: NullType;
50
+ readonly int: NullType;
51
51
  /** Float parameter with low/high bounds */
52
- float: NullType;
52
+ readonly float: NullType;
53
53
  /** Categorical parameter with choices */
54
- categorical: NullType;
54
+ readonly categorical: NullType;
55
55
  /** Log-uniform float parameter (for learning rates, etc.) */
56
- log_uniform: NullType;
56
+ readonly log_uniform: NullType;
57
57
  }>;
58
58
  /** Lower bound (for int, float, log_uniform) */
59
- low: OptionType<FloatType>;
59
+ readonly low: OptionType<FloatType>;
60
60
  /** Upper bound (for int, float, log_uniform) */
61
- high: OptionType<FloatType>;
61
+ readonly high: OptionType<FloatType>;
62
62
  /** Choices (for categorical) */
63
- choices: OptionType<ArrayType<VariantType<{
64
- int: IntegerType;
65
- float: FloatType;
66
- string: StringType;
67
- bool: BooleanType;
63
+ readonly choices: OptionType<ArrayType<VariantType<{
64
+ readonly int: IntegerType;
65
+ readonly float: FloatType;
66
+ readonly string: StringType;
67
+ readonly bool: BooleanType;
68
68
  }>>>;
69
69
  }>;
70
70
  /**
@@ -74,113 +74,125 @@ export declare const ParamSpaceType: StructType<{
74
74
  */
75
75
  export declare const NamedParamType: StructType<{
76
76
  /** Parameter name */
77
- name: StringType;
77
+ readonly name: StringType;
78
78
  /** Parameter value */
79
- value: VariantType<{
80
- int: IntegerType;
81
- float: FloatType;
82
- string: StringType;
83
- bool: BooleanType;
79
+ readonly value: VariantType<{
80
+ readonly int: IntegerType;
81
+ readonly float: FloatType;
82
+ readonly string: StringType;
83
+ readonly bool: BooleanType;
84
84
  }>;
85
85
  }>;
86
86
  /**
87
87
  * Optimization direction (minimize or maximize).
88
88
  */
89
89
  export declare const OptimizationDirectionType: VariantType<{
90
- minimize: NullType;
91
- maximize: NullType;
90
+ readonly minimize: NullType;
91
+ readonly maximize: NullType;
92
92
  }>;
93
93
  /**
94
94
  * Pruner type for early stopping of unpromising trials.
95
95
  */
96
96
  export declare const PrunerType: VariantType<{
97
97
  /** No pruning */
98
- none: NullType;
98
+ readonly none: NullType;
99
99
  /** Median pruner - prune if below median of previous trials */
100
- median: NullType;
100
+ readonly median: NullType;
101
101
  /** Hyperband pruner - aggressive early stopping */
102
- hyperband: NullType;
102
+ readonly hyperband: NullType;
103
103
  }>;
104
104
  /**
105
105
  * Optuna study configuration.
106
106
  */
107
107
  export declare const OptunaStudyConfigType: StructType<{
108
108
  /** Optimization direction (default: minimize) */
109
- direction: OptionType<VariantType<{
110
- minimize: NullType;
111
- maximize: NullType;
109
+ readonly direction: OptionType<VariantType<{
110
+ readonly minimize: NullType;
111
+ readonly maximize: NullType;
112
112
  }>>;
113
113
  /** Number of trials to run */
114
- n_trials: IntegerType;
114
+ readonly n_trials: IntegerType;
115
115
  /** Random seed for reproducibility */
116
- random_state: OptionType<IntegerType>;
116
+ readonly random_state: OptionType<IntegerType>;
117
117
  /** Pruner for early stopping (default: none) */
118
- pruner: OptionType<VariantType<{
118
+ readonly pruner: OptionType<VariantType<{
119
119
  /** No pruning */
120
- none: NullType;
120
+ readonly none: NullType;
121
121
  /** Median pruner - prune if below median of previous trials */
122
- median: NullType;
122
+ readonly median: NullType;
123
123
  /** Hyperband pruner - aggressive early stopping */
124
- hyperband: NullType;
124
+ readonly hyperband: NullType;
125
125
  }>>;
126
+ /** Initial parameters to evaluate before sampling (warm-start) */
127
+ readonly initial_params: OptionType<ArrayType<StructType<{
128
+ /** Parameter name */
129
+ readonly name: StringType;
130
+ /** Parameter value */
131
+ readonly value: VariantType<{
132
+ readonly int: IntegerType;
133
+ readonly float: FloatType;
134
+ readonly string: StringType;
135
+ readonly bool: BooleanType;
136
+ }>;
137
+ }>>>;
126
138
  }>;
127
139
  /**
128
140
  * Single trial result.
129
141
  */
130
142
  export declare const TrialResultType: StructType<{
131
143
  /** Trial ID */
132
- trial_id: IntegerType;
144
+ readonly trial_id: IntegerType;
133
145
  /** Parameters used in this trial */
134
- params: ArrayType<StructType<{
146
+ readonly params: ArrayType<StructType<{
135
147
  /** Parameter name */
136
- name: StringType;
148
+ readonly name: StringType;
137
149
  /** Parameter value */
138
- value: VariantType<{
139
- int: IntegerType;
140
- float: FloatType;
141
- string: StringType;
142
- bool: BooleanType;
150
+ readonly value: VariantType<{
151
+ readonly int: IntegerType;
152
+ readonly float: FloatType;
153
+ readonly string: StringType;
154
+ readonly bool: BooleanType;
143
155
  }>;
144
156
  }>>;
145
157
  /** Objective score */
146
- score: FloatType;
158
+ readonly score: FloatType;
147
159
  }>;
148
160
  /**
149
161
  * Optimization study result.
150
162
  */
151
163
  export declare const StudyResultType: StructType<{
152
164
  /** Best parameters found */
153
- best_params: ArrayType<StructType<{
165
+ readonly best_params: ArrayType<StructType<{
154
166
  /** Parameter name */
155
- name: StringType;
167
+ readonly name: StringType;
156
168
  /** Parameter value */
157
- value: VariantType<{
158
- int: IntegerType;
159
- float: FloatType;
160
- string: StringType;
161
- bool: BooleanType;
169
+ readonly value: VariantType<{
170
+ readonly int: IntegerType;
171
+ readonly float: FloatType;
172
+ readonly string: StringType;
173
+ readonly bool: BooleanType;
162
174
  }>;
163
175
  }>>;
164
176
  /** Best objective score */
165
- best_score: FloatType;
177
+ readonly best_score: FloatType;
166
178
  /** All completed trials */
167
- trials: ArrayType<StructType<{
179
+ readonly trials: ArrayType<StructType<{
168
180
  /** Trial ID */
169
- trial_id: IntegerType;
181
+ readonly trial_id: IntegerType;
170
182
  /** Parameters used in this trial */
171
- params: ArrayType<StructType<{
183
+ readonly params: ArrayType<StructType<{
172
184
  /** Parameter name */
173
- name: StringType;
185
+ readonly name: StringType;
174
186
  /** Parameter value */
175
- value: VariantType<{
176
- int: IntegerType;
177
- float: FloatType;
178
- string: StringType;
179
- bool: BooleanType;
187
+ readonly value: VariantType<{
188
+ readonly int: IntegerType;
189
+ readonly float: FloatType;
190
+ readonly string: StringType;
191
+ readonly bool: BooleanType;
180
192
  }>;
181
193
  }>>;
182
194
  /** Objective score */
183
- score: FloatType;
195
+ readonly score: FloatType;
184
196
  }>>;
185
197
  }>;
186
198
  /**
@@ -191,13 +203,13 @@ export declare const StudyResultType: StructType<{
191
203
  */
192
204
  export declare const ObjectiveFunctionType: FunctionType<[ArrayType<StructType<{
193
205
  /** Parameter name */
194
- name: StringType;
206
+ readonly name: StringType;
195
207
  /** Parameter value */
196
- value: VariantType<{
197
- int: IntegerType;
198
- float: FloatType;
199
- string: StringType;
200
- bool: BooleanType;
208
+ readonly value: VariantType<{
209
+ readonly int: IntegerType;
210
+ readonly float: FloatType;
211
+ readonly string: StringType;
212
+ readonly bool: BooleanType;
201
213
  }>;
202
214
  }>>], FloatType>;
203
215
  /**
@@ -254,91 +266,103 @@ export declare const ObjectiveFunctionType: FunctionType<[ArrayType<StructType<{
254
266
  */
255
267
  export declare const optuna_optimize: import("@elaraai/east").PlatformDefinition<[ArrayType<StructType<{
256
268
  /** Parameter name */
257
- name: StringType;
269
+ readonly name: StringType;
258
270
  /** Parameter kind (int, float, categorical, log_uniform) */
259
- kind: VariantType<{
271
+ readonly kind: VariantType<{
260
272
  /** Integer parameter with low/high bounds */
261
- int: NullType;
273
+ readonly int: NullType;
262
274
  /** Float parameter with low/high bounds */
263
- float: NullType;
275
+ readonly float: NullType;
264
276
  /** Categorical parameter with choices */
265
- categorical: NullType;
277
+ readonly categorical: NullType;
266
278
  /** Log-uniform float parameter (for learning rates, etc.) */
267
- log_uniform: NullType;
279
+ readonly log_uniform: NullType;
268
280
  }>;
269
281
  /** Lower bound (for int, float, log_uniform) */
270
- low: OptionType<FloatType>;
282
+ readonly low: OptionType<FloatType>;
271
283
  /** Upper bound (for int, float, log_uniform) */
272
- high: OptionType<FloatType>;
284
+ readonly high: OptionType<FloatType>;
273
285
  /** Choices (for categorical) */
274
- choices: OptionType<ArrayType<VariantType<{
275
- int: IntegerType;
276
- float: FloatType;
277
- string: StringType;
278
- bool: BooleanType;
286
+ readonly choices: OptionType<ArrayType<VariantType<{
287
+ readonly int: IntegerType;
288
+ readonly float: FloatType;
289
+ readonly string: StringType;
290
+ readonly bool: BooleanType;
279
291
  }>>>;
280
292
  }>>, FunctionType<[ArrayType<StructType<{
281
293
  /** Parameter name */
282
- name: StringType;
294
+ readonly name: StringType;
283
295
  /** Parameter value */
284
- value: VariantType<{
285
- int: IntegerType;
286
- float: FloatType;
287
- string: StringType;
288
- bool: BooleanType;
296
+ readonly value: VariantType<{
297
+ readonly int: IntegerType;
298
+ readonly float: FloatType;
299
+ readonly string: StringType;
300
+ readonly bool: BooleanType;
289
301
  }>;
290
302
  }>>], FloatType>, StructType<{
291
303
  /** Optimization direction (default: minimize) */
292
- direction: OptionType<VariantType<{
293
- minimize: NullType;
294
- maximize: NullType;
304
+ readonly direction: OptionType<VariantType<{
305
+ readonly minimize: NullType;
306
+ readonly maximize: NullType;
295
307
  }>>;
296
308
  /** Number of trials to run */
297
- n_trials: IntegerType;
309
+ readonly n_trials: IntegerType;
298
310
  /** Random seed for reproducibility */
299
- random_state: OptionType<IntegerType>;
311
+ readonly random_state: OptionType<IntegerType>;
300
312
  /** Pruner for early stopping (default: none) */
301
- pruner: OptionType<VariantType<{
313
+ readonly pruner: OptionType<VariantType<{
302
314
  /** No pruning */
303
- none: NullType;
315
+ readonly none: NullType;
304
316
  /** Median pruner - prune if below median of previous trials */
305
- median: NullType;
317
+ readonly median: NullType;
306
318
  /** Hyperband pruner - aggressive early stopping */
307
- hyperband: NullType;
319
+ readonly hyperband: NullType;
308
320
  }>>;
321
+ /** Initial parameters to evaluate before sampling (warm-start) */
322
+ readonly initial_params: OptionType<ArrayType<StructType<{
323
+ /** Parameter name */
324
+ readonly name: StringType;
325
+ /** Parameter value */
326
+ readonly value: VariantType<{
327
+ readonly int: IntegerType;
328
+ readonly float: FloatType;
329
+ readonly string: StringType;
330
+ readonly bool: BooleanType;
331
+ }>;
332
+ }>>>;
309
333
  }>], StructType<{
310
334
  /** Best parameters found */
311
- best_params: ArrayType<StructType<{
335
+ readonly best_params: ArrayType<StructType<{
312
336
  /** Parameter name */
313
- name: StringType;
337
+ readonly name: StringType;
314
338
  /** Parameter value */
315
- value: VariantType<{
316
- int: IntegerType;
317
- float: FloatType;
318
- string: StringType;
319
- bool: BooleanType;
339
+ readonly value: VariantType<{
340
+ readonly int: IntegerType;
341
+ readonly float: FloatType;
342
+ readonly string: StringType;
343
+ readonly bool: BooleanType;
320
344
  }>;
321
345
  }>>;
322
346
  /** Best objective score */
323
- best_score: FloatType;
347
+ readonly best_score: FloatType;
324
348
  /** All completed trials */
325
- trials: ArrayType<StructType<{
349
+ readonly trials: ArrayType<StructType<{
326
350
  /** Trial ID */
327
- trial_id: IntegerType;
351
+ readonly trial_id: IntegerType;
328
352
  /** Parameters used in this trial */
329
- params: ArrayType<StructType<{
353
+ readonly params: ArrayType<StructType<{
330
354
  /** Parameter name */
331
- name: StringType;
355
+ readonly name: StringType;
332
356
  /** Parameter value */
333
- value: VariantType<{
334
- int: IntegerType;
335
- float: FloatType;
336
- string: StringType;
337
- bool: BooleanType;
357
+ readonly value: VariantType<{
358
+ readonly int: IntegerType;
359
+ readonly float: FloatType;
360
+ readonly string: StringType;
361
+ readonly bool: BooleanType;
338
362
  }>;
339
363
  }>>;
340
364
  /** Objective score */
341
- score: FloatType;
365
+ readonly score: FloatType;
342
366
  }>>;
343
367
  }>>;
344
368
  /**
@@ -347,161 +371,173 @@ export declare const optuna_optimize: import("@elaraai/east").PlatformDefinition
347
371
  export declare const OptunaTypes: {
348
372
  /** Parameter value variant type */
349
373
  readonly ParamValueType: VariantType<{
350
- int: IntegerType;
351
- float: FloatType;
352
- string: StringType;
353
- bool: BooleanType;
374
+ readonly int: IntegerType;
375
+ readonly float: FloatType;
376
+ readonly string: StringType;
377
+ readonly bool: BooleanType;
354
378
  }>;
355
379
  /** Parameter space kind type */
356
380
  readonly ParamSpaceKindType: VariantType<{
357
381
  /** Integer parameter with low/high bounds */
358
- int: NullType;
382
+ readonly int: NullType;
359
383
  /** Float parameter with low/high bounds */
360
- float: NullType;
384
+ readonly float: NullType;
361
385
  /** Categorical parameter with choices */
362
- categorical: NullType;
386
+ readonly categorical: NullType;
363
387
  /** Log-uniform float parameter (for learning rates, etc.) */
364
- log_uniform: NullType;
388
+ readonly log_uniform: NullType;
365
389
  }>;
366
390
  /** Parameter space definition type */
367
391
  readonly ParamSpaceType: StructType<{
368
392
  /** Parameter name */
369
- name: StringType;
393
+ readonly name: StringType;
370
394
  /** Parameter kind (int, float, categorical, log_uniform) */
371
- kind: VariantType<{
395
+ readonly kind: VariantType<{
372
396
  /** Integer parameter with low/high bounds */
373
- int: NullType;
397
+ readonly int: NullType;
374
398
  /** Float parameter with low/high bounds */
375
- float: NullType;
399
+ readonly float: NullType;
376
400
  /** Categorical parameter with choices */
377
- categorical: NullType;
401
+ readonly categorical: NullType;
378
402
  /** Log-uniform float parameter (for learning rates, etc.) */
379
- log_uniform: NullType;
403
+ readonly log_uniform: NullType;
380
404
  }>;
381
405
  /** Lower bound (for int, float, log_uniform) */
382
- low: OptionType<FloatType>;
406
+ readonly low: OptionType<FloatType>;
383
407
  /** Upper bound (for int, float, log_uniform) */
384
- high: OptionType<FloatType>;
408
+ readonly high: OptionType<FloatType>;
385
409
  /** Choices (for categorical) */
386
- choices: OptionType<ArrayType<VariantType<{
387
- int: IntegerType;
388
- float: FloatType;
389
- string: StringType;
390
- bool: BooleanType;
410
+ readonly choices: OptionType<ArrayType<VariantType<{
411
+ readonly int: IntegerType;
412
+ readonly float: FloatType;
413
+ readonly string: StringType;
414
+ readonly bool: BooleanType;
391
415
  }>>>;
392
416
  }>;
393
417
  /** Named parameter type */
394
418
  readonly NamedParamType: StructType<{
395
419
  /** Parameter name */
396
- name: StringType;
420
+ readonly name: StringType;
397
421
  /** Parameter value */
398
- value: VariantType<{
399
- int: IntegerType;
400
- float: FloatType;
401
- string: StringType;
402
- bool: BooleanType;
422
+ readonly value: VariantType<{
423
+ readonly int: IntegerType;
424
+ readonly float: FloatType;
425
+ readonly string: StringType;
426
+ readonly bool: BooleanType;
403
427
  }>;
404
428
  }>;
405
429
  /** Optimization direction type */
406
430
  readonly OptimizationDirectionType: VariantType<{
407
- minimize: NullType;
408
- maximize: NullType;
431
+ readonly minimize: NullType;
432
+ readonly maximize: NullType;
409
433
  }>;
410
434
  /** Pruner type */
411
435
  readonly PrunerType: VariantType<{
412
436
  /** No pruning */
413
- none: NullType;
437
+ readonly none: NullType;
414
438
  /** Median pruner - prune if below median of previous trials */
415
- median: NullType;
439
+ readonly median: NullType;
416
440
  /** Hyperband pruner - aggressive early stopping */
417
- hyperband: NullType;
441
+ readonly hyperband: NullType;
418
442
  }>;
419
443
  /** Study config type */
420
444
  readonly StudyConfigType: StructType<{
421
445
  /** Optimization direction (default: minimize) */
422
- direction: OptionType<VariantType<{
423
- minimize: NullType;
424
- maximize: NullType;
446
+ readonly direction: OptionType<VariantType<{
447
+ readonly minimize: NullType;
448
+ readonly maximize: NullType;
425
449
  }>>;
426
450
  /** Number of trials to run */
427
- n_trials: IntegerType;
451
+ readonly n_trials: IntegerType;
428
452
  /** Random seed for reproducibility */
429
- random_state: OptionType<IntegerType>;
453
+ readonly random_state: OptionType<IntegerType>;
430
454
  /** Pruner for early stopping (default: none) */
431
- pruner: OptionType<VariantType<{
455
+ readonly pruner: OptionType<VariantType<{
432
456
  /** No pruning */
433
- none: NullType;
457
+ readonly none: NullType;
434
458
  /** Median pruner - prune if below median of previous trials */
435
- median: NullType;
459
+ readonly median: NullType;
436
460
  /** Hyperband pruner - aggressive early stopping */
437
- hyperband: NullType;
461
+ readonly hyperband: NullType;
438
462
  }>>;
463
+ /** Initial parameters to evaluate before sampling (warm-start) */
464
+ readonly initial_params: OptionType<ArrayType<StructType<{
465
+ /** Parameter name */
466
+ readonly name: StringType;
467
+ /** Parameter value */
468
+ readonly value: VariantType<{
469
+ readonly int: IntegerType;
470
+ readonly float: FloatType;
471
+ readonly string: StringType;
472
+ readonly bool: BooleanType;
473
+ }>;
474
+ }>>>;
439
475
  }>;
440
476
  /** Trial result type */
441
477
  readonly TrialResultType: StructType<{
442
478
  /** Trial ID */
443
- trial_id: IntegerType;
479
+ readonly trial_id: IntegerType;
444
480
  /** Parameters used in this trial */
445
- params: ArrayType<StructType<{
481
+ readonly params: ArrayType<StructType<{
446
482
  /** Parameter name */
447
- name: StringType;
483
+ readonly name: StringType;
448
484
  /** Parameter value */
449
- value: VariantType<{
450
- int: IntegerType;
451
- float: FloatType;
452
- string: StringType;
453
- bool: BooleanType;
485
+ readonly value: VariantType<{
486
+ readonly int: IntegerType;
487
+ readonly float: FloatType;
488
+ readonly string: StringType;
489
+ readonly bool: BooleanType;
454
490
  }>;
455
491
  }>>;
456
492
  /** Objective score */
457
- score: FloatType;
493
+ readonly score: FloatType;
458
494
  }>;
459
495
  /** Study result type */
460
496
  readonly StudyResultType: StructType<{
461
497
  /** Best parameters found */
462
- best_params: ArrayType<StructType<{
498
+ readonly best_params: ArrayType<StructType<{
463
499
  /** Parameter name */
464
- name: StringType;
500
+ readonly name: StringType;
465
501
  /** Parameter value */
466
- value: VariantType<{
467
- int: IntegerType;
468
- float: FloatType;
469
- string: StringType;
470
- bool: BooleanType;
502
+ readonly value: VariantType<{
503
+ readonly int: IntegerType;
504
+ readonly float: FloatType;
505
+ readonly string: StringType;
506
+ readonly bool: BooleanType;
471
507
  }>;
472
508
  }>>;
473
509
  /** Best objective score */
474
- best_score: FloatType;
510
+ readonly best_score: FloatType;
475
511
  /** All completed trials */
476
- trials: ArrayType<StructType<{
512
+ readonly trials: ArrayType<StructType<{
477
513
  /** Trial ID */
478
- trial_id: IntegerType;
514
+ readonly trial_id: IntegerType;
479
515
  /** Parameters used in this trial */
480
- params: ArrayType<StructType<{
516
+ readonly params: ArrayType<StructType<{
481
517
  /** Parameter name */
482
- name: StringType;
518
+ readonly name: StringType;
483
519
  /** Parameter value */
484
- value: VariantType<{
485
- int: IntegerType;
486
- float: FloatType;
487
- string: StringType;
488
- bool: BooleanType;
520
+ readonly value: VariantType<{
521
+ readonly int: IntegerType;
522
+ readonly float: FloatType;
523
+ readonly string: StringType;
524
+ readonly bool: BooleanType;
489
525
  }>;
490
526
  }>>;
491
527
  /** Objective score */
492
- score: FloatType;
528
+ readonly score: FloatType;
493
529
  }>>;
494
530
  }>;
495
531
  /** Objective function type */
496
532
  readonly ObjectiveFunctionType: FunctionType<[ArrayType<StructType<{
497
533
  /** Parameter name */
498
- name: StringType;
534
+ readonly name: StringType;
499
535
  /** Parameter value */
500
- value: VariantType<{
501
- int: IntegerType;
502
- float: FloatType;
503
- string: StringType;
504
- bool: BooleanType;
536
+ readonly value: VariantType<{
537
+ readonly int: IntegerType;
538
+ readonly float: FloatType;
539
+ readonly string: StringType;
540
+ readonly bool: BooleanType;
505
541
  }>;
506
542
  }>>], FloatType>;
507
543
  };
@@ -542,91 +578,103 @@ export declare const Optuna: {
542
578
  */
543
579
  readonly optimize: import("@elaraai/east").PlatformDefinition<[ArrayType<StructType<{
544
580
  /** Parameter name */
545
- name: StringType;
581
+ readonly name: StringType;
546
582
  /** Parameter kind (int, float, categorical, log_uniform) */
547
- kind: VariantType<{
583
+ readonly kind: VariantType<{
548
584
  /** Integer parameter with low/high bounds */
549
- int: NullType;
585
+ readonly int: NullType;
550
586
  /** Float parameter with low/high bounds */
551
- float: NullType;
587
+ readonly float: NullType;
552
588
  /** Categorical parameter with choices */
553
- categorical: NullType;
589
+ readonly categorical: NullType;
554
590
  /** Log-uniform float parameter (for learning rates, etc.) */
555
- log_uniform: NullType;
591
+ readonly log_uniform: NullType;
556
592
  }>;
557
593
  /** Lower bound (for int, float, log_uniform) */
558
- low: OptionType<FloatType>;
594
+ readonly low: OptionType<FloatType>;
559
595
  /** Upper bound (for int, float, log_uniform) */
560
- high: OptionType<FloatType>;
596
+ readonly high: OptionType<FloatType>;
561
597
  /** Choices (for categorical) */
562
- choices: OptionType<ArrayType<VariantType<{
563
- int: IntegerType;
564
- float: FloatType;
565
- string: StringType;
566
- bool: BooleanType;
598
+ readonly choices: OptionType<ArrayType<VariantType<{
599
+ readonly int: IntegerType;
600
+ readonly float: FloatType;
601
+ readonly string: StringType;
602
+ readonly bool: BooleanType;
567
603
  }>>>;
568
604
  }>>, FunctionType<[ArrayType<StructType<{
569
605
  /** Parameter name */
570
- name: StringType;
606
+ readonly name: StringType;
571
607
  /** Parameter value */
572
- value: VariantType<{
573
- int: IntegerType;
574
- float: FloatType;
575
- string: StringType;
576
- bool: BooleanType;
608
+ readonly value: VariantType<{
609
+ readonly int: IntegerType;
610
+ readonly float: FloatType;
611
+ readonly string: StringType;
612
+ readonly bool: BooleanType;
577
613
  }>;
578
614
  }>>], FloatType>, StructType<{
579
615
  /** Optimization direction (default: minimize) */
580
- direction: OptionType<VariantType<{
581
- minimize: NullType;
582
- maximize: NullType;
616
+ readonly direction: OptionType<VariantType<{
617
+ readonly minimize: NullType;
618
+ readonly maximize: NullType;
583
619
  }>>;
584
620
  /** Number of trials to run */
585
- n_trials: IntegerType;
621
+ readonly n_trials: IntegerType;
586
622
  /** Random seed for reproducibility */
587
- random_state: OptionType<IntegerType>;
623
+ readonly random_state: OptionType<IntegerType>;
588
624
  /** Pruner for early stopping (default: none) */
589
- pruner: OptionType<VariantType<{
625
+ readonly pruner: OptionType<VariantType<{
590
626
  /** No pruning */
591
- none: NullType;
627
+ readonly none: NullType;
592
628
  /** Median pruner - prune if below median of previous trials */
593
- median: NullType;
629
+ readonly median: NullType;
594
630
  /** Hyperband pruner - aggressive early stopping */
595
- hyperband: NullType;
631
+ readonly hyperband: NullType;
596
632
  }>>;
633
+ /** Initial parameters to evaluate before sampling (warm-start) */
634
+ readonly initial_params: OptionType<ArrayType<StructType<{
635
+ /** Parameter name */
636
+ readonly name: StringType;
637
+ /** Parameter value */
638
+ readonly value: VariantType<{
639
+ readonly int: IntegerType;
640
+ readonly float: FloatType;
641
+ readonly string: StringType;
642
+ readonly bool: BooleanType;
643
+ }>;
644
+ }>>>;
597
645
  }>], StructType<{
598
646
  /** Best parameters found */
599
- best_params: ArrayType<StructType<{
647
+ readonly best_params: ArrayType<StructType<{
600
648
  /** Parameter name */
601
- name: StringType;
649
+ readonly name: StringType;
602
650
  /** Parameter value */
603
- value: VariantType<{
604
- int: IntegerType;
605
- float: FloatType;
606
- string: StringType;
607
- bool: BooleanType;
651
+ readonly value: VariantType<{
652
+ readonly int: IntegerType;
653
+ readonly float: FloatType;
654
+ readonly string: StringType;
655
+ readonly bool: BooleanType;
608
656
  }>;
609
657
  }>>;
610
658
  /** Best objective score */
611
- best_score: FloatType;
659
+ readonly best_score: FloatType;
612
660
  /** All completed trials */
613
- trials: ArrayType<StructType<{
661
+ readonly trials: ArrayType<StructType<{
614
662
  /** Trial ID */
615
- trial_id: IntegerType;
663
+ readonly trial_id: IntegerType;
616
664
  /** Parameters used in this trial */
617
- params: ArrayType<StructType<{
665
+ readonly params: ArrayType<StructType<{
618
666
  /** Parameter name */
619
- name: StringType;
667
+ readonly name: StringType;
620
668
  /** Parameter value */
621
- value: VariantType<{
622
- int: IntegerType;
623
- float: FloatType;
624
- string: StringType;
625
- bool: BooleanType;
669
+ readonly value: VariantType<{
670
+ readonly int: IntegerType;
671
+ readonly float: FloatType;
672
+ readonly string: StringType;
673
+ readonly bool: BooleanType;
626
674
  }>;
627
675
  }>>;
628
676
  /** Objective score */
629
- score: FloatType;
677
+ readonly score: FloatType;
630
678
  }>>;
631
679
  }>>;
632
680
  /**
@@ -635,161 +683,173 @@ export declare const Optuna: {
635
683
  readonly Types: {
636
684
  /** Parameter value variant type */
637
685
  readonly ParamValueType: VariantType<{
638
- int: IntegerType;
639
- float: FloatType;
640
- string: StringType;
641
- bool: BooleanType;
686
+ readonly int: IntegerType;
687
+ readonly float: FloatType;
688
+ readonly string: StringType;
689
+ readonly bool: BooleanType;
642
690
  }>;
643
691
  /** Parameter space kind type */
644
692
  readonly ParamSpaceKindType: VariantType<{
645
693
  /** Integer parameter with low/high bounds */
646
- int: NullType;
694
+ readonly int: NullType;
647
695
  /** Float parameter with low/high bounds */
648
- float: NullType;
696
+ readonly float: NullType;
649
697
  /** Categorical parameter with choices */
650
- categorical: NullType;
698
+ readonly categorical: NullType;
651
699
  /** Log-uniform float parameter (for learning rates, etc.) */
652
- log_uniform: NullType;
700
+ readonly log_uniform: NullType;
653
701
  }>;
654
702
  /** Parameter space definition type */
655
703
  readonly ParamSpaceType: StructType<{
656
704
  /** Parameter name */
657
- name: StringType;
705
+ readonly name: StringType;
658
706
  /** Parameter kind (int, float, categorical, log_uniform) */
659
- kind: VariantType<{
707
+ readonly kind: VariantType<{
660
708
  /** Integer parameter with low/high bounds */
661
- int: NullType;
709
+ readonly int: NullType;
662
710
  /** Float parameter with low/high bounds */
663
- float: NullType;
711
+ readonly float: NullType;
664
712
  /** Categorical parameter with choices */
665
- categorical: NullType;
713
+ readonly categorical: NullType;
666
714
  /** Log-uniform float parameter (for learning rates, etc.) */
667
- log_uniform: NullType;
715
+ readonly log_uniform: NullType;
668
716
  }>;
669
717
  /** Lower bound (for int, float, log_uniform) */
670
- low: OptionType<FloatType>;
718
+ readonly low: OptionType<FloatType>;
671
719
  /** Upper bound (for int, float, log_uniform) */
672
- high: OptionType<FloatType>;
720
+ readonly high: OptionType<FloatType>;
673
721
  /** Choices (for categorical) */
674
- choices: OptionType<ArrayType<VariantType<{
675
- int: IntegerType;
676
- float: FloatType;
677
- string: StringType;
678
- bool: BooleanType;
722
+ readonly choices: OptionType<ArrayType<VariantType<{
723
+ readonly int: IntegerType;
724
+ readonly float: FloatType;
725
+ readonly string: StringType;
726
+ readonly bool: BooleanType;
679
727
  }>>>;
680
728
  }>;
681
729
  /** Named parameter type */
682
730
  readonly NamedParamType: StructType<{
683
731
  /** Parameter name */
684
- name: StringType;
732
+ readonly name: StringType;
685
733
  /** Parameter value */
686
- value: VariantType<{
687
- int: IntegerType;
688
- float: FloatType;
689
- string: StringType;
690
- bool: BooleanType;
734
+ readonly value: VariantType<{
735
+ readonly int: IntegerType;
736
+ readonly float: FloatType;
737
+ readonly string: StringType;
738
+ readonly bool: BooleanType;
691
739
  }>;
692
740
  }>;
693
741
  /** Optimization direction type */
694
742
  readonly OptimizationDirectionType: VariantType<{
695
- minimize: NullType;
696
- maximize: NullType;
743
+ readonly minimize: NullType;
744
+ readonly maximize: NullType;
697
745
  }>;
698
746
  /** Pruner type */
699
747
  readonly PrunerType: VariantType<{
700
748
  /** No pruning */
701
- none: NullType;
749
+ readonly none: NullType;
702
750
  /** Median pruner - prune if below median of previous trials */
703
- median: NullType;
751
+ readonly median: NullType;
704
752
  /** Hyperband pruner - aggressive early stopping */
705
- hyperband: NullType;
753
+ readonly hyperband: NullType;
706
754
  }>;
707
755
  /** Study config type */
708
756
  readonly StudyConfigType: StructType<{
709
757
  /** Optimization direction (default: minimize) */
710
- direction: OptionType<VariantType<{
711
- minimize: NullType;
712
- maximize: NullType;
758
+ readonly direction: OptionType<VariantType<{
759
+ readonly minimize: NullType;
760
+ readonly maximize: NullType;
713
761
  }>>;
714
762
  /** Number of trials to run */
715
- n_trials: IntegerType;
763
+ readonly n_trials: IntegerType;
716
764
  /** Random seed for reproducibility */
717
- random_state: OptionType<IntegerType>;
765
+ readonly random_state: OptionType<IntegerType>;
718
766
  /** Pruner for early stopping (default: none) */
719
- pruner: OptionType<VariantType<{
767
+ readonly pruner: OptionType<VariantType<{
720
768
  /** No pruning */
721
- none: NullType;
769
+ readonly none: NullType;
722
770
  /** Median pruner - prune if below median of previous trials */
723
- median: NullType;
771
+ readonly median: NullType;
724
772
  /** Hyperband pruner - aggressive early stopping */
725
- hyperband: NullType;
773
+ readonly hyperband: NullType;
726
774
  }>>;
775
+ /** Initial parameters to evaluate before sampling (warm-start) */
776
+ readonly initial_params: OptionType<ArrayType<StructType<{
777
+ /** Parameter name */
778
+ readonly name: StringType;
779
+ /** Parameter value */
780
+ readonly value: VariantType<{
781
+ readonly int: IntegerType;
782
+ readonly float: FloatType;
783
+ readonly string: StringType;
784
+ readonly bool: BooleanType;
785
+ }>;
786
+ }>>>;
727
787
  }>;
728
788
  /** Trial result type */
729
789
  readonly TrialResultType: StructType<{
730
790
  /** Trial ID */
731
- trial_id: IntegerType;
791
+ readonly trial_id: IntegerType;
732
792
  /** Parameters used in this trial */
733
- params: ArrayType<StructType<{
793
+ readonly params: ArrayType<StructType<{
734
794
  /** Parameter name */
735
- name: StringType;
795
+ readonly name: StringType;
736
796
  /** Parameter value */
737
- value: VariantType<{
738
- int: IntegerType;
739
- float: FloatType;
740
- string: StringType;
741
- bool: BooleanType;
797
+ readonly value: VariantType<{
798
+ readonly int: IntegerType;
799
+ readonly float: FloatType;
800
+ readonly string: StringType;
801
+ readonly bool: BooleanType;
742
802
  }>;
743
803
  }>>;
744
804
  /** Objective score */
745
- score: FloatType;
805
+ readonly score: FloatType;
746
806
  }>;
747
807
  /** Study result type */
748
808
  readonly StudyResultType: StructType<{
749
809
  /** Best parameters found */
750
- best_params: ArrayType<StructType<{
810
+ readonly best_params: ArrayType<StructType<{
751
811
  /** Parameter name */
752
- name: StringType;
812
+ readonly name: StringType;
753
813
  /** Parameter value */
754
- value: VariantType<{
755
- int: IntegerType;
756
- float: FloatType;
757
- string: StringType;
758
- bool: BooleanType;
814
+ readonly value: VariantType<{
815
+ readonly int: IntegerType;
816
+ readonly float: FloatType;
817
+ readonly string: StringType;
818
+ readonly bool: BooleanType;
759
819
  }>;
760
820
  }>>;
761
821
  /** Best objective score */
762
- best_score: FloatType;
822
+ readonly best_score: FloatType;
763
823
  /** All completed trials */
764
- trials: ArrayType<StructType<{
824
+ readonly trials: ArrayType<StructType<{
765
825
  /** Trial ID */
766
- trial_id: IntegerType;
826
+ readonly trial_id: IntegerType;
767
827
  /** Parameters used in this trial */
768
- params: ArrayType<StructType<{
828
+ readonly params: ArrayType<StructType<{
769
829
  /** Parameter name */
770
- name: StringType;
830
+ readonly name: StringType;
771
831
  /** Parameter value */
772
- value: VariantType<{
773
- int: IntegerType;
774
- float: FloatType;
775
- string: StringType;
776
- bool: BooleanType;
832
+ readonly value: VariantType<{
833
+ readonly int: IntegerType;
834
+ readonly float: FloatType;
835
+ readonly string: StringType;
836
+ readonly bool: BooleanType;
777
837
  }>;
778
838
  }>>;
779
839
  /** Objective score */
780
- score: FloatType;
840
+ readonly score: FloatType;
781
841
  }>>;
782
842
  }>;
783
843
  /** Objective function type */
784
844
  readonly ObjectiveFunctionType: FunctionType<[ArrayType<StructType<{
785
845
  /** Parameter name */
786
- name: StringType;
846
+ readonly name: StringType;
787
847
  /** Parameter value */
788
- value: VariantType<{
789
- int: IntegerType;
790
- float: FloatType;
791
- string: StringType;
792
- bool: BooleanType;
848
+ readonly value: VariantType<{
849
+ readonly int: IntegerType;
850
+ readonly float: FloatType;
851
+ readonly string: StringType;
852
+ readonly bool: BooleanType;
793
853
  }>;
794
854
  }>>], FloatType>;
795
855
  };