@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
|
@@ -24,9 +24,9 @@ import { StructType, VariantType, OptionType, ArrayType, IntegerType, FloatType,
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const DiscreteStateType: VariantType<{
|
|
26
26
|
/** Integer array state (permutations, assignments) */
|
|
27
|
-
int_array: ArrayType<IntegerType>;
|
|
27
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
28
28
|
/** Boolean array state (subset selection) */
|
|
29
|
-
bool_array: ArrayType<BooleanType>;
|
|
29
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
30
30
|
}>;
|
|
31
31
|
/**
|
|
32
32
|
* Energy function type: state -> score.
|
|
@@ -36,9 +36,9 @@ export declare const DiscreteStateType: VariantType<{
|
|
|
36
36
|
*/
|
|
37
37
|
export declare const EnergyFunctionType: FunctionType<[VariantType<{
|
|
38
38
|
/** Integer array state (permutations, assignments) */
|
|
39
|
-
int_array: ArrayType<IntegerType>;
|
|
39
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
40
40
|
/** Boolean array state (subset selection) */
|
|
41
|
-
bool_array: ArrayType<BooleanType>;
|
|
41
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
42
42
|
}>], FloatType>;
|
|
43
43
|
/**
|
|
44
44
|
* Move function type: state -> neighbor state.
|
|
@@ -48,14 +48,14 @@ export declare const EnergyFunctionType: FunctionType<[VariantType<{
|
|
|
48
48
|
*/
|
|
49
49
|
export declare const MoveFunctionType: FunctionType<[VariantType<{
|
|
50
50
|
/** Integer array state (permutations, assignments) */
|
|
51
|
-
int_array: ArrayType<IntegerType>;
|
|
51
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
52
52
|
/** Boolean array state (subset selection) */
|
|
53
|
-
bool_array: ArrayType<BooleanType>;
|
|
53
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
54
54
|
}>], VariantType<{
|
|
55
55
|
/** Integer array state (permutations, assignments) */
|
|
56
|
-
int_array: ArrayType<IntegerType>;
|
|
56
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
57
57
|
/** Boolean array state (subset selection) */
|
|
58
|
-
bool_array: ArrayType<BooleanType>;
|
|
58
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
59
59
|
}>>;
|
|
60
60
|
/**
|
|
61
61
|
* Permutation energy function type.
|
|
@@ -74,35 +74,35 @@ export declare const SubsetEnergyType: FunctionType<[ArrayType<BooleanType>], Fl
|
|
|
74
74
|
*/
|
|
75
75
|
export declare const AnnealConfigType: StructType<{
|
|
76
76
|
/** Starting temperature (default: 25000.0) */
|
|
77
|
-
t_max: OptionType<FloatType>;
|
|
77
|
+
readonly t_max: OptionType<FloatType>;
|
|
78
78
|
/** Ending temperature (default: 2.5) */
|
|
79
|
-
t_min: OptionType<FloatType>;
|
|
79
|
+
readonly t_min: OptionType<FloatType>;
|
|
80
80
|
/** Total iterations (default: 50000) */
|
|
81
|
-
steps: OptionType<IntegerType>;
|
|
81
|
+
readonly steps: OptionType<IntegerType>;
|
|
82
82
|
/** Progress report frequency (default: 0 = silent) */
|
|
83
|
-
updates: OptionType<IntegerType>;
|
|
83
|
+
readonly updates: OptionType<IntegerType>;
|
|
84
84
|
/** Minutes for auto-calibration (default: none) */
|
|
85
|
-
auto_schedule: OptionType<FloatType>;
|
|
85
|
+
readonly auto_schedule: OptionType<FloatType>;
|
|
86
86
|
/** Random seed for reproducibility */
|
|
87
|
-
random_state: OptionType<IntegerType>;
|
|
87
|
+
readonly random_state: OptionType<IntegerType>;
|
|
88
88
|
}>;
|
|
89
89
|
/**
|
|
90
90
|
* Simulated annealing result.
|
|
91
91
|
*/
|
|
92
92
|
export declare const AnnealResultType: StructType<{
|
|
93
93
|
/** Best state found */
|
|
94
|
-
best_state: VariantType<{
|
|
94
|
+
readonly best_state: VariantType<{
|
|
95
95
|
/** Integer array state (permutations, assignments) */
|
|
96
|
-
int_array: ArrayType<IntegerType>;
|
|
96
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
97
97
|
/** Boolean array state (subset selection) */
|
|
98
|
-
bool_array: ArrayType<BooleanType>;
|
|
98
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
99
99
|
}>;
|
|
100
100
|
/** Energy of best state */
|
|
101
|
-
best_energy: FloatType;
|
|
101
|
+
readonly best_energy: FloatType;
|
|
102
102
|
/** Actual iterations performed */
|
|
103
|
-
steps_taken: IntegerType;
|
|
103
|
+
readonly steps_taken: IntegerType;
|
|
104
104
|
/** Whether optimization completed successfully */
|
|
105
|
-
success: BooleanType;
|
|
105
|
+
readonly success: BooleanType;
|
|
106
106
|
}>;
|
|
107
107
|
/**
|
|
108
108
|
* Run simulated annealing on a discrete state space.
|
|
@@ -117,51 +117,51 @@ export declare const AnnealResultType: StructType<{
|
|
|
117
117
|
*/
|
|
118
118
|
export declare const simanneal_optimize: import("@elaraai/east").PlatformDefinition<[VariantType<{
|
|
119
119
|
/** Integer array state (permutations, assignments) */
|
|
120
|
-
int_array: ArrayType<IntegerType>;
|
|
120
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
121
121
|
/** Boolean array state (subset selection) */
|
|
122
|
-
bool_array: ArrayType<BooleanType>;
|
|
122
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
123
123
|
}>, FunctionType<[VariantType<{
|
|
124
124
|
/** Integer array state (permutations, assignments) */
|
|
125
|
-
int_array: ArrayType<IntegerType>;
|
|
125
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
126
126
|
/** Boolean array state (subset selection) */
|
|
127
|
-
bool_array: ArrayType<BooleanType>;
|
|
127
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
128
128
|
}>], FloatType>, FunctionType<[VariantType<{
|
|
129
129
|
/** Integer array state (permutations, assignments) */
|
|
130
|
-
int_array: ArrayType<IntegerType>;
|
|
130
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
131
131
|
/** Boolean array state (subset selection) */
|
|
132
|
-
bool_array: ArrayType<BooleanType>;
|
|
132
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
133
133
|
}>], VariantType<{
|
|
134
134
|
/** Integer array state (permutations, assignments) */
|
|
135
|
-
int_array: ArrayType<IntegerType>;
|
|
135
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
136
136
|
/** Boolean array state (subset selection) */
|
|
137
|
-
bool_array: ArrayType<BooleanType>;
|
|
137
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
138
138
|
}>>, StructType<{
|
|
139
139
|
/** Starting temperature (default: 25000.0) */
|
|
140
|
-
t_max: OptionType<FloatType>;
|
|
140
|
+
readonly t_max: OptionType<FloatType>;
|
|
141
141
|
/** Ending temperature (default: 2.5) */
|
|
142
|
-
t_min: OptionType<FloatType>;
|
|
142
|
+
readonly t_min: OptionType<FloatType>;
|
|
143
143
|
/** Total iterations (default: 50000) */
|
|
144
|
-
steps: OptionType<IntegerType>;
|
|
144
|
+
readonly steps: OptionType<IntegerType>;
|
|
145
145
|
/** Progress report frequency (default: 0 = silent) */
|
|
146
|
-
updates: OptionType<IntegerType>;
|
|
146
|
+
readonly updates: OptionType<IntegerType>;
|
|
147
147
|
/** Minutes for auto-calibration (default: none) */
|
|
148
|
-
auto_schedule: OptionType<FloatType>;
|
|
148
|
+
readonly auto_schedule: OptionType<FloatType>;
|
|
149
149
|
/** Random seed for reproducibility */
|
|
150
|
-
random_state: OptionType<IntegerType>;
|
|
150
|
+
readonly random_state: OptionType<IntegerType>;
|
|
151
151
|
}>], StructType<{
|
|
152
152
|
/** Best state found */
|
|
153
|
-
best_state: VariantType<{
|
|
153
|
+
readonly best_state: VariantType<{
|
|
154
154
|
/** Integer array state (permutations, assignments) */
|
|
155
|
-
int_array: ArrayType<IntegerType>;
|
|
155
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
156
156
|
/** Boolean array state (subset selection) */
|
|
157
|
-
bool_array: ArrayType<BooleanType>;
|
|
157
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
158
158
|
}>;
|
|
159
159
|
/** Energy of best state */
|
|
160
|
-
best_energy: FloatType;
|
|
160
|
+
readonly best_energy: FloatType;
|
|
161
161
|
/** Actual iterations performed */
|
|
162
|
-
steps_taken: IntegerType;
|
|
162
|
+
readonly steps_taken: IntegerType;
|
|
163
163
|
/** Whether optimization completed successfully */
|
|
164
|
-
success: BooleanType;
|
|
164
|
+
readonly success: BooleanType;
|
|
165
165
|
}>>;
|
|
166
166
|
/**
|
|
167
167
|
* Run simulated annealing on a permutation with swap moves.
|
|
@@ -176,31 +176,31 @@ export declare const simanneal_optimize: import("@elaraai/east").PlatformDefinit
|
|
|
176
176
|
*/
|
|
177
177
|
export declare const simanneal_optimize_permutation: import("@elaraai/east").PlatformDefinition<[ArrayType<IntegerType>, FunctionType<[ArrayType<IntegerType>], FloatType>, StructType<{
|
|
178
178
|
/** Starting temperature (default: 25000.0) */
|
|
179
|
-
t_max: OptionType<FloatType>;
|
|
179
|
+
readonly t_max: OptionType<FloatType>;
|
|
180
180
|
/** Ending temperature (default: 2.5) */
|
|
181
|
-
t_min: OptionType<FloatType>;
|
|
181
|
+
readonly t_min: OptionType<FloatType>;
|
|
182
182
|
/** Total iterations (default: 50000) */
|
|
183
|
-
steps: OptionType<IntegerType>;
|
|
183
|
+
readonly steps: OptionType<IntegerType>;
|
|
184
184
|
/** Progress report frequency (default: 0 = silent) */
|
|
185
|
-
updates: OptionType<IntegerType>;
|
|
185
|
+
readonly updates: OptionType<IntegerType>;
|
|
186
186
|
/** Minutes for auto-calibration (default: none) */
|
|
187
|
-
auto_schedule: OptionType<FloatType>;
|
|
187
|
+
readonly auto_schedule: OptionType<FloatType>;
|
|
188
188
|
/** Random seed for reproducibility */
|
|
189
|
-
random_state: OptionType<IntegerType>;
|
|
189
|
+
readonly random_state: OptionType<IntegerType>;
|
|
190
190
|
}>], StructType<{
|
|
191
191
|
/** Best state found */
|
|
192
|
-
best_state: VariantType<{
|
|
192
|
+
readonly best_state: VariantType<{
|
|
193
193
|
/** Integer array state (permutations, assignments) */
|
|
194
|
-
int_array: ArrayType<IntegerType>;
|
|
194
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
195
195
|
/** Boolean array state (subset selection) */
|
|
196
|
-
bool_array: ArrayType<BooleanType>;
|
|
196
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
197
197
|
}>;
|
|
198
198
|
/** Energy of best state */
|
|
199
|
-
best_energy: FloatType;
|
|
199
|
+
readonly best_energy: FloatType;
|
|
200
200
|
/** Actual iterations performed */
|
|
201
|
-
steps_taken: IntegerType;
|
|
201
|
+
readonly steps_taken: IntegerType;
|
|
202
202
|
/** Whether optimization completed successfully */
|
|
203
|
-
success: BooleanType;
|
|
203
|
+
readonly success: BooleanType;
|
|
204
204
|
}>>;
|
|
205
205
|
/**
|
|
206
206
|
* Run simulated annealing on a subset selection with bit-flip moves.
|
|
@@ -215,31 +215,31 @@ export declare const simanneal_optimize_permutation: import("@elaraai/east").Pla
|
|
|
215
215
|
*/
|
|
216
216
|
export declare const simanneal_optimize_subset: import("@elaraai/east").PlatformDefinition<[ArrayType<BooleanType>, FunctionType<[ArrayType<BooleanType>], FloatType>, StructType<{
|
|
217
217
|
/** Starting temperature (default: 25000.0) */
|
|
218
|
-
t_max: OptionType<FloatType>;
|
|
218
|
+
readonly t_max: OptionType<FloatType>;
|
|
219
219
|
/** Ending temperature (default: 2.5) */
|
|
220
|
-
t_min: OptionType<FloatType>;
|
|
220
|
+
readonly t_min: OptionType<FloatType>;
|
|
221
221
|
/** Total iterations (default: 50000) */
|
|
222
|
-
steps: OptionType<IntegerType>;
|
|
222
|
+
readonly steps: OptionType<IntegerType>;
|
|
223
223
|
/** Progress report frequency (default: 0 = silent) */
|
|
224
|
-
updates: OptionType<IntegerType>;
|
|
224
|
+
readonly updates: OptionType<IntegerType>;
|
|
225
225
|
/** Minutes for auto-calibration (default: none) */
|
|
226
|
-
auto_schedule: OptionType<FloatType>;
|
|
226
|
+
readonly auto_schedule: OptionType<FloatType>;
|
|
227
227
|
/** Random seed for reproducibility */
|
|
228
|
-
random_state: OptionType<IntegerType>;
|
|
228
|
+
readonly random_state: OptionType<IntegerType>;
|
|
229
229
|
}>], StructType<{
|
|
230
230
|
/** Best state found */
|
|
231
|
-
best_state: VariantType<{
|
|
231
|
+
readonly best_state: VariantType<{
|
|
232
232
|
/** Integer array state (permutations, assignments) */
|
|
233
|
-
int_array: ArrayType<IntegerType>;
|
|
233
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
234
234
|
/** Boolean array state (subset selection) */
|
|
235
|
-
bool_array: ArrayType<BooleanType>;
|
|
235
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
236
236
|
}>;
|
|
237
237
|
/** Energy of best state */
|
|
238
|
-
best_energy: FloatType;
|
|
238
|
+
readonly best_energy: FloatType;
|
|
239
239
|
/** Actual iterations performed */
|
|
240
|
-
steps_taken: IntegerType;
|
|
240
|
+
readonly steps_taken: IntegerType;
|
|
241
241
|
/** Whether optimization completed successfully */
|
|
242
|
-
success: BooleanType;
|
|
242
|
+
readonly success: BooleanType;
|
|
243
243
|
}>>;
|
|
244
244
|
/**
|
|
245
245
|
* Type definitions for Simulated Annealing.
|
|
@@ -248,28 +248,28 @@ export declare const SimAnnealTypes: {
|
|
|
248
248
|
/** Discrete state type */
|
|
249
249
|
readonly DiscreteStateType: VariantType<{
|
|
250
250
|
/** Integer array state (permutations, assignments) */
|
|
251
|
-
int_array: ArrayType<IntegerType>;
|
|
251
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
252
252
|
/** Boolean array state (subset selection) */
|
|
253
|
-
bool_array: ArrayType<BooleanType>;
|
|
253
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
254
254
|
}>;
|
|
255
255
|
/** Energy function type */
|
|
256
256
|
readonly EnergyFunctionType: FunctionType<[VariantType<{
|
|
257
257
|
/** Integer array state (permutations, assignments) */
|
|
258
|
-
int_array: ArrayType<IntegerType>;
|
|
258
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
259
259
|
/** Boolean array state (subset selection) */
|
|
260
|
-
bool_array: ArrayType<BooleanType>;
|
|
260
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
261
261
|
}>], FloatType>;
|
|
262
262
|
/** Move function type */
|
|
263
263
|
readonly MoveFunctionType: FunctionType<[VariantType<{
|
|
264
264
|
/** Integer array state (permutations, assignments) */
|
|
265
|
-
int_array: ArrayType<IntegerType>;
|
|
265
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
266
266
|
/** Boolean array state (subset selection) */
|
|
267
|
-
bool_array: ArrayType<BooleanType>;
|
|
267
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
268
268
|
}>], VariantType<{
|
|
269
269
|
/** Integer array state (permutations, assignments) */
|
|
270
|
-
int_array: ArrayType<IntegerType>;
|
|
270
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
271
271
|
/** Boolean array state (subset selection) */
|
|
272
|
-
bool_array: ArrayType<BooleanType>;
|
|
272
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
273
273
|
}>>;
|
|
274
274
|
/** Permutation energy function type */
|
|
275
275
|
readonly PermutationEnergyType: FunctionType<[ArrayType<IntegerType>], FloatType>;
|
|
@@ -278,33 +278,33 @@ export declare const SimAnnealTypes: {
|
|
|
278
278
|
/** Configuration type */
|
|
279
279
|
readonly ConfigType: StructType<{
|
|
280
280
|
/** Starting temperature (default: 25000.0) */
|
|
281
|
-
t_max: OptionType<FloatType>;
|
|
281
|
+
readonly t_max: OptionType<FloatType>;
|
|
282
282
|
/** Ending temperature (default: 2.5) */
|
|
283
|
-
t_min: OptionType<FloatType>;
|
|
283
|
+
readonly t_min: OptionType<FloatType>;
|
|
284
284
|
/** Total iterations (default: 50000) */
|
|
285
|
-
steps: OptionType<IntegerType>;
|
|
285
|
+
readonly steps: OptionType<IntegerType>;
|
|
286
286
|
/** Progress report frequency (default: 0 = silent) */
|
|
287
|
-
updates: OptionType<IntegerType>;
|
|
287
|
+
readonly updates: OptionType<IntegerType>;
|
|
288
288
|
/** Minutes for auto-calibration (default: none) */
|
|
289
|
-
auto_schedule: OptionType<FloatType>;
|
|
289
|
+
readonly auto_schedule: OptionType<FloatType>;
|
|
290
290
|
/** Random seed for reproducibility */
|
|
291
|
-
random_state: OptionType<IntegerType>;
|
|
291
|
+
readonly random_state: OptionType<IntegerType>;
|
|
292
292
|
}>;
|
|
293
293
|
/** Result type */
|
|
294
294
|
readonly ResultType: StructType<{
|
|
295
295
|
/** Best state found */
|
|
296
|
-
best_state: VariantType<{
|
|
296
|
+
readonly best_state: VariantType<{
|
|
297
297
|
/** Integer array state (permutations, assignments) */
|
|
298
|
-
int_array: ArrayType<IntegerType>;
|
|
298
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
299
299
|
/** Boolean array state (subset selection) */
|
|
300
|
-
bool_array: ArrayType<BooleanType>;
|
|
300
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
301
301
|
}>;
|
|
302
302
|
/** Energy of best state */
|
|
303
|
-
best_energy: FloatType;
|
|
303
|
+
readonly best_energy: FloatType;
|
|
304
304
|
/** Actual iterations performed */
|
|
305
|
-
steps_taken: IntegerType;
|
|
305
|
+
readonly steps_taken: IntegerType;
|
|
306
306
|
/** Whether optimization completed successfully */
|
|
307
|
-
success: BooleanType;
|
|
307
|
+
readonly success: BooleanType;
|
|
308
308
|
}>;
|
|
309
309
|
};
|
|
310
310
|
/**
|
|
@@ -353,113 +353,113 @@ export declare const SimAnneal: {
|
|
|
353
353
|
*/
|
|
354
354
|
readonly optimize: import("@elaraai/east").PlatformDefinition<[VariantType<{
|
|
355
355
|
/** Integer array state (permutations, assignments) */
|
|
356
|
-
int_array: ArrayType<IntegerType>;
|
|
356
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
357
357
|
/** Boolean array state (subset selection) */
|
|
358
|
-
bool_array: ArrayType<BooleanType>;
|
|
358
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
359
359
|
}>, FunctionType<[VariantType<{
|
|
360
360
|
/** Integer array state (permutations, assignments) */
|
|
361
|
-
int_array: ArrayType<IntegerType>;
|
|
361
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
362
362
|
/** Boolean array state (subset selection) */
|
|
363
|
-
bool_array: ArrayType<BooleanType>;
|
|
363
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
364
364
|
}>], FloatType>, FunctionType<[VariantType<{
|
|
365
365
|
/** Integer array state (permutations, assignments) */
|
|
366
|
-
int_array: ArrayType<IntegerType>;
|
|
366
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
367
367
|
/** Boolean array state (subset selection) */
|
|
368
|
-
bool_array: ArrayType<BooleanType>;
|
|
368
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
369
369
|
}>], VariantType<{
|
|
370
370
|
/** Integer array state (permutations, assignments) */
|
|
371
|
-
int_array: ArrayType<IntegerType>;
|
|
371
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
372
372
|
/** Boolean array state (subset selection) */
|
|
373
|
-
bool_array: ArrayType<BooleanType>;
|
|
373
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
374
374
|
}>>, StructType<{
|
|
375
375
|
/** Starting temperature (default: 25000.0) */
|
|
376
|
-
t_max: OptionType<FloatType>;
|
|
376
|
+
readonly t_max: OptionType<FloatType>;
|
|
377
377
|
/** Ending temperature (default: 2.5) */
|
|
378
|
-
t_min: OptionType<FloatType>;
|
|
378
|
+
readonly t_min: OptionType<FloatType>;
|
|
379
379
|
/** Total iterations (default: 50000) */
|
|
380
|
-
steps: OptionType<IntegerType>;
|
|
380
|
+
readonly steps: OptionType<IntegerType>;
|
|
381
381
|
/** Progress report frequency (default: 0 = silent) */
|
|
382
|
-
updates: OptionType<IntegerType>;
|
|
382
|
+
readonly updates: OptionType<IntegerType>;
|
|
383
383
|
/** Minutes for auto-calibration (default: none) */
|
|
384
|
-
auto_schedule: OptionType<FloatType>;
|
|
384
|
+
readonly auto_schedule: OptionType<FloatType>;
|
|
385
385
|
/** Random seed for reproducibility */
|
|
386
|
-
random_state: OptionType<IntegerType>;
|
|
386
|
+
readonly random_state: OptionType<IntegerType>;
|
|
387
387
|
}>], StructType<{
|
|
388
388
|
/** Best state found */
|
|
389
|
-
best_state: VariantType<{
|
|
389
|
+
readonly best_state: VariantType<{
|
|
390
390
|
/** Integer array state (permutations, assignments) */
|
|
391
|
-
int_array: ArrayType<IntegerType>;
|
|
391
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
392
392
|
/** Boolean array state (subset selection) */
|
|
393
|
-
bool_array: ArrayType<BooleanType>;
|
|
393
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
394
394
|
}>;
|
|
395
395
|
/** Energy of best state */
|
|
396
|
-
best_energy: FloatType;
|
|
396
|
+
readonly best_energy: FloatType;
|
|
397
397
|
/** Actual iterations performed */
|
|
398
|
-
steps_taken: IntegerType;
|
|
398
|
+
readonly steps_taken: IntegerType;
|
|
399
399
|
/** Whether optimization completed successfully */
|
|
400
|
-
success: BooleanType;
|
|
400
|
+
readonly success: BooleanType;
|
|
401
401
|
}>>;
|
|
402
402
|
/**
|
|
403
403
|
* Run simulated annealing on a permutation with swap moves.
|
|
404
404
|
*/
|
|
405
405
|
readonly optimizePermutation: import("@elaraai/east").PlatformDefinition<[ArrayType<IntegerType>, FunctionType<[ArrayType<IntegerType>], FloatType>, StructType<{
|
|
406
406
|
/** Starting temperature (default: 25000.0) */
|
|
407
|
-
t_max: OptionType<FloatType>;
|
|
407
|
+
readonly t_max: OptionType<FloatType>;
|
|
408
408
|
/** Ending temperature (default: 2.5) */
|
|
409
|
-
t_min: OptionType<FloatType>;
|
|
409
|
+
readonly t_min: OptionType<FloatType>;
|
|
410
410
|
/** Total iterations (default: 50000) */
|
|
411
|
-
steps: OptionType<IntegerType>;
|
|
411
|
+
readonly steps: OptionType<IntegerType>;
|
|
412
412
|
/** Progress report frequency (default: 0 = silent) */
|
|
413
|
-
updates: OptionType<IntegerType>;
|
|
413
|
+
readonly updates: OptionType<IntegerType>;
|
|
414
414
|
/** Minutes for auto-calibration (default: none) */
|
|
415
|
-
auto_schedule: OptionType<FloatType>;
|
|
415
|
+
readonly auto_schedule: OptionType<FloatType>;
|
|
416
416
|
/** Random seed for reproducibility */
|
|
417
|
-
random_state: OptionType<IntegerType>;
|
|
417
|
+
readonly random_state: OptionType<IntegerType>;
|
|
418
418
|
}>], StructType<{
|
|
419
419
|
/** Best state found */
|
|
420
|
-
best_state: VariantType<{
|
|
420
|
+
readonly best_state: VariantType<{
|
|
421
421
|
/** Integer array state (permutations, assignments) */
|
|
422
|
-
int_array: ArrayType<IntegerType>;
|
|
422
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
423
423
|
/** Boolean array state (subset selection) */
|
|
424
|
-
bool_array: ArrayType<BooleanType>;
|
|
424
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
425
425
|
}>;
|
|
426
426
|
/** Energy of best state */
|
|
427
|
-
best_energy: FloatType;
|
|
427
|
+
readonly best_energy: FloatType;
|
|
428
428
|
/** Actual iterations performed */
|
|
429
|
-
steps_taken: IntegerType;
|
|
429
|
+
readonly steps_taken: IntegerType;
|
|
430
430
|
/** Whether optimization completed successfully */
|
|
431
|
-
success: BooleanType;
|
|
431
|
+
readonly success: BooleanType;
|
|
432
432
|
}>>;
|
|
433
433
|
/**
|
|
434
434
|
* Run simulated annealing on a subset selection with bit-flip moves.
|
|
435
435
|
*/
|
|
436
436
|
readonly optimizeSubset: import("@elaraai/east").PlatformDefinition<[ArrayType<BooleanType>, FunctionType<[ArrayType<BooleanType>], FloatType>, StructType<{
|
|
437
437
|
/** Starting temperature (default: 25000.0) */
|
|
438
|
-
t_max: OptionType<FloatType>;
|
|
438
|
+
readonly t_max: OptionType<FloatType>;
|
|
439
439
|
/** Ending temperature (default: 2.5) */
|
|
440
|
-
t_min: OptionType<FloatType>;
|
|
440
|
+
readonly t_min: OptionType<FloatType>;
|
|
441
441
|
/** Total iterations (default: 50000) */
|
|
442
|
-
steps: OptionType<IntegerType>;
|
|
442
|
+
readonly steps: OptionType<IntegerType>;
|
|
443
443
|
/** Progress report frequency (default: 0 = silent) */
|
|
444
|
-
updates: OptionType<IntegerType>;
|
|
444
|
+
readonly updates: OptionType<IntegerType>;
|
|
445
445
|
/** Minutes for auto-calibration (default: none) */
|
|
446
|
-
auto_schedule: OptionType<FloatType>;
|
|
446
|
+
readonly auto_schedule: OptionType<FloatType>;
|
|
447
447
|
/** Random seed for reproducibility */
|
|
448
|
-
random_state: OptionType<IntegerType>;
|
|
448
|
+
readonly random_state: OptionType<IntegerType>;
|
|
449
449
|
}>], StructType<{
|
|
450
450
|
/** Best state found */
|
|
451
|
-
best_state: VariantType<{
|
|
451
|
+
readonly best_state: VariantType<{
|
|
452
452
|
/** Integer array state (permutations, assignments) */
|
|
453
|
-
int_array: ArrayType<IntegerType>;
|
|
453
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
454
454
|
/** Boolean array state (subset selection) */
|
|
455
|
-
bool_array: ArrayType<BooleanType>;
|
|
455
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
456
456
|
}>;
|
|
457
457
|
/** Energy of best state */
|
|
458
|
-
best_energy: FloatType;
|
|
458
|
+
readonly best_energy: FloatType;
|
|
459
459
|
/** Actual iterations performed */
|
|
460
|
-
steps_taken: IntegerType;
|
|
460
|
+
readonly steps_taken: IntegerType;
|
|
461
461
|
/** Whether optimization completed successfully */
|
|
462
|
-
success: BooleanType;
|
|
462
|
+
readonly success: BooleanType;
|
|
463
463
|
}>>;
|
|
464
464
|
/**
|
|
465
465
|
* Type definitions for SimAnneal functions.
|
|
@@ -468,28 +468,28 @@ export declare const SimAnneal: {
|
|
|
468
468
|
/** Discrete state type */
|
|
469
469
|
readonly DiscreteStateType: VariantType<{
|
|
470
470
|
/** Integer array state (permutations, assignments) */
|
|
471
|
-
int_array: ArrayType<IntegerType>;
|
|
471
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
472
472
|
/** Boolean array state (subset selection) */
|
|
473
|
-
bool_array: ArrayType<BooleanType>;
|
|
473
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
474
474
|
}>;
|
|
475
475
|
/** Energy function type */
|
|
476
476
|
readonly EnergyFunctionType: FunctionType<[VariantType<{
|
|
477
477
|
/** Integer array state (permutations, assignments) */
|
|
478
|
-
int_array: ArrayType<IntegerType>;
|
|
478
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
479
479
|
/** Boolean array state (subset selection) */
|
|
480
|
-
bool_array: ArrayType<BooleanType>;
|
|
480
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
481
481
|
}>], FloatType>;
|
|
482
482
|
/** Move function type */
|
|
483
483
|
readonly MoveFunctionType: FunctionType<[VariantType<{
|
|
484
484
|
/** Integer array state (permutations, assignments) */
|
|
485
|
-
int_array: ArrayType<IntegerType>;
|
|
485
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
486
486
|
/** Boolean array state (subset selection) */
|
|
487
|
-
bool_array: ArrayType<BooleanType>;
|
|
487
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
488
488
|
}>], VariantType<{
|
|
489
489
|
/** Integer array state (permutations, assignments) */
|
|
490
|
-
int_array: ArrayType<IntegerType>;
|
|
490
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
491
491
|
/** Boolean array state (subset selection) */
|
|
492
|
-
bool_array: ArrayType<BooleanType>;
|
|
492
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
493
493
|
}>>;
|
|
494
494
|
/** Permutation energy function type */
|
|
495
495
|
readonly PermutationEnergyType: FunctionType<[ArrayType<IntegerType>], FloatType>;
|
|
@@ -498,33 +498,33 @@ export declare const SimAnneal: {
|
|
|
498
498
|
/** Configuration type */
|
|
499
499
|
readonly ConfigType: StructType<{
|
|
500
500
|
/** Starting temperature (default: 25000.0) */
|
|
501
|
-
t_max: OptionType<FloatType>;
|
|
501
|
+
readonly t_max: OptionType<FloatType>;
|
|
502
502
|
/** Ending temperature (default: 2.5) */
|
|
503
|
-
t_min: OptionType<FloatType>;
|
|
503
|
+
readonly t_min: OptionType<FloatType>;
|
|
504
504
|
/** Total iterations (default: 50000) */
|
|
505
|
-
steps: OptionType<IntegerType>;
|
|
505
|
+
readonly steps: OptionType<IntegerType>;
|
|
506
506
|
/** Progress report frequency (default: 0 = silent) */
|
|
507
|
-
updates: OptionType<IntegerType>;
|
|
507
|
+
readonly updates: OptionType<IntegerType>;
|
|
508
508
|
/** Minutes for auto-calibration (default: none) */
|
|
509
|
-
auto_schedule: OptionType<FloatType>;
|
|
509
|
+
readonly auto_schedule: OptionType<FloatType>;
|
|
510
510
|
/** Random seed for reproducibility */
|
|
511
|
-
random_state: OptionType<IntegerType>;
|
|
511
|
+
readonly random_state: OptionType<IntegerType>;
|
|
512
512
|
}>;
|
|
513
513
|
/** Result type */
|
|
514
514
|
readonly ResultType: StructType<{
|
|
515
515
|
/** Best state found */
|
|
516
|
-
best_state: VariantType<{
|
|
516
|
+
readonly best_state: VariantType<{
|
|
517
517
|
/** Integer array state (permutations, assignments) */
|
|
518
|
-
int_array: ArrayType<IntegerType>;
|
|
518
|
+
readonly int_array: ArrayType<IntegerType>;
|
|
519
519
|
/** Boolean array state (subset selection) */
|
|
520
|
-
bool_array: ArrayType<BooleanType>;
|
|
520
|
+
readonly bool_array: ArrayType<BooleanType>;
|
|
521
521
|
}>;
|
|
522
522
|
/** Energy of best state */
|
|
523
|
-
best_energy: FloatType;
|
|
523
|
+
readonly best_energy: FloatType;
|
|
524
524
|
/** Actual iterations performed */
|
|
525
|
-
steps_taken: IntegerType;
|
|
525
|
+
readonly steps_taken: IntegerType;
|
|
526
526
|
/** Whether optimization completed successfully */
|
|
527
|
-
success: BooleanType;
|
|
527
|
+
readonly success: BooleanType;
|
|
528
528
|
}>;
|
|
529
529
|
};
|
|
530
530
|
};
|