@elaraai/east-py-datascience 0.0.2-beta.6 → 0.0.2-beta.61
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.
- package/dist/alns/alns.d.ts +528 -0
- package/dist/alns/alns.d.ts.map +1 -0
- package/dist/alns/alns.js +238 -0
- package/dist/alns/alns.js.map +1 -0
- package/dist/gp/gp.d.ts +120 -120
- package/dist/gp/gp.d.ts.map +1 -1
- package/dist/gp/gp.js +7 -7
- package/dist/gp/gp.js.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/lightgbm/lightgbm.d.ts +168 -168
- package/dist/lightning/lightning.d.ts +1501 -0
- package/dist/lightning/lightning.d.ts.map +1 -0
- package/dist/lightning/lightning.js +376 -0
- package/dist/lightning/lightning.js.map +1 -0
- package/dist/mads/mads.d.ts +103 -103
- package/dist/mads/mads.d.ts.map +1 -1
- package/dist/mads/mads.js +5 -5
- package/dist/mads/mads.js.map +1 -1
- package/dist/mapie/mapie.d.ts +2058 -0
- package/dist/mapie/mapie.d.ts.map +1 -0
- package/dist/mapie/mapie.js +411 -0
- package/dist/mapie/mapie.js.map +1 -0
- package/dist/ngboost/ngboost.d.ts +126 -126
- package/dist/ngboost/ngboost.d.ts.map +1 -1
- package/dist/ngboost/ngboost.js +3 -3
- package/dist/ngboost/ngboost.js.map +1 -1
- package/dist/optuna/optuna.d.ts +314 -314
- package/dist/scipy/scipy.d.ts +535 -429
- package/dist/scipy/scipy.d.ts.map +1 -1
- package/dist/scipy/scipy.js +56 -3
- package/dist/scipy/scipy.js.map +1 -1
- package/dist/shap/shap.d.ts +1152 -358
- package/dist/shap/shap.d.ts.map +1 -1
- package/dist/shap/shap.js +189 -16
- package/dist/shap/shap.js.map +1 -1
- package/dist/simanneal/simanneal.d.ts +148 -148
- package/dist/sklearn/sklearn.d.ts +3104 -1316
- package/dist/sklearn/sklearn.d.ts.map +1 -1
- package/dist/sklearn/sklearn.js +325 -64
- package/dist/sklearn/sklearn.js.map +1 -1
- package/dist/torch/torch.d.ts +503 -350
- package/dist/torch/torch.d.ts.map +1 -1
- package/dist/torch/torch.js +39 -17
- package/dist/torch/torch.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/xgboost/xgboost.d.ts +803 -178
- package/dist/xgboost/xgboost.d.ts.map +1 -1
- package/dist/xgboost/xgboost.js +102 -1
- package/dist/xgboost/xgboost.js.map +1 -1
- package/package.json +4 -4
package/dist/optuna/optuna.d.ts
CHANGED
|
@@ -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,54 +74,54 @@ 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
126
|
}>;
|
|
127
127
|
/**
|
|
@@ -129,58 +129,58 @@ export declare const OptunaStudyConfigType: StructType<{
|
|
|
129
129
|
*/
|
|
130
130
|
export declare const TrialResultType: StructType<{
|
|
131
131
|
/** Trial ID */
|
|
132
|
-
trial_id: IntegerType;
|
|
132
|
+
readonly trial_id: IntegerType;
|
|
133
133
|
/** Parameters used in this trial */
|
|
134
|
-
params: ArrayType<StructType<{
|
|
134
|
+
readonly params: ArrayType<StructType<{
|
|
135
135
|
/** Parameter name */
|
|
136
|
-
name: StringType;
|
|
136
|
+
readonly name: StringType;
|
|
137
137
|
/** Parameter value */
|
|
138
|
-
value: VariantType<{
|
|
139
|
-
int: IntegerType;
|
|
140
|
-
float: FloatType;
|
|
141
|
-
string: StringType;
|
|
142
|
-
bool: BooleanType;
|
|
138
|
+
readonly value: VariantType<{
|
|
139
|
+
readonly int: IntegerType;
|
|
140
|
+
readonly float: FloatType;
|
|
141
|
+
readonly string: StringType;
|
|
142
|
+
readonly bool: BooleanType;
|
|
143
143
|
}>;
|
|
144
144
|
}>>;
|
|
145
145
|
/** Objective score */
|
|
146
|
-
score: FloatType;
|
|
146
|
+
readonly score: FloatType;
|
|
147
147
|
}>;
|
|
148
148
|
/**
|
|
149
149
|
* Optimization study result.
|
|
150
150
|
*/
|
|
151
151
|
export declare const StudyResultType: StructType<{
|
|
152
152
|
/** Best parameters found */
|
|
153
|
-
best_params: ArrayType<StructType<{
|
|
153
|
+
readonly best_params: ArrayType<StructType<{
|
|
154
154
|
/** Parameter name */
|
|
155
|
-
name: StringType;
|
|
155
|
+
readonly name: StringType;
|
|
156
156
|
/** Parameter value */
|
|
157
|
-
value: VariantType<{
|
|
158
|
-
int: IntegerType;
|
|
159
|
-
float: FloatType;
|
|
160
|
-
string: StringType;
|
|
161
|
-
bool: BooleanType;
|
|
157
|
+
readonly value: VariantType<{
|
|
158
|
+
readonly int: IntegerType;
|
|
159
|
+
readonly float: FloatType;
|
|
160
|
+
readonly string: StringType;
|
|
161
|
+
readonly bool: BooleanType;
|
|
162
162
|
}>;
|
|
163
163
|
}>>;
|
|
164
164
|
/** Best objective score */
|
|
165
|
-
best_score: FloatType;
|
|
165
|
+
readonly best_score: FloatType;
|
|
166
166
|
/** All completed trials */
|
|
167
|
-
trials: ArrayType<StructType<{
|
|
167
|
+
readonly trials: ArrayType<StructType<{
|
|
168
168
|
/** Trial ID */
|
|
169
|
-
trial_id: IntegerType;
|
|
169
|
+
readonly trial_id: IntegerType;
|
|
170
170
|
/** Parameters used in this trial */
|
|
171
|
-
params: ArrayType<StructType<{
|
|
171
|
+
readonly params: ArrayType<StructType<{
|
|
172
172
|
/** Parameter name */
|
|
173
|
-
name: StringType;
|
|
173
|
+
readonly name: StringType;
|
|
174
174
|
/** Parameter value */
|
|
175
|
-
value: VariantType<{
|
|
176
|
-
int: IntegerType;
|
|
177
|
-
float: FloatType;
|
|
178
|
-
string: StringType;
|
|
179
|
-
bool: BooleanType;
|
|
175
|
+
readonly value: VariantType<{
|
|
176
|
+
readonly int: IntegerType;
|
|
177
|
+
readonly float: FloatType;
|
|
178
|
+
readonly string: StringType;
|
|
179
|
+
readonly bool: BooleanType;
|
|
180
180
|
}>;
|
|
181
181
|
}>>;
|
|
182
182
|
/** Objective score */
|
|
183
|
-
score: FloatType;
|
|
183
|
+
readonly score: FloatType;
|
|
184
184
|
}>>;
|
|
185
185
|
}>;
|
|
186
186
|
/**
|
|
@@ -191,13 +191,13 @@ export declare const StudyResultType: StructType<{
|
|
|
191
191
|
*/
|
|
192
192
|
export declare const ObjectiveFunctionType: FunctionType<[ArrayType<StructType<{
|
|
193
193
|
/** Parameter name */
|
|
194
|
-
name: StringType;
|
|
194
|
+
readonly name: StringType;
|
|
195
195
|
/** Parameter value */
|
|
196
|
-
value: VariantType<{
|
|
197
|
-
int: IntegerType;
|
|
198
|
-
float: FloatType;
|
|
199
|
-
string: StringType;
|
|
200
|
-
bool: BooleanType;
|
|
196
|
+
readonly value: VariantType<{
|
|
197
|
+
readonly int: IntegerType;
|
|
198
|
+
readonly float: FloatType;
|
|
199
|
+
readonly string: StringType;
|
|
200
|
+
readonly bool: BooleanType;
|
|
201
201
|
}>;
|
|
202
202
|
}>>], FloatType>;
|
|
203
203
|
/**
|
|
@@ -254,91 +254,91 @@ export declare const ObjectiveFunctionType: FunctionType<[ArrayType<StructType<{
|
|
|
254
254
|
*/
|
|
255
255
|
export declare const optuna_optimize: import("@elaraai/east").PlatformDefinition<[ArrayType<StructType<{
|
|
256
256
|
/** Parameter name */
|
|
257
|
-
name: StringType;
|
|
257
|
+
readonly name: StringType;
|
|
258
258
|
/** Parameter kind (int, float, categorical, log_uniform) */
|
|
259
|
-
kind: VariantType<{
|
|
259
|
+
readonly kind: VariantType<{
|
|
260
260
|
/** Integer parameter with low/high bounds */
|
|
261
|
-
int: NullType;
|
|
261
|
+
readonly int: NullType;
|
|
262
262
|
/** Float parameter with low/high bounds */
|
|
263
|
-
float: NullType;
|
|
263
|
+
readonly float: NullType;
|
|
264
264
|
/** Categorical parameter with choices */
|
|
265
|
-
categorical: NullType;
|
|
265
|
+
readonly categorical: NullType;
|
|
266
266
|
/** Log-uniform float parameter (for learning rates, etc.) */
|
|
267
|
-
log_uniform: NullType;
|
|
267
|
+
readonly log_uniform: NullType;
|
|
268
268
|
}>;
|
|
269
269
|
/** Lower bound (for int, float, log_uniform) */
|
|
270
|
-
low: OptionType<FloatType>;
|
|
270
|
+
readonly low: OptionType<FloatType>;
|
|
271
271
|
/** Upper bound (for int, float, log_uniform) */
|
|
272
|
-
high: OptionType<FloatType>;
|
|
272
|
+
readonly high: OptionType<FloatType>;
|
|
273
273
|
/** Choices (for categorical) */
|
|
274
|
-
choices: OptionType<ArrayType<VariantType<{
|
|
275
|
-
int: IntegerType;
|
|
276
|
-
float: FloatType;
|
|
277
|
-
string: StringType;
|
|
278
|
-
bool: BooleanType;
|
|
274
|
+
readonly choices: OptionType<ArrayType<VariantType<{
|
|
275
|
+
readonly int: IntegerType;
|
|
276
|
+
readonly float: FloatType;
|
|
277
|
+
readonly string: StringType;
|
|
278
|
+
readonly bool: BooleanType;
|
|
279
279
|
}>>>;
|
|
280
280
|
}>>, FunctionType<[ArrayType<StructType<{
|
|
281
281
|
/** Parameter name */
|
|
282
|
-
name: StringType;
|
|
282
|
+
readonly name: StringType;
|
|
283
283
|
/** Parameter value */
|
|
284
|
-
value: VariantType<{
|
|
285
|
-
int: IntegerType;
|
|
286
|
-
float: FloatType;
|
|
287
|
-
string: StringType;
|
|
288
|
-
bool: BooleanType;
|
|
284
|
+
readonly value: VariantType<{
|
|
285
|
+
readonly int: IntegerType;
|
|
286
|
+
readonly float: FloatType;
|
|
287
|
+
readonly string: StringType;
|
|
288
|
+
readonly bool: BooleanType;
|
|
289
289
|
}>;
|
|
290
290
|
}>>], FloatType>, StructType<{
|
|
291
291
|
/** Optimization direction (default: minimize) */
|
|
292
|
-
direction: OptionType<VariantType<{
|
|
293
|
-
minimize: NullType;
|
|
294
|
-
maximize: NullType;
|
|
292
|
+
readonly direction: OptionType<VariantType<{
|
|
293
|
+
readonly minimize: NullType;
|
|
294
|
+
readonly maximize: NullType;
|
|
295
295
|
}>>;
|
|
296
296
|
/** Number of trials to run */
|
|
297
|
-
n_trials: IntegerType;
|
|
297
|
+
readonly n_trials: IntegerType;
|
|
298
298
|
/** Random seed for reproducibility */
|
|
299
|
-
random_state: OptionType<IntegerType>;
|
|
299
|
+
readonly random_state: OptionType<IntegerType>;
|
|
300
300
|
/** Pruner for early stopping (default: none) */
|
|
301
|
-
pruner: OptionType<VariantType<{
|
|
301
|
+
readonly pruner: OptionType<VariantType<{
|
|
302
302
|
/** No pruning */
|
|
303
|
-
none: NullType;
|
|
303
|
+
readonly none: NullType;
|
|
304
304
|
/** Median pruner - prune if below median of previous trials */
|
|
305
|
-
median: NullType;
|
|
305
|
+
readonly median: NullType;
|
|
306
306
|
/** Hyperband pruner - aggressive early stopping */
|
|
307
|
-
hyperband: NullType;
|
|
307
|
+
readonly hyperband: NullType;
|
|
308
308
|
}>>;
|
|
309
309
|
}>], StructType<{
|
|
310
310
|
/** Best parameters found */
|
|
311
|
-
best_params: ArrayType<StructType<{
|
|
311
|
+
readonly best_params: ArrayType<StructType<{
|
|
312
312
|
/** Parameter name */
|
|
313
|
-
name: StringType;
|
|
313
|
+
readonly name: StringType;
|
|
314
314
|
/** Parameter value */
|
|
315
|
-
value: VariantType<{
|
|
316
|
-
int: IntegerType;
|
|
317
|
-
float: FloatType;
|
|
318
|
-
string: StringType;
|
|
319
|
-
bool: BooleanType;
|
|
315
|
+
readonly value: VariantType<{
|
|
316
|
+
readonly int: IntegerType;
|
|
317
|
+
readonly float: FloatType;
|
|
318
|
+
readonly string: StringType;
|
|
319
|
+
readonly bool: BooleanType;
|
|
320
320
|
}>;
|
|
321
321
|
}>>;
|
|
322
322
|
/** Best objective score */
|
|
323
|
-
best_score: FloatType;
|
|
323
|
+
readonly best_score: FloatType;
|
|
324
324
|
/** All completed trials */
|
|
325
|
-
trials: ArrayType<StructType<{
|
|
325
|
+
readonly trials: ArrayType<StructType<{
|
|
326
326
|
/** Trial ID */
|
|
327
|
-
trial_id: IntegerType;
|
|
327
|
+
readonly trial_id: IntegerType;
|
|
328
328
|
/** Parameters used in this trial */
|
|
329
|
-
params: ArrayType<StructType<{
|
|
329
|
+
readonly params: ArrayType<StructType<{
|
|
330
330
|
/** Parameter name */
|
|
331
|
-
name: StringType;
|
|
331
|
+
readonly name: StringType;
|
|
332
332
|
/** Parameter value */
|
|
333
|
-
value: VariantType<{
|
|
334
|
-
int: IntegerType;
|
|
335
|
-
float: FloatType;
|
|
336
|
-
string: StringType;
|
|
337
|
-
bool: BooleanType;
|
|
333
|
+
readonly value: VariantType<{
|
|
334
|
+
readonly int: IntegerType;
|
|
335
|
+
readonly float: FloatType;
|
|
336
|
+
readonly string: StringType;
|
|
337
|
+
readonly bool: BooleanType;
|
|
338
338
|
}>;
|
|
339
339
|
}>>;
|
|
340
340
|
/** Objective score */
|
|
341
|
-
score: FloatType;
|
|
341
|
+
readonly score: FloatType;
|
|
342
342
|
}>>;
|
|
343
343
|
}>>;
|
|
344
344
|
/**
|
|
@@ -347,161 +347,161 @@ export declare const optuna_optimize: import("@elaraai/east").PlatformDefinition
|
|
|
347
347
|
export declare const OptunaTypes: {
|
|
348
348
|
/** Parameter value variant type */
|
|
349
349
|
readonly ParamValueType: VariantType<{
|
|
350
|
-
int: IntegerType;
|
|
351
|
-
float: FloatType;
|
|
352
|
-
string: StringType;
|
|
353
|
-
bool: BooleanType;
|
|
350
|
+
readonly int: IntegerType;
|
|
351
|
+
readonly float: FloatType;
|
|
352
|
+
readonly string: StringType;
|
|
353
|
+
readonly bool: BooleanType;
|
|
354
354
|
}>;
|
|
355
355
|
/** Parameter space kind type */
|
|
356
356
|
readonly ParamSpaceKindType: VariantType<{
|
|
357
357
|
/** Integer parameter with low/high bounds */
|
|
358
|
-
int: NullType;
|
|
358
|
+
readonly int: NullType;
|
|
359
359
|
/** Float parameter with low/high bounds */
|
|
360
|
-
float: NullType;
|
|
360
|
+
readonly float: NullType;
|
|
361
361
|
/** Categorical parameter with choices */
|
|
362
|
-
categorical: NullType;
|
|
362
|
+
readonly categorical: NullType;
|
|
363
363
|
/** Log-uniform float parameter (for learning rates, etc.) */
|
|
364
|
-
log_uniform: NullType;
|
|
364
|
+
readonly log_uniform: NullType;
|
|
365
365
|
}>;
|
|
366
366
|
/** Parameter space definition type */
|
|
367
367
|
readonly ParamSpaceType: StructType<{
|
|
368
368
|
/** Parameter name */
|
|
369
|
-
name: StringType;
|
|
369
|
+
readonly name: StringType;
|
|
370
370
|
/** Parameter kind (int, float, categorical, log_uniform) */
|
|
371
|
-
kind: VariantType<{
|
|
371
|
+
readonly kind: VariantType<{
|
|
372
372
|
/** Integer parameter with low/high bounds */
|
|
373
|
-
int: NullType;
|
|
373
|
+
readonly int: NullType;
|
|
374
374
|
/** Float parameter with low/high bounds */
|
|
375
|
-
float: NullType;
|
|
375
|
+
readonly float: NullType;
|
|
376
376
|
/** Categorical parameter with choices */
|
|
377
|
-
categorical: NullType;
|
|
377
|
+
readonly categorical: NullType;
|
|
378
378
|
/** Log-uniform float parameter (for learning rates, etc.) */
|
|
379
|
-
log_uniform: NullType;
|
|
379
|
+
readonly log_uniform: NullType;
|
|
380
380
|
}>;
|
|
381
381
|
/** Lower bound (for int, float, log_uniform) */
|
|
382
|
-
low: OptionType<FloatType>;
|
|
382
|
+
readonly low: OptionType<FloatType>;
|
|
383
383
|
/** Upper bound (for int, float, log_uniform) */
|
|
384
|
-
high: OptionType<FloatType>;
|
|
384
|
+
readonly high: OptionType<FloatType>;
|
|
385
385
|
/** Choices (for categorical) */
|
|
386
|
-
choices: OptionType<ArrayType<VariantType<{
|
|
387
|
-
int: IntegerType;
|
|
388
|
-
float: FloatType;
|
|
389
|
-
string: StringType;
|
|
390
|
-
bool: BooleanType;
|
|
386
|
+
readonly choices: OptionType<ArrayType<VariantType<{
|
|
387
|
+
readonly int: IntegerType;
|
|
388
|
+
readonly float: FloatType;
|
|
389
|
+
readonly string: StringType;
|
|
390
|
+
readonly bool: BooleanType;
|
|
391
391
|
}>>>;
|
|
392
392
|
}>;
|
|
393
393
|
/** Named parameter type */
|
|
394
394
|
readonly NamedParamType: StructType<{
|
|
395
395
|
/** Parameter name */
|
|
396
|
-
name: StringType;
|
|
396
|
+
readonly name: StringType;
|
|
397
397
|
/** Parameter value */
|
|
398
|
-
value: VariantType<{
|
|
399
|
-
int: IntegerType;
|
|
400
|
-
float: FloatType;
|
|
401
|
-
string: StringType;
|
|
402
|
-
bool: BooleanType;
|
|
398
|
+
readonly value: VariantType<{
|
|
399
|
+
readonly int: IntegerType;
|
|
400
|
+
readonly float: FloatType;
|
|
401
|
+
readonly string: StringType;
|
|
402
|
+
readonly bool: BooleanType;
|
|
403
403
|
}>;
|
|
404
404
|
}>;
|
|
405
405
|
/** Optimization direction type */
|
|
406
406
|
readonly OptimizationDirectionType: VariantType<{
|
|
407
|
-
minimize: NullType;
|
|
408
|
-
maximize: NullType;
|
|
407
|
+
readonly minimize: NullType;
|
|
408
|
+
readonly maximize: NullType;
|
|
409
409
|
}>;
|
|
410
410
|
/** Pruner type */
|
|
411
411
|
readonly PrunerType: VariantType<{
|
|
412
412
|
/** No pruning */
|
|
413
|
-
none: NullType;
|
|
413
|
+
readonly none: NullType;
|
|
414
414
|
/** Median pruner - prune if below median of previous trials */
|
|
415
|
-
median: NullType;
|
|
415
|
+
readonly median: NullType;
|
|
416
416
|
/** Hyperband pruner - aggressive early stopping */
|
|
417
|
-
hyperband: NullType;
|
|
417
|
+
readonly hyperband: NullType;
|
|
418
418
|
}>;
|
|
419
419
|
/** Study config type */
|
|
420
420
|
readonly StudyConfigType: StructType<{
|
|
421
421
|
/** Optimization direction (default: minimize) */
|
|
422
|
-
direction: OptionType<VariantType<{
|
|
423
|
-
minimize: NullType;
|
|
424
|
-
maximize: NullType;
|
|
422
|
+
readonly direction: OptionType<VariantType<{
|
|
423
|
+
readonly minimize: NullType;
|
|
424
|
+
readonly maximize: NullType;
|
|
425
425
|
}>>;
|
|
426
426
|
/** Number of trials to run */
|
|
427
|
-
n_trials: IntegerType;
|
|
427
|
+
readonly n_trials: IntegerType;
|
|
428
428
|
/** Random seed for reproducibility */
|
|
429
|
-
random_state: OptionType<IntegerType>;
|
|
429
|
+
readonly random_state: OptionType<IntegerType>;
|
|
430
430
|
/** Pruner for early stopping (default: none) */
|
|
431
|
-
pruner: OptionType<VariantType<{
|
|
431
|
+
readonly pruner: OptionType<VariantType<{
|
|
432
432
|
/** No pruning */
|
|
433
|
-
none: NullType;
|
|
433
|
+
readonly none: NullType;
|
|
434
434
|
/** Median pruner - prune if below median of previous trials */
|
|
435
|
-
median: NullType;
|
|
435
|
+
readonly median: NullType;
|
|
436
436
|
/** Hyperband pruner - aggressive early stopping */
|
|
437
|
-
hyperband: NullType;
|
|
437
|
+
readonly hyperband: NullType;
|
|
438
438
|
}>>;
|
|
439
439
|
}>;
|
|
440
440
|
/** Trial result type */
|
|
441
441
|
readonly TrialResultType: StructType<{
|
|
442
442
|
/** Trial ID */
|
|
443
|
-
trial_id: IntegerType;
|
|
443
|
+
readonly trial_id: IntegerType;
|
|
444
444
|
/** Parameters used in this trial */
|
|
445
|
-
params: ArrayType<StructType<{
|
|
445
|
+
readonly params: ArrayType<StructType<{
|
|
446
446
|
/** Parameter name */
|
|
447
|
-
name: StringType;
|
|
447
|
+
readonly name: StringType;
|
|
448
448
|
/** Parameter value */
|
|
449
|
-
value: VariantType<{
|
|
450
|
-
int: IntegerType;
|
|
451
|
-
float: FloatType;
|
|
452
|
-
string: StringType;
|
|
453
|
-
bool: BooleanType;
|
|
449
|
+
readonly value: VariantType<{
|
|
450
|
+
readonly int: IntegerType;
|
|
451
|
+
readonly float: FloatType;
|
|
452
|
+
readonly string: StringType;
|
|
453
|
+
readonly bool: BooleanType;
|
|
454
454
|
}>;
|
|
455
455
|
}>>;
|
|
456
456
|
/** Objective score */
|
|
457
|
-
score: FloatType;
|
|
457
|
+
readonly score: FloatType;
|
|
458
458
|
}>;
|
|
459
459
|
/** Study result type */
|
|
460
460
|
readonly StudyResultType: StructType<{
|
|
461
461
|
/** Best parameters found */
|
|
462
|
-
best_params: ArrayType<StructType<{
|
|
462
|
+
readonly best_params: ArrayType<StructType<{
|
|
463
463
|
/** Parameter name */
|
|
464
|
-
name: StringType;
|
|
464
|
+
readonly name: StringType;
|
|
465
465
|
/** Parameter value */
|
|
466
|
-
value: VariantType<{
|
|
467
|
-
int: IntegerType;
|
|
468
|
-
float: FloatType;
|
|
469
|
-
string: StringType;
|
|
470
|
-
bool: BooleanType;
|
|
466
|
+
readonly value: VariantType<{
|
|
467
|
+
readonly int: IntegerType;
|
|
468
|
+
readonly float: FloatType;
|
|
469
|
+
readonly string: StringType;
|
|
470
|
+
readonly bool: BooleanType;
|
|
471
471
|
}>;
|
|
472
472
|
}>>;
|
|
473
473
|
/** Best objective score */
|
|
474
|
-
best_score: FloatType;
|
|
474
|
+
readonly best_score: FloatType;
|
|
475
475
|
/** All completed trials */
|
|
476
|
-
trials: ArrayType<StructType<{
|
|
476
|
+
readonly trials: ArrayType<StructType<{
|
|
477
477
|
/** Trial ID */
|
|
478
|
-
trial_id: IntegerType;
|
|
478
|
+
readonly trial_id: IntegerType;
|
|
479
479
|
/** Parameters used in this trial */
|
|
480
|
-
params: ArrayType<StructType<{
|
|
480
|
+
readonly params: ArrayType<StructType<{
|
|
481
481
|
/** Parameter name */
|
|
482
|
-
name: StringType;
|
|
482
|
+
readonly name: StringType;
|
|
483
483
|
/** Parameter value */
|
|
484
|
-
value: VariantType<{
|
|
485
|
-
int: IntegerType;
|
|
486
|
-
float: FloatType;
|
|
487
|
-
string: StringType;
|
|
488
|
-
bool: BooleanType;
|
|
484
|
+
readonly value: VariantType<{
|
|
485
|
+
readonly int: IntegerType;
|
|
486
|
+
readonly float: FloatType;
|
|
487
|
+
readonly string: StringType;
|
|
488
|
+
readonly bool: BooleanType;
|
|
489
489
|
}>;
|
|
490
490
|
}>>;
|
|
491
491
|
/** Objective score */
|
|
492
|
-
score: FloatType;
|
|
492
|
+
readonly score: FloatType;
|
|
493
493
|
}>>;
|
|
494
494
|
}>;
|
|
495
495
|
/** Objective function type */
|
|
496
496
|
readonly ObjectiveFunctionType: FunctionType<[ArrayType<StructType<{
|
|
497
497
|
/** Parameter name */
|
|
498
|
-
name: StringType;
|
|
498
|
+
readonly name: StringType;
|
|
499
499
|
/** Parameter value */
|
|
500
|
-
value: VariantType<{
|
|
501
|
-
int: IntegerType;
|
|
502
|
-
float: FloatType;
|
|
503
|
-
string: StringType;
|
|
504
|
-
bool: BooleanType;
|
|
500
|
+
readonly value: VariantType<{
|
|
501
|
+
readonly int: IntegerType;
|
|
502
|
+
readonly float: FloatType;
|
|
503
|
+
readonly string: StringType;
|
|
504
|
+
readonly bool: BooleanType;
|
|
505
505
|
}>;
|
|
506
506
|
}>>], FloatType>;
|
|
507
507
|
};
|
|
@@ -542,91 +542,91 @@ export declare const Optuna: {
|
|
|
542
542
|
*/
|
|
543
543
|
readonly optimize: import("@elaraai/east").PlatformDefinition<[ArrayType<StructType<{
|
|
544
544
|
/** Parameter name */
|
|
545
|
-
name: StringType;
|
|
545
|
+
readonly name: StringType;
|
|
546
546
|
/** Parameter kind (int, float, categorical, log_uniform) */
|
|
547
|
-
kind: VariantType<{
|
|
547
|
+
readonly kind: VariantType<{
|
|
548
548
|
/** Integer parameter with low/high bounds */
|
|
549
|
-
int: NullType;
|
|
549
|
+
readonly int: NullType;
|
|
550
550
|
/** Float parameter with low/high bounds */
|
|
551
|
-
float: NullType;
|
|
551
|
+
readonly float: NullType;
|
|
552
552
|
/** Categorical parameter with choices */
|
|
553
|
-
categorical: NullType;
|
|
553
|
+
readonly categorical: NullType;
|
|
554
554
|
/** Log-uniform float parameter (for learning rates, etc.) */
|
|
555
|
-
log_uniform: NullType;
|
|
555
|
+
readonly log_uniform: NullType;
|
|
556
556
|
}>;
|
|
557
557
|
/** Lower bound (for int, float, log_uniform) */
|
|
558
|
-
low: OptionType<FloatType>;
|
|
558
|
+
readonly low: OptionType<FloatType>;
|
|
559
559
|
/** Upper bound (for int, float, log_uniform) */
|
|
560
|
-
high: OptionType<FloatType>;
|
|
560
|
+
readonly high: OptionType<FloatType>;
|
|
561
561
|
/** Choices (for categorical) */
|
|
562
|
-
choices: OptionType<ArrayType<VariantType<{
|
|
563
|
-
int: IntegerType;
|
|
564
|
-
float: FloatType;
|
|
565
|
-
string: StringType;
|
|
566
|
-
bool: BooleanType;
|
|
562
|
+
readonly choices: OptionType<ArrayType<VariantType<{
|
|
563
|
+
readonly int: IntegerType;
|
|
564
|
+
readonly float: FloatType;
|
|
565
|
+
readonly string: StringType;
|
|
566
|
+
readonly bool: BooleanType;
|
|
567
567
|
}>>>;
|
|
568
568
|
}>>, FunctionType<[ArrayType<StructType<{
|
|
569
569
|
/** Parameter name */
|
|
570
|
-
name: StringType;
|
|
570
|
+
readonly name: StringType;
|
|
571
571
|
/** Parameter value */
|
|
572
|
-
value: VariantType<{
|
|
573
|
-
int: IntegerType;
|
|
574
|
-
float: FloatType;
|
|
575
|
-
string: StringType;
|
|
576
|
-
bool: BooleanType;
|
|
572
|
+
readonly value: VariantType<{
|
|
573
|
+
readonly int: IntegerType;
|
|
574
|
+
readonly float: FloatType;
|
|
575
|
+
readonly string: StringType;
|
|
576
|
+
readonly bool: BooleanType;
|
|
577
577
|
}>;
|
|
578
578
|
}>>], FloatType>, StructType<{
|
|
579
579
|
/** Optimization direction (default: minimize) */
|
|
580
|
-
direction: OptionType<VariantType<{
|
|
581
|
-
minimize: NullType;
|
|
582
|
-
maximize: NullType;
|
|
580
|
+
readonly direction: OptionType<VariantType<{
|
|
581
|
+
readonly minimize: NullType;
|
|
582
|
+
readonly maximize: NullType;
|
|
583
583
|
}>>;
|
|
584
584
|
/** Number of trials to run */
|
|
585
|
-
n_trials: IntegerType;
|
|
585
|
+
readonly n_trials: IntegerType;
|
|
586
586
|
/** Random seed for reproducibility */
|
|
587
|
-
random_state: OptionType<IntegerType>;
|
|
587
|
+
readonly random_state: OptionType<IntegerType>;
|
|
588
588
|
/** Pruner for early stopping (default: none) */
|
|
589
|
-
pruner: OptionType<VariantType<{
|
|
589
|
+
readonly pruner: OptionType<VariantType<{
|
|
590
590
|
/** No pruning */
|
|
591
|
-
none: NullType;
|
|
591
|
+
readonly none: NullType;
|
|
592
592
|
/** Median pruner - prune if below median of previous trials */
|
|
593
|
-
median: NullType;
|
|
593
|
+
readonly median: NullType;
|
|
594
594
|
/** Hyperband pruner - aggressive early stopping */
|
|
595
|
-
hyperband: NullType;
|
|
595
|
+
readonly hyperband: NullType;
|
|
596
596
|
}>>;
|
|
597
597
|
}>], StructType<{
|
|
598
598
|
/** Best parameters found */
|
|
599
|
-
best_params: ArrayType<StructType<{
|
|
599
|
+
readonly best_params: ArrayType<StructType<{
|
|
600
600
|
/** Parameter name */
|
|
601
|
-
name: StringType;
|
|
601
|
+
readonly name: StringType;
|
|
602
602
|
/** Parameter value */
|
|
603
|
-
value: VariantType<{
|
|
604
|
-
int: IntegerType;
|
|
605
|
-
float: FloatType;
|
|
606
|
-
string: StringType;
|
|
607
|
-
bool: BooleanType;
|
|
603
|
+
readonly value: VariantType<{
|
|
604
|
+
readonly int: IntegerType;
|
|
605
|
+
readonly float: FloatType;
|
|
606
|
+
readonly string: StringType;
|
|
607
|
+
readonly bool: BooleanType;
|
|
608
608
|
}>;
|
|
609
609
|
}>>;
|
|
610
610
|
/** Best objective score */
|
|
611
|
-
best_score: FloatType;
|
|
611
|
+
readonly best_score: FloatType;
|
|
612
612
|
/** All completed trials */
|
|
613
|
-
trials: ArrayType<StructType<{
|
|
613
|
+
readonly trials: ArrayType<StructType<{
|
|
614
614
|
/** Trial ID */
|
|
615
|
-
trial_id: IntegerType;
|
|
615
|
+
readonly trial_id: IntegerType;
|
|
616
616
|
/** Parameters used in this trial */
|
|
617
|
-
params: ArrayType<StructType<{
|
|
617
|
+
readonly params: ArrayType<StructType<{
|
|
618
618
|
/** Parameter name */
|
|
619
|
-
name: StringType;
|
|
619
|
+
readonly name: StringType;
|
|
620
620
|
/** Parameter value */
|
|
621
|
-
value: VariantType<{
|
|
622
|
-
int: IntegerType;
|
|
623
|
-
float: FloatType;
|
|
624
|
-
string: StringType;
|
|
625
|
-
bool: BooleanType;
|
|
621
|
+
readonly value: VariantType<{
|
|
622
|
+
readonly int: IntegerType;
|
|
623
|
+
readonly float: FloatType;
|
|
624
|
+
readonly string: StringType;
|
|
625
|
+
readonly bool: BooleanType;
|
|
626
626
|
}>;
|
|
627
627
|
}>>;
|
|
628
628
|
/** Objective score */
|
|
629
|
-
score: FloatType;
|
|
629
|
+
readonly score: FloatType;
|
|
630
630
|
}>>;
|
|
631
631
|
}>>;
|
|
632
632
|
/**
|
|
@@ -635,161 +635,161 @@ export declare const Optuna: {
|
|
|
635
635
|
readonly Types: {
|
|
636
636
|
/** Parameter value variant type */
|
|
637
637
|
readonly ParamValueType: VariantType<{
|
|
638
|
-
int: IntegerType;
|
|
639
|
-
float: FloatType;
|
|
640
|
-
string: StringType;
|
|
641
|
-
bool: BooleanType;
|
|
638
|
+
readonly int: IntegerType;
|
|
639
|
+
readonly float: FloatType;
|
|
640
|
+
readonly string: StringType;
|
|
641
|
+
readonly bool: BooleanType;
|
|
642
642
|
}>;
|
|
643
643
|
/** Parameter space kind type */
|
|
644
644
|
readonly ParamSpaceKindType: VariantType<{
|
|
645
645
|
/** Integer parameter with low/high bounds */
|
|
646
|
-
int: NullType;
|
|
646
|
+
readonly int: NullType;
|
|
647
647
|
/** Float parameter with low/high bounds */
|
|
648
|
-
float: NullType;
|
|
648
|
+
readonly float: NullType;
|
|
649
649
|
/** Categorical parameter with choices */
|
|
650
|
-
categorical: NullType;
|
|
650
|
+
readonly categorical: NullType;
|
|
651
651
|
/** Log-uniform float parameter (for learning rates, etc.) */
|
|
652
|
-
log_uniform: NullType;
|
|
652
|
+
readonly log_uniform: NullType;
|
|
653
653
|
}>;
|
|
654
654
|
/** Parameter space definition type */
|
|
655
655
|
readonly ParamSpaceType: StructType<{
|
|
656
656
|
/** Parameter name */
|
|
657
|
-
name: StringType;
|
|
657
|
+
readonly name: StringType;
|
|
658
658
|
/** Parameter kind (int, float, categorical, log_uniform) */
|
|
659
|
-
kind: VariantType<{
|
|
659
|
+
readonly kind: VariantType<{
|
|
660
660
|
/** Integer parameter with low/high bounds */
|
|
661
|
-
int: NullType;
|
|
661
|
+
readonly int: NullType;
|
|
662
662
|
/** Float parameter with low/high bounds */
|
|
663
|
-
float: NullType;
|
|
663
|
+
readonly float: NullType;
|
|
664
664
|
/** Categorical parameter with choices */
|
|
665
|
-
categorical: NullType;
|
|
665
|
+
readonly categorical: NullType;
|
|
666
666
|
/** Log-uniform float parameter (for learning rates, etc.) */
|
|
667
|
-
log_uniform: NullType;
|
|
667
|
+
readonly log_uniform: NullType;
|
|
668
668
|
}>;
|
|
669
669
|
/** Lower bound (for int, float, log_uniform) */
|
|
670
|
-
low: OptionType<FloatType>;
|
|
670
|
+
readonly low: OptionType<FloatType>;
|
|
671
671
|
/** Upper bound (for int, float, log_uniform) */
|
|
672
|
-
high: OptionType<FloatType>;
|
|
672
|
+
readonly high: OptionType<FloatType>;
|
|
673
673
|
/** Choices (for categorical) */
|
|
674
|
-
choices: OptionType<ArrayType<VariantType<{
|
|
675
|
-
int: IntegerType;
|
|
676
|
-
float: FloatType;
|
|
677
|
-
string: StringType;
|
|
678
|
-
bool: BooleanType;
|
|
674
|
+
readonly choices: OptionType<ArrayType<VariantType<{
|
|
675
|
+
readonly int: IntegerType;
|
|
676
|
+
readonly float: FloatType;
|
|
677
|
+
readonly string: StringType;
|
|
678
|
+
readonly bool: BooleanType;
|
|
679
679
|
}>>>;
|
|
680
680
|
}>;
|
|
681
681
|
/** Named parameter type */
|
|
682
682
|
readonly NamedParamType: StructType<{
|
|
683
683
|
/** Parameter name */
|
|
684
|
-
name: StringType;
|
|
684
|
+
readonly name: StringType;
|
|
685
685
|
/** Parameter value */
|
|
686
|
-
value: VariantType<{
|
|
687
|
-
int: IntegerType;
|
|
688
|
-
float: FloatType;
|
|
689
|
-
string: StringType;
|
|
690
|
-
bool: BooleanType;
|
|
686
|
+
readonly value: VariantType<{
|
|
687
|
+
readonly int: IntegerType;
|
|
688
|
+
readonly float: FloatType;
|
|
689
|
+
readonly string: StringType;
|
|
690
|
+
readonly bool: BooleanType;
|
|
691
691
|
}>;
|
|
692
692
|
}>;
|
|
693
693
|
/** Optimization direction type */
|
|
694
694
|
readonly OptimizationDirectionType: VariantType<{
|
|
695
|
-
minimize: NullType;
|
|
696
|
-
maximize: NullType;
|
|
695
|
+
readonly minimize: NullType;
|
|
696
|
+
readonly maximize: NullType;
|
|
697
697
|
}>;
|
|
698
698
|
/** Pruner type */
|
|
699
699
|
readonly PrunerType: VariantType<{
|
|
700
700
|
/** No pruning */
|
|
701
|
-
none: NullType;
|
|
701
|
+
readonly none: NullType;
|
|
702
702
|
/** Median pruner - prune if below median of previous trials */
|
|
703
|
-
median: NullType;
|
|
703
|
+
readonly median: NullType;
|
|
704
704
|
/** Hyperband pruner - aggressive early stopping */
|
|
705
|
-
hyperband: NullType;
|
|
705
|
+
readonly hyperband: NullType;
|
|
706
706
|
}>;
|
|
707
707
|
/** Study config type */
|
|
708
708
|
readonly StudyConfigType: StructType<{
|
|
709
709
|
/** Optimization direction (default: minimize) */
|
|
710
|
-
direction: OptionType<VariantType<{
|
|
711
|
-
minimize: NullType;
|
|
712
|
-
maximize: NullType;
|
|
710
|
+
readonly direction: OptionType<VariantType<{
|
|
711
|
+
readonly minimize: NullType;
|
|
712
|
+
readonly maximize: NullType;
|
|
713
713
|
}>>;
|
|
714
714
|
/** Number of trials to run */
|
|
715
|
-
n_trials: IntegerType;
|
|
715
|
+
readonly n_trials: IntegerType;
|
|
716
716
|
/** Random seed for reproducibility */
|
|
717
|
-
random_state: OptionType<IntegerType>;
|
|
717
|
+
readonly random_state: OptionType<IntegerType>;
|
|
718
718
|
/** Pruner for early stopping (default: none) */
|
|
719
|
-
pruner: OptionType<VariantType<{
|
|
719
|
+
readonly pruner: OptionType<VariantType<{
|
|
720
720
|
/** No pruning */
|
|
721
|
-
none: NullType;
|
|
721
|
+
readonly none: NullType;
|
|
722
722
|
/** Median pruner - prune if below median of previous trials */
|
|
723
|
-
median: NullType;
|
|
723
|
+
readonly median: NullType;
|
|
724
724
|
/** Hyperband pruner - aggressive early stopping */
|
|
725
|
-
hyperband: NullType;
|
|
725
|
+
readonly hyperband: NullType;
|
|
726
726
|
}>>;
|
|
727
727
|
}>;
|
|
728
728
|
/** Trial result type */
|
|
729
729
|
readonly TrialResultType: StructType<{
|
|
730
730
|
/** Trial ID */
|
|
731
|
-
trial_id: IntegerType;
|
|
731
|
+
readonly trial_id: IntegerType;
|
|
732
732
|
/** Parameters used in this trial */
|
|
733
|
-
params: ArrayType<StructType<{
|
|
733
|
+
readonly params: ArrayType<StructType<{
|
|
734
734
|
/** Parameter name */
|
|
735
|
-
name: StringType;
|
|
735
|
+
readonly name: StringType;
|
|
736
736
|
/** Parameter value */
|
|
737
|
-
value: VariantType<{
|
|
738
|
-
int: IntegerType;
|
|
739
|
-
float: FloatType;
|
|
740
|
-
string: StringType;
|
|
741
|
-
bool: BooleanType;
|
|
737
|
+
readonly value: VariantType<{
|
|
738
|
+
readonly int: IntegerType;
|
|
739
|
+
readonly float: FloatType;
|
|
740
|
+
readonly string: StringType;
|
|
741
|
+
readonly bool: BooleanType;
|
|
742
742
|
}>;
|
|
743
743
|
}>>;
|
|
744
744
|
/** Objective score */
|
|
745
|
-
score: FloatType;
|
|
745
|
+
readonly score: FloatType;
|
|
746
746
|
}>;
|
|
747
747
|
/** Study result type */
|
|
748
748
|
readonly StudyResultType: StructType<{
|
|
749
749
|
/** Best parameters found */
|
|
750
|
-
best_params: ArrayType<StructType<{
|
|
750
|
+
readonly best_params: ArrayType<StructType<{
|
|
751
751
|
/** Parameter name */
|
|
752
|
-
name: StringType;
|
|
752
|
+
readonly name: StringType;
|
|
753
753
|
/** Parameter value */
|
|
754
|
-
value: VariantType<{
|
|
755
|
-
int: IntegerType;
|
|
756
|
-
float: FloatType;
|
|
757
|
-
string: StringType;
|
|
758
|
-
bool: BooleanType;
|
|
754
|
+
readonly value: VariantType<{
|
|
755
|
+
readonly int: IntegerType;
|
|
756
|
+
readonly float: FloatType;
|
|
757
|
+
readonly string: StringType;
|
|
758
|
+
readonly bool: BooleanType;
|
|
759
759
|
}>;
|
|
760
760
|
}>>;
|
|
761
761
|
/** Best objective score */
|
|
762
|
-
best_score: FloatType;
|
|
762
|
+
readonly best_score: FloatType;
|
|
763
763
|
/** All completed trials */
|
|
764
|
-
trials: ArrayType<StructType<{
|
|
764
|
+
readonly trials: ArrayType<StructType<{
|
|
765
765
|
/** Trial ID */
|
|
766
|
-
trial_id: IntegerType;
|
|
766
|
+
readonly trial_id: IntegerType;
|
|
767
767
|
/** Parameters used in this trial */
|
|
768
|
-
params: ArrayType<StructType<{
|
|
768
|
+
readonly params: ArrayType<StructType<{
|
|
769
769
|
/** Parameter name */
|
|
770
|
-
name: StringType;
|
|
770
|
+
readonly name: StringType;
|
|
771
771
|
/** Parameter value */
|
|
772
|
-
value: VariantType<{
|
|
773
|
-
int: IntegerType;
|
|
774
|
-
float: FloatType;
|
|
775
|
-
string: StringType;
|
|
776
|
-
bool: BooleanType;
|
|
772
|
+
readonly value: VariantType<{
|
|
773
|
+
readonly int: IntegerType;
|
|
774
|
+
readonly float: FloatType;
|
|
775
|
+
readonly string: StringType;
|
|
776
|
+
readonly bool: BooleanType;
|
|
777
777
|
}>;
|
|
778
778
|
}>>;
|
|
779
779
|
/** Objective score */
|
|
780
|
-
score: FloatType;
|
|
780
|
+
readonly score: FloatType;
|
|
781
781
|
}>>;
|
|
782
782
|
}>;
|
|
783
783
|
/** Objective function type */
|
|
784
784
|
readonly ObjectiveFunctionType: FunctionType<[ArrayType<StructType<{
|
|
785
785
|
/** Parameter name */
|
|
786
|
-
name: StringType;
|
|
786
|
+
readonly name: StringType;
|
|
787
787
|
/** Parameter value */
|
|
788
|
-
value: VariantType<{
|
|
789
|
-
int: IntegerType;
|
|
790
|
-
float: FloatType;
|
|
791
|
-
string: StringType;
|
|
792
|
-
bool: BooleanType;
|
|
788
|
+
readonly value: VariantType<{
|
|
789
|
+
readonly int: IntegerType;
|
|
790
|
+
readonly float: FloatType;
|
|
791
|
+
readonly string: StringType;
|
|
792
|
+
readonly bool: BooleanType;
|
|
793
793
|
}>;
|
|
794
794
|
}>>], FloatType>;
|
|
795
795
|
};
|