@elaraai/east-py-datascience 0.0.2-beta.1 → 0.0.2-beta.11
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/LICENSE.md +56 -12
- package/README.md +42 -4
- package/dist/gp/gp.d.ts +49 -49
- 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 +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/mads/mads.d.ts +33 -33
- 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/ngboost/ngboost.d.ts +35 -35
- 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/scipy/scipy.d.ts +307 -1
- package/dist/scipy/scipy.d.ts.map +1 -1
- package/dist/scipy/scipy.js +127 -1
- package/dist/scipy/scipy.js.map +1 -1
- package/dist/shap/shap.d.ts +66 -11
- package/dist/shap/shap.d.ts.map +1 -1
- package/dist/shap/shap.js +14 -3
- package/dist/shap/shap.js.map +1 -1
- package/dist/sklearn/sklearn.d.ts +1627 -200
- package/dist/sklearn/sklearn.d.ts.map +1 -1
- package/dist/sklearn/sklearn.js +274 -57
- package/dist/sklearn/sklearn.js.map +1 -1
- package/dist/torch/torch.d.ts +522 -99
- package/dist/torch/torch.d.ts.map +1 -1
- package/dist/torch/torch.js +133 -17
- package/dist/torch/torch.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/xgboost/xgboost.d.ts +427 -0
- package/dist/xgboost/xgboost.d.ts.map +1 -1
- package/dist/xgboost/xgboost.js +79 -0
- package/dist/xgboost/xgboost.js.map +1 -1
- package/package.json +3 -3
package/LICENSE.md
CHANGED
|
@@ -1,18 +1,62 @@
|
|
|
1
|
+
# Licensing
|
|
2
|
+
|
|
1
3
|
Copyright (c) 2025 Elara AI Pty Ltd
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
This package contains both TypeScript and Python code with different licenses:
|
|
6
|
+
|
|
7
|
+
## TypeScript (npm package: @elaraai/east-py-datascience)
|
|
8
|
+
|
|
9
|
+
The TypeScript type definitions are dual-licensed:
|
|
10
|
+
|
|
11
|
+
### Option 1: AGPL-3.0 (Open Source)
|
|
12
|
+
|
|
13
|
+
You may use, modify, and distribute the TypeScript code under the terms of the GNU Affero General Public License v3.0. This requires that if you use this software in a network service, you must make your complete source code available under AGPL-3.0.
|
|
14
|
+
|
|
15
|
+
Full text: https://www.gnu.org/licenses/agpl-3.0.html
|
|
16
|
+
|
|
17
|
+
### Option 2: Commercial License
|
|
18
|
+
|
|
19
|
+
If you wish to use the TypeScript code without the source code disclosure requirements of AGPL-3.0, contact us for a commercial license.
|
|
20
|
+
|
|
21
|
+
## Python Runtime (Business Source License 1.1)
|
|
22
|
+
|
|
23
|
+
**Licensor:** Elara AI Pty Ltd
|
|
24
|
+
|
|
25
|
+
**Licensed Work:** east-py-datascience Python runtime
|
|
26
|
+
|
|
27
|
+
**Change Date:** Four years from the date of each release
|
|
28
|
+
|
|
29
|
+
**Change License:** AGPL-3.0
|
|
30
|
+
|
|
31
|
+
### Grant of Rights
|
|
32
|
+
|
|
33
|
+
The Licensor grants you the right to copy, modify, create derivative works, redistribute, and make non-production use of the Licensed Work.
|
|
34
|
+
|
|
35
|
+
### Production Use Limitation
|
|
36
|
+
|
|
37
|
+
**"Production Use"** means any use by or on behalf of a for-profit entity, other than for evaluation, testing, or development purposes.
|
|
38
|
+
|
|
39
|
+
Production Use requires a separate commercial license from the Licensor.
|
|
40
|
+
|
|
41
|
+
### Change Date
|
|
42
|
+
|
|
43
|
+
On the Change Date (four years after each release), the Licensed Work will be made available under the Change License (AGPL-3.0).
|
|
44
|
+
|
|
45
|
+
### No Warranty
|
|
46
|
+
|
|
47
|
+
THE LICENSED WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. THE LICENSOR DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
48
|
+
|
|
49
|
+
## Commercial Licensing
|
|
50
|
+
|
|
51
|
+
To obtain a commercial license for Production Use, contact:
|
|
52
|
+
|
|
53
|
+
**Email:** support@elara.ai
|
|
54
|
+
**Website:** https://elaraai.com
|
|
4
55
|
|
|
5
|
-
|
|
6
|
-
applies to your use:
|
|
56
|
+
## Governing Law
|
|
7
57
|
|
|
8
|
-
|
|
9
|
-
You may use, modify, and distribute this software under the terms of the
|
|
10
|
-
GNU Affero General Public License v3.0. This requires that if you use this
|
|
11
|
-
software in a network service, you must make your complete source code
|
|
12
|
-
available under AGPL-3.0.
|
|
58
|
+
This license is governed by the laws of New South Wales, Australia.
|
|
13
59
|
|
|
14
|
-
|
|
15
|
-
If you wish to use this software without the source code disclosure requirements
|
|
16
|
-
of AGPL-3.0, you must obtain a separate commercial license from Elara AI Pty Ltd.
|
|
60
|
+
---
|
|
17
61
|
|
|
18
|
-
|
|
62
|
+
*Elara AI Pty Ltd*
|
package/README.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
> Data science and ML platform functions for the East language
|
|
4
4
|
|
|
5
|
-
[](LICENSE.md)
|
|
6
|
+
[](LICENSE.md)
|
|
6
7
|
[](https://nodejs.org)
|
|
7
8
|
|
|
8
9
|
**East Data Science** provides machine learning and optimization platform functions for the [East language](https://github.com/elaraai/East).
|
|
@@ -88,9 +89,42 @@ npm run lint # Check code quality
|
|
|
88
89
|
|
|
89
90
|
## License
|
|
90
91
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
This package has different licenses for TypeScript and Python code:
|
|
93
|
+
|
|
94
|
+
**TypeScript (type definitions):** Dual AGPL-3.0 / Commercial
|
|
95
|
+
- Open source use: [AGPL-3.0](LICENSE.md)
|
|
96
|
+
- Commercial use: Available for proprietary use - contact support@elara.ai
|
|
97
|
+
|
|
98
|
+
**Python (runtime implementations):** BSL 1.1 (Business Source License)
|
|
99
|
+
- Non-production use (evaluation, testing, development) is free
|
|
100
|
+
- Production use by or on behalf of for-profit entities requires a commercial license
|
|
101
|
+
- Code becomes AGPL-3.0 four years after each release
|
|
102
|
+
|
|
103
|
+
See [LICENSE.md](LICENSE.md) for full details.
|
|
104
|
+
|
|
105
|
+
**Commercial licensing:** support@elara.ai
|
|
106
|
+
|
|
107
|
+
### Ecosystem
|
|
108
|
+
|
|
109
|
+
- **[East Node](https://github.com/elaraai/east-node)**: Node.js platform functions for I/O, databases, and system operations. Connect East programs to filesystems, SQL/NoSQL databases, cloud storage, and network services.
|
|
110
|
+
- [@elaraai/east-node-std](https://www.npmjs.com/package/@elaraai/east-node-std): Filesystem, console, HTTP fetch, crypto, random distributions, timestamps
|
|
111
|
+
- [@elaraai/east-node-io](https://www.npmjs.com/package/@elaraai/east-node-io): SQLite, PostgreSQL, MySQL, MongoDB, S3, FTP, SFTP
|
|
112
|
+
- [@elaraai/east-node-cli](https://www.npmjs.com/package/@elaraai/east-node-cli): CLI for running East IR programs in Node.js
|
|
113
|
+
|
|
114
|
+
- **[East Python](https://github.com/elaraai/east-py)**: Python runtime and platform functions for data science and machine learning. Execute East programs with access to optimization solvers, gradient boosting, neural networks, and model explainability.
|
|
115
|
+
- [@elaraai/east-py-datascience](https://www.npmjs.com/package/@elaraai/east-py-datascience): TypeScript types for optimization, gradient boosting, neural networks, explainability
|
|
116
|
+
|
|
117
|
+
- **[East UI](https://github.com/elaraai/east-ui)**: East types and expressions for building dashboards and interactive layouts. Define UIs as data structures that render consistently across React, web, and other environments.
|
|
118
|
+
- [@elaraai/east-ui](https://www.npmjs.com/package/@elaraai/east-ui): 50+ typed UI components for layouts, forms, charts, tables, dialogs
|
|
119
|
+
- [@elaraai/east-ui-components](https://www.npmjs.com/package/@elaraai/east-ui-components): React renderer with Chakra UI styling
|
|
120
|
+
|
|
121
|
+
- **[e3 - East Execution Engine](https://github.com/elaraai/e3)**: Durable execution engine for running East pipelines at scale. Features Git-like content-addressable storage, automatic memoization, task queuing, and real-time monitoring.
|
|
122
|
+
- [@elaraai/e3](https://www.npmjs.com/package/@elaraai/e3): SDK for authoring e3 packages with typed tasks and pipelines
|
|
123
|
+
- [@elaraai/e3-core](https://www.npmjs.com/package/@elaraai/e3-core): Git-like object store, task queue, result caching
|
|
124
|
+
- [@elaraai/e3-types](https://www.npmjs.com/package/@elaraai/e3-types): Shared type definitions for e3 packages
|
|
125
|
+
- [@elaraai/e3-cli](https://www.npmjs.com/package/@elaraai/e3-cli): `e3 init`, `e3 run`, `e3 logs` commands for managing and monitoring tasks
|
|
126
|
+
- [@elaraai/e3-api-client](https://www.npmjs.com/package/@elaraai/e3-api-client): HTTP client for remote e3 servers
|
|
127
|
+
- [@elaraai/e3-api-server](https://www.npmjs.com/package/@elaraai/e3-api-server): REST API server for e3 repositories
|
|
94
128
|
|
|
95
129
|
## Links
|
|
96
130
|
|
|
@@ -99,6 +133,10 @@ Dual-licensed:
|
|
|
99
133
|
- **Issues**: [https://github.com/elaraai/east-py/issues](https://github.com/elaraai/east-py/issues)
|
|
100
134
|
- **Email**: support@elara.ai
|
|
101
135
|
|
|
136
|
+
## About Elara
|
|
137
|
+
|
|
138
|
+
East is developed by [Elara AI Pty Ltd](https://elaraai.com/), an AI-powered platform that creates economic digital twins of businesses that optimize performance. Elara combines business objectives, decisions and data to help organizations make data-driven decisions across operations, purchasing, sales and customer engagement, and project and investment planning. East powers the computational layer of Elara solutions, enabling the expression of complex business logic and data in a simple, type-safe and portable language.
|
|
139
|
+
|
|
102
140
|
---
|
|
103
141
|
|
|
104
142
|
*Developed by [Elara AI Pty Ltd](https://elaraai.com/)*
|
package/dist/gp/gp.d.ts
CHANGED
|
@@ -10,24 +10,24 @@
|
|
|
10
10
|
*
|
|
11
11
|
* @packageDocumentation
|
|
12
12
|
*/
|
|
13
|
-
import { StructType, VariantType, OptionType, IntegerType, FloatType, BooleanType, BlobType, StringType } from "@elaraai/east";
|
|
13
|
+
import { StructType, VariantType, OptionType, IntegerType, FloatType, BooleanType, BlobType, StringType, NullType } from "@elaraai/east";
|
|
14
14
|
export { VectorType, MatrixType } from "../types.js";
|
|
15
15
|
/**
|
|
16
16
|
* Kernel type for Gaussian Process.
|
|
17
17
|
*/
|
|
18
18
|
export declare const GPKernelType: VariantType<{
|
|
19
19
|
/** Radial Basis Function (squared exponential) */
|
|
20
|
-
rbf:
|
|
20
|
+
rbf: NullType;
|
|
21
21
|
/** Matern with nu=1/2 (exponential) */
|
|
22
|
-
matern_1_2:
|
|
22
|
+
matern_1_2: NullType;
|
|
23
23
|
/** Matern with nu=3/2 */
|
|
24
|
-
matern_3_2:
|
|
24
|
+
matern_3_2: NullType;
|
|
25
25
|
/** Matern with nu=5/2 */
|
|
26
|
-
matern_5_2:
|
|
26
|
+
matern_5_2: NullType;
|
|
27
27
|
/** Rational Quadratic */
|
|
28
|
-
rational_quadratic:
|
|
28
|
+
rational_quadratic: NullType;
|
|
29
29
|
/** Dot Product (linear) */
|
|
30
|
-
dot_product:
|
|
30
|
+
dot_product: NullType;
|
|
31
31
|
}>;
|
|
32
32
|
/**
|
|
33
33
|
* Configuration for Gaussian Process Regressor.
|
|
@@ -36,17 +36,17 @@ export declare const GPConfigType: StructType<{
|
|
|
36
36
|
/** Kernel type (default rbf) */
|
|
37
37
|
kernel: OptionType<VariantType<{
|
|
38
38
|
/** Radial Basis Function (squared exponential) */
|
|
39
|
-
rbf:
|
|
39
|
+
rbf: NullType;
|
|
40
40
|
/** Matern with nu=1/2 (exponential) */
|
|
41
|
-
matern_1_2:
|
|
41
|
+
matern_1_2: NullType;
|
|
42
42
|
/** Matern with nu=3/2 */
|
|
43
|
-
matern_3_2:
|
|
43
|
+
matern_3_2: NullType;
|
|
44
44
|
/** Matern with nu=5/2 */
|
|
45
|
-
matern_5_2:
|
|
45
|
+
matern_5_2: NullType;
|
|
46
46
|
/** Rational Quadratic */
|
|
47
|
-
rational_quadratic:
|
|
47
|
+
rational_quadratic: NullType;
|
|
48
48
|
/** Dot Product (linear) */
|
|
49
|
-
dot_product:
|
|
49
|
+
dot_product: NullType;
|
|
50
50
|
}>>;
|
|
51
51
|
/** Noise level added to diagonal (default 1e-10) */
|
|
52
52
|
alpha: OptionType<FloatType>;
|
|
@@ -92,17 +92,17 @@ export declare const gp_train: import("@elaraai/east").PlatformDefinition<[impor
|
|
|
92
92
|
/** Kernel type (default rbf) */
|
|
93
93
|
kernel: OptionType<VariantType<{
|
|
94
94
|
/** Radial Basis Function (squared exponential) */
|
|
95
|
-
rbf:
|
|
95
|
+
rbf: NullType;
|
|
96
96
|
/** Matern with nu=1/2 (exponential) */
|
|
97
|
-
matern_1_2:
|
|
97
|
+
matern_1_2: NullType;
|
|
98
98
|
/** Matern with nu=3/2 */
|
|
99
|
-
matern_3_2:
|
|
99
|
+
matern_3_2: NullType;
|
|
100
100
|
/** Matern with nu=5/2 */
|
|
101
|
-
matern_5_2:
|
|
101
|
+
matern_5_2: NullType;
|
|
102
102
|
/** Rational Quadratic */
|
|
103
|
-
rational_quadratic:
|
|
103
|
+
rational_quadratic: NullType;
|
|
104
104
|
/** Dot Product (linear) */
|
|
105
|
-
dot_product:
|
|
105
|
+
dot_product: NullType;
|
|
106
106
|
}>>;
|
|
107
107
|
/** Noise level added to diagonal (default 1e-10) */
|
|
108
108
|
alpha: OptionType<FloatType>;
|
|
@@ -179,34 +179,34 @@ export declare const GPTypes: {
|
|
|
179
179
|
/** Kernel type */
|
|
180
180
|
readonly GPKernelType: VariantType<{
|
|
181
181
|
/** Radial Basis Function (squared exponential) */
|
|
182
|
-
rbf:
|
|
182
|
+
rbf: NullType;
|
|
183
183
|
/** Matern with nu=1/2 (exponential) */
|
|
184
|
-
matern_1_2:
|
|
184
|
+
matern_1_2: NullType;
|
|
185
185
|
/** Matern with nu=3/2 */
|
|
186
|
-
matern_3_2:
|
|
186
|
+
matern_3_2: NullType;
|
|
187
187
|
/** Matern with nu=5/2 */
|
|
188
|
-
matern_5_2:
|
|
188
|
+
matern_5_2: NullType;
|
|
189
189
|
/** Rational Quadratic */
|
|
190
|
-
rational_quadratic:
|
|
190
|
+
rational_quadratic: NullType;
|
|
191
191
|
/** Dot Product (linear) */
|
|
192
|
-
dot_product:
|
|
192
|
+
dot_product: NullType;
|
|
193
193
|
}>;
|
|
194
194
|
/** Configuration type */
|
|
195
195
|
readonly GPConfigType: StructType<{
|
|
196
196
|
/** Kernel type (default rbf) */
|
|
197
197
|
kernel: OptionType<VariantType<{
|
|
198
198
|
/** Radial Basis Function (squared exponential) */
|
|
199
|
-
rbf:
|
|
199
|
+
rbf: NullType;
|
|
200
200
|
/** Matern with nu=1/2 (exponential) */
|
|
201
|
-
matern_1_2:
|
|
201
|
+
matern_1_2: NullType;
|
|
202
202
|
/** Matern with nu=3/2 */
|
|
203
|
-
matern_3_2:
|
|
203
|
+
matern_3_2: NullType;
|
|
204
204
|
/** Matern with nu=5/2 */
|
|
205
|
-
matern_5_2:
|
|
205
|
+
matern_5_2: NullType;
|
|
206
206
|
/** Rational Quadratic */
|
|
207
|
-
rational_quadratic:
|
|
207
|
+
rational_quadratic: NullType;
|
|
208
208
|
/** Dot Product (linear) */
|
|
209
|
-
dot_product:
|
|
209
|
+
dot_product: NullType;
|
|
210
210
|
}>>;
|
|
211
211
|
/** Noise level added to diagonal (default 1e-10) */
|
|
212
212
|
alpha: OptionType<FloatType>;
|
|
@@ -267,17 +267,17 @@ export declare const GP: {
|
|
|
267
267
|
/** Kernel type (default rbf) */
|
|
268
268
|
kernel: OptionType<VariantType<{
|
|
269
269
|
/** Radial Basis Function (squared exponential) */
|
|
270
|
-
rbf:
|
|
270
|
+
rbf: NullType;
|
|
271
271
|
/** Matern with nu=1/2 (exponential) */
|
|
272
|
-
matern_1_2:
|
|
272
|
+
matern_1_2: NullType;
|
|
273
273
|
/** Matern with nu=3/2 */
|
|
274
|
-
matern_3_2:
|
|
274
|
+
matern_3_2: NullType;
|
|
275
275
|
/** Matern with nu=5/2 */
|
|
276
|
-
matern_5_2:
|
|
276
|
+
matern_5_2: NullType;
|
|
277
277
|
/** Rational Quadratic */
|
|
278
|
-
rational_quadratic:
|
|
278
|
+
rational_quadratic: NullType;
|
|
279
279
|
/** Dot Product (linear) */
|
|
280
|
-
dot_product:
|
|
280
|
+
dot_product: NullType;
|
|
281
281
|
}>>;
|
|
282
282
|
/** Noise level added to diagonal (default 1e-10) */
|
|
283
283
|
alpha: OptionType<FloatType>;
|
|
@@ -336,34 +336,34 @@ export declare const GP: {
|
|
|
336
336
|
/** Kernel type */
|
|
337
337
|
readonly GPKernelType: VariantType<{
|
|
338
338
|
/** Radial Basis Function (squared exponential) */
|
|
339
|
-
rbf:
|
|
339
|
+
rbf: NullType;
|
|
340
340
|
/** Matern with nu=1/2 (exponential) */
|
|
341
|
-
matern_1_2:
|
|
341
|
+
matern_1_2: NullType;
|
|
342
342
|
/** Matern with nu=3/2 */
|
|
343
|
-
matern_3_2:
|
|
343
|
+
matern_3_2: NullType;
|
|
344
344
|
/** Matern with nu=5/2 */
|
|
345
|
-
matern_5_2:
|
|
345
|
+
matern_5_2: NullType;
|
|
346
346
|
/** Rational Quadratic */
|
|
347
|
-
rational_quadratic:
|
|
347
|
+
rational_quadratic: NullType;
|
|
348
348
|
/** Dot Product (linear) */
|
|
349
|
-
dot_product:
|
|
349
|
+
dot_product: NullType;
|
|
350
350
|
}>;
|
|
351
351
|
/** Configuration type */
|
|
352
352
|
readonly GPConfigType: StructType<{
|
|
353
353
|
/** Kernel type (default rbf) */
|
|
354
354
|
kernel: OptionType<VariantType<{
|
|
355
355
|
/** Radial Basis Function (squared exponential) */
|
|
356
|
-
rbf:
|
|
356
|
+
rbf: NullType;
|
|
357
357
|
/** Matern with nu=1/2 (exponential) */
|
|
358
|
-
matern_1_2:
|
|
358
|
+
matern_1_2: NullType;
|
|
359
359
|
/** Matern with nu=3/2 */
|
|
360
|
-
matern_3_2:
|
|
360
|
+
matern_3_2: NullType;
|
|
361
361
|
/** Matern with nu=5/2 */
|
|
362
|
-
matern_5_2:
|
|
362
|
+
matern_5_2: NullType;
|
|
363
363
|
/** Rational Quadratic */
|
|
364
|
-
rational_quadratic:
|
|
364
|
+
rational_quadratic: NullType;
|
|
365
365
|
/** Dot Product (linear) */
|
|
366
|
-
dot_product:
|
|
366
|
+
dot_product: NullType;
|
|
367
367
|
}>>;
|
|
368
368
|
/** Noise level added to diagonal (default 1e-10) */
|
|
369
369
|
alpha: OptionType<FloatType>;
|
package/dist/gp/gp.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gp.d.ts","sourceRoot":"","sources":["../../src/gp/gp.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AAEH,OAAO,EAEH,UAAU,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,EACR,UAAU,
|
|
1
|
+
{"version":3,"file":"gp.d.ts","sourceRoot":"","sources":["../../src/gp/gp.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AAEH,OAAO,EAEH,UAAU,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,EACR,UAAU,EACV,QAAQ,EACX,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAMrD;;GAEG;AACH,eAAO,MAAM,YAAY;IACrB,kDAAkD;;IAElD,uCAAuC;;IAEvC,yBAAyB;;IAEzB,yBAAyB;;IAEzB,yBAAyB;;IAEzB,2BAA2B;;EAE7B,CAAC;AAMH;;GAEG;AACH,eAAO,MAAM,YAAY;IACrB,gCAAgC;;QAtBhC,kDAAkD;;QAElD,uCAAuC;;QAEvC,yBAAyB;;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YAE5B,iDAAiD;;;QAyFjD,oCAAoC;;YA7EpC,iCAAiC;;gBAE7B,mCAAmC;;gBAEnC,+BAA+B;;gBAE/B,qCAAqC;;;;;CA4GnC,CAAC"}
|
package/dist/gp/gp.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* @packageDocumentation
|
|
12
12
|
*/
|
|
13
|
-
import { East, StructType, VariantType, OptionType, IntegerType, FloatType, BooleanType, BlobType, StringType, } from "@elaraai/east";
|
|
13
|
+
import { East, StructType, VariantType, OptionType, IntegerType, FloatType, BooleanType, BlobType, StringType, NullType, } from "@elaraai/east";
|
|
14
14
|
import { VectorType, MatrixType } from "../types.js";
|
|
15
15
|
// Re-export shared types for convenience
|
|
16
16
|
export { VectorType, MatrixType } from "../types.js";
|
|
@@ -22,17 +22,17 @@ export { VectorType, MatrixType } from "../types.js";
|
|
|
22
22
|
*/
|
|
23
23
|
export const GPKernelType = VariantType({
|
|
24
24
|
/** Radial Basis Function (squared exponential) */
|
|
25
|
-
rbf:
|
|
25
|
+
rbf: NullType,
|
|
26
26
|
/** Matern with nu=1/2 (exponential) */
|
|
27
|
-
matern_1_2:
|
|
27
|
+
matern_1_2: NullType,
|
|
28
28
|
/** Matern with nu=3/2 */
|
|
29
|
-
matern_3_2:
|
|
29
|
+
matern_3_2: NullType,
|
|
30
30
|
/** Matern with nu=5/2 */
|
|
31
|
-
matern_5_2:
|
|
31
|
+
matern_5_2: NullType,
|
|
32
32
|
/** Rational Quadratic */
|
|
33
|
-
rational_quadratic:
|
|
33
|
+
rational_quadratic: NullType,
|
|
34
34
|
/** Dot Product (linear) */
|
|
35
|
-
dot_product:
|
|
35
|
+
dot_product: NullType,
|
|
36
36
|
});
|
|
37
37
|
// ============================================================================
|
|
38
38
|
// Config Types
|
package/dist/gp/gp.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gp.js","sourceRoot":"","sources":["../../src/gp/gp.ts"],"names":[],"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V,kBAAkB;IAClB,YAAY;IACZ,yBAAyB;IACzB,YAAY;IACZ,8CAA8C;IAC9C,mBAAmB;IACnB,oCAAoC;IACpC,aAAa,EAAE,eAAe;CACxB,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,CAAC,MAAM,EAAE,GAAG;IACd,yBAAyB;IACzB,KAAK,EAAE,QAAQ;IACf,mCAAmC;IACnC,OAAO,EAAE,UAAU;IACnB,wCAAwC;IACxC,UAAU,EAAE,cAAc;IAC1B,uBAAuB;IACvB,KAAK,EAAE,OAAO;CACR,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
export { MADS, mads_optimize, MADSTypes, VectorType, ScalarObjectiveType, MADSBoundsType, MADSConstraintType, MADSDirectionType, MADSConfigType, MADSResultType, } from "./mads/mads.js";
|
|
16
16
|
export { Optuna, optuna_optimize, OptunaTypes, ParamValueType, ParamSpaceKindType, ParamSpaceType, NamedParamType, OptimizationDirectionType, PrunerType, OptunaStudyConfigType, TrialResultType, StudyResultType, ObjectiveFunctionType, } from "./optuna/optuna.js";
|
|
17
17
|
export { SimAnneal, simanneal_optimize, simanneal_optimize_permutation, simanneal_optimize_subset, SimAnnealTypes, DiscreteStateType, EnergyFunctionType, MoveFunctionType, PermutationEnergyType, SubsetEnergyType, AnnealConfigType, AnnealResultType, } from "./simanneal/simanneal.js";
|
|
18
|
-
export { Sklearn, sklearn_train_test_split, sklearn_standard_scaler_fit, sklearn_standard_scaler_transform, sklearn_min_max_scaler_fit, sklearn_min_max_scaler_transform,
|
|
18
|
+
export { Sklearn, sklearn_train_test_split, sklearn_train_val_test_split, sklearn_standard_scaler_fit, sklearn_standard_scaler_transform, sklearn_min_max_scaler_fit, sklearn_min_max_scaler_transform, sklearn_compute_metrics, sklearn_compute_metrics_multi, sklearn_compute_classification_metrics, sklearn_compute_classification_metrics_multi, sklearn_regressor_chain_train, sklearn_regressor_chain_predict, SklearnTypes, SplitConfigType, SplitResultType, ThreeWaySplitConfigType, ThreeWaySplitResultType, SklearnModelBlobType, RegressorChainBaseConfigType, RegressorChainConfigType, RegressionMetricType, MetricResultType, MetricsResultType, MetricAggregationType, MultiMetricsConfigType, MultiMetricResultType, MultiMetricsResultType, ClassificationMetricType, ClassificationAverageType, ClassificationMetricsConfigType, ClassificationMetricResultType, ClassificationMetricResultsType, MultiClassificationConfigType, MultiClassificationMetricResultType, MultiClassificationMetricResultsType, } from "./sklearn/sklearn.js";
|
|
19
19
|
export { Scipy, scipy_curve_fit, scipy_stats_describe, scipy_stats_pearsonr, scipy_stats_spearmanr, scipy_interpolate_1d_fit, scipy_interpolate_1d_predict, scipy_optimize_minimize, scipy_optimize_minimize_quadratic, ScipyTypes, OptimizeMethodType, InterpolationKindType, OptimizeConfigType, InterpolateConfigType, ParamBoundsType, CustomCurveFunctionType, CurveFunctionType, CurveFitConfigType, QuadraticConfigType, StatsDescribeResultType, CorrelationResultType, CurveFitResultType, OptimizeResultType, ScipyModelBlobType, } from "./scipy/scipy.js";
|
|
20
|
-
export { XGBoost, xgboost_train_regressor, xgboost_train_classifier, xgboost_predict, xgboost_predict_class, xgboost_predict_proba, XGBoostTypes, XGBoostConfigType, XGBoostModelBlobType, } from "./xgboost/xgboost.js";
|
|
20
|
+
export { XGBoost, xgboost_train_regressor, xgboost_train_classifier, xgboost_train_quantile, xgboost_predict, xgboost_predict_class, xgboost_predict_proba, xgboost_predict_quantile, XGBoostTypes, XGBoostConfigType, XGBoostQuantileConfigType, XGBoostQuantilePredictResultType, XGBoostModelBlobType, } from "./xgboost/xgboost.js";
|
|
21
21
|
export { LightGBM, lightgbm_train_regressor, lightgbm_train_classifier, lightgbm_predict, lightgbm_predict_class, lightgbm_predict_proba, LightGBMTypes, LightGBMConfigType, LightGBMModelBlobType, } from "./lightgbm/lightgbm.js";
|
|
22
22
|
export { NGBoost, ngboost_train_regressor, ngboost_predict, ngboost_predict_dist, NGBoostTypes, NGBoostDistributionType, NGBoostConfigType, NGBoostPredictConfigType, NGBoostPredictResultType, NGBoostModelBlobType, } from "./ngboost/ngboost.js";
|
|
23
23
|
export { Shap, shap_tree_explainer_create, shap_kernel_explainer_create, shap_compute_values, shap_feature_importance, ShapTypes, ShapResultType, FeatureImportanceType, ShapModelBlobType, AnyModelBlobType, StringVectorType, } from "./shap/shap.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;GASG;AAGH,OAAO,EACH,IAAI,EACJ,aAAa,EACb,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,cAAc,GACjB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACH,MAAM,EACN,eAAe,EACf,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,yBAAyB,EACzB,UAAU,EACV,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,qBAAqB,GACxB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACH,SAAS,EACT,kBAAkB,EAClB,8BAA8B,EAC9B,yBAAyB,EACzB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,GACnB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EACH,OAAO,EACP,wBAAwB,EACxB,2BAA2B,EAC3B,iCAAiC,EACjC,0BAA0B,EAC1B,gCAAgC,EAChC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;GASG;AAGH,OAAO,EACH,IAAI,EACJ,aAAa,EACb,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd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ClB,MAAM,YAAY,CAAC;AAGpB,OAAO,EACH,UAAU,IAAI,gBAAgB,EAC9B,UAAU,IAAI,gBAAgB,EAC9B,mBAAmB,IAAI,yBAAyB,EAChD,mBAAmB,EACnB,eAAe,GAClB,MAAM,YAAY,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -19,11 +19,13 @@ export { Optuna, optuna_optimize, OptunaTypes, ParamValueType, ParamSpaceKindTyp
|
|
|
19
19
|
// SimAnneal - Discrete optimization
|
|
20
20
|
export { SimAnneal, simanneal_optimize, simanneal_optimize_permutation, simanneal_optimize_subset, SimAnnealTypes, DiscreteStateType, EnergyFunctionType, MoveFunctionType, PermutationEnergyType, SubsetEnergyType, AnnealConfigType, AnnealResultType, } from "./simanneal/simanneal.js";
|
|
21
21
|
// Sklearn - ML utilities
|
|
22
|
-
export { Sklearn, sklearn_train_test_split, sklearn_standard_scaler_fit, sklearn_standard_scaler_transform, sklearn_min_max_scaler_fit, sklearn_min_max_scaler_transform,
|
|
22
|
+
export { Sklearn, sklearn_train_test_split, sklearn_train_val_test_split, sklearn_standard_scaler_fit, sklearn_standard_scaler_transform, sklearn_min_max_scaler_fit, sklearn_min_max_scaler_transform, sklearn_compute_metrics, sklearn_compute_metrics_multi, sklearn_compute_classification_metrics, sklearn_compute_classification_metrics_multi, sklearn_regressor_chain_train, sklearn_regressor_chain_predict, SklearnTypes, SplitConfigType, SplitResultType, ThreeWaySplitConfigType, ThreeWaySplitResultType, SklearnModelBlobType, RegressorChainBaseConfigType, RegressorChainConfigType,
|
|
23
|
+
// Flexible metrics types
|
|
24
|
+
RegressionMetricType, MetricResultType, MetricsResultType, MetricAggregationType, MultiMetricsConfigType, MultiMetricResultType, MultiMetricsResultType, ClassificationMetricType, ClassificationAverageType, ClassificationMetricsConfigType, ClassificationMetricResultType, ClassificationMetricResultsType, MultiClassificationConfigType, MultiClassificationMetricResultType, MultiClassificationMetricResultsType, } from "./sklearn/sklearn.js";
|
|
23
25
|
// Scipy - Scientific computing
|
|
24
26
|
export { Scipy, scipy_curve_fit, scipy_stats_describe, scipy_stats_pearsonr, scipy_stats_spearmanr, scipy_interpolate_1d_fit, scipy_interpolate_1d_predict, scipy_optimize_minimize, scipy_optimize_minimize_quadratic, ScipyTypes, OptimizeMethodType, InterpolationKindType, OptimizeConfigType, InterpolateConfigType, ParamBoundsType, CustomCurveFunctionType, CurveFunctionType, CurveFitConfigType, QuadraticConfigType, StatsDescribeResultType, CorrelationResultType, CurveFitResultType, OptimizeResultType, ScipyModelBlobType, } from "./scipy/scipy.js";
|
|
25
27
|
// XGBoost - Gradient boosting
|
|
26
|
-
export { XGBoost, xgboost_train_regressor, xgboost_train_classifier, xgboost_predict, xgboost_predict_class, xgboost_predict_proba, XGBoostTypes, XGBoostConfigType, XGBoostModelBlobType, } from "./xgboost/xgboost.js";
|
|
28
|
+
export { XGBoost, xgboost_train_regressor, xgboost_train_classifier, xgboost_train_quantile, xgboost_predict, xgboost_predict_class, xgboost_predict_proba, xgboost_predict_quantile, XGBoostTypes, XGBoostConfigType, XGBoostQuantileConfigType, XGBoostQuantilePredictResultType, XGBoostModelBlobType, } from "./xgboost/xgboost.js";
|
|
27
29
|
// LightGBM - Fast gradient boosting
|
|
28
30
|
export { LightGBM, lightgbm_train_regressor, lightgbm_train_classifier, lightgbm_predict, lightgbm_predict_class, lightgbm_predict_proba, LightGBMTypes, LightGBMConfigType, LightGBMModelBlobType, } from "./lightgbm/lightgbm.js";
|
|
29
31
|
// NGBoost - Probabilistic gradient boosting
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;GASG;AAEH,sCAAsC;AACtC,OAAO,EACH,IAAI,EACJ,aAAa,EACb,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,cAAc,GACjB,MAAM,gBAAgB,CAAC;AAExB,iCAAiC;AACjC,OAAO,EACH,MAAM,EACN,eAAe,EACf,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,yBAAyB,EACzB,UAAU,EACV,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,qBAAqB,GACxB,MAAM,oBAAoB,CAAC;AAE5B,oCAAoC;AACpC,OAAO,EACH,SAAS,EACT,kBAAkB,EAClB,8BAA8B,EAC9B,yBAAyB,EACzB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,GACnB,MAAM,0BAA0B,CAAC;AAElC,yBAAyB;AACzB,OAAO,EACH,OAAO,EACP,wBAAwB,EACxB,2BAA2B,EAC3B,iCAAiC,EACjC,0BAA0B,EAC1B,gCAAgC,EAChC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;GASG;AAEH,sCAAsC;AACtC,OAAO,EACH,IAAI,EACJ,aAAa,EACb,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,cAAc,GACjB,MAAM,gBAAgB,CAAC;AAExB,iCAAiC;AACjC,OAAO,EACH,MAAM,EACN,eAAe,EACf,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,yBAAyB,EACzB,UAAU,EACV,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,qBAAqB,GACxB,MAAM,oBAAoB,CAAC;AAE5B,oCAAoC;AACpC,OAAO,EACH,SAAS,EACT,kBAAkB,EAClB,8BAA8B,EAC9B,yBAAyB,EACzB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EACh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StructType, VariantType, OptionType, ArrayType, IntegerType, BooleanType, FloatType } from "@elaraai/east";
|
|
17
|
+
import { StructType, VariantType, OptionType, ArrayType, IntegerType, BooleanType, FloatType, NullType } from "@elaraai/east";
|
|
18
18
|
export { VectorType, ScalarObjectiveType } from "../types.js";
|
|
19
19
|
/**
|
|
20
20
|
* MADS optimization bounds.
|
|
@@ -49,13 +49,13 @@ export declare const MADSConstraintType: VariantType<{
|
|
|
49
49
|
*/
|
|
50
50
|
export declare const MADSDirectionType: VariantType<{
|
|
51
51
|
/** ORTHO 2N: 2n orthogonal directions (default) */
|
|
52
|
-
ortho_2n:
|
|
52
|
+
ortho_2n: NullType;
|
|
53
53
|
/** ORTHO N+1: n+1 directions forming a simplex */
|
|
54
|
-
ortho_n_plus_1:
|
|
54
|
+
ortho_n_plus_1: NullType;
|
|
55
55
|
/** LT 2N: Lower triangular with 2n directions */
|
|
56
|
-
lt_2n:
|
|
56
|
+
lt_2n: NullType;
|
|
57
57
|
/** Single direction */
|
|
58
|
-
single:
|
|
58
|
+
single: NullType;
|
|
59
59
|
}>;
|
|
60
60
|
/**
|
|
61
61
|
* MADS optimization configuration.
|
|
@@ -70,13 +70,13 @@ export declare const MADSConfigType: StructType<{
|
|
|
70
70
|
/** Direction type for poll step */
|
|
71
71
|
direction_type: OptionType<VariantType<{
|
|
72
72
|
/** ORTHO 2N: 2n orthogonal directions (default) */
|
|
73
|
-
ortho_2n:
|
|
73
|
+
ortho_2n: NullType;
|
|
74
74
|
/** ORTHO N+1: n+1 directions forming a simplex */
|
|
75
|
-
ortho_n_plus_1:
|
|
75
|
+
ortho_n_plus_1: NullType;
|
|
76
76
|
/** LT 2N: Lower triangular with 2n directions */
|
|
77
|
-
lt_2n:
|
|
77
|
+
lt_2n: NullType;
|
|
78
78
|
/** Single direction */
|
|
79
|
-
single:
|
|
79
|
+
single: NullType;
|
|
80
80
|
}>>;
|
|
81
81
|
/** Initial mesh size */
|
|
82
82
|
initial_mesh_size: OptionType<FloatType>;
|
|
@@ -160,13 +160,13 @@ export declare const mads_optimize: import("@elaraai/east").PlatformDefinition<[
|
|
|
160
160
|
/** Direction type for poll step */
|
|
161
161
|
direction_type: OptionType<VariantType<{
|
|
162
162
|
/** ORTHO 2N: 2n orthogonal directions (default) */
|
|
163
|
-
ortho_2n:
|
|
163
|
+
ortho_2n: NullType;
|
|
164
164
|
/** ORTHO N+1: n+1 directions forming a simplex */
|
|
165
|
-
ortho_n_plus_1:
|
|
165
|
+
ortho_n_plus_1: NullType;
|
|
166
166
|
/** LT 2N: Lower triangular with 2n directions */
|
|
167
|
-
lt_2n:
|
|
167
|
+
lt_2n: NullType;
|
|
168
168
|
/** Single direction */
|
|
169
|
-
single:
|
|
169
|
+
single: NullType;
|
|
170
170
|
}>>;
|
|
171
171
|
/** Initial mesh size */
|
|
172
172
|
initial_mesh_size: OptionType<FloatType>;
|
|
@@ -209,13 +209,13 @@ export declare const MADSTypes: {
|
|
|
209
209
|
/** Direction type for poll step */
|
|
210
210
|
readonly DirectionType: VariantType<{
|
|
211
211
|
/** ORTHO 2N: 2n orthogonal directions (default) */
|
|
212
|
-
ortho_2n:
|
|
212
|
+
ortho_2n: NullType;
|
|
213
213
|
/** ORTHO N+1: n+1 directions forming a simplex */
|
|
214
|
-
ortho_n_plus_1:
|
|
214
|
+
ortho_n_plus_1: NullType;
|
|
215
215
|
/** LT 2N: Lower triangular with 2n directions */
|
|
216
|
-
lt_2n:
|
|
216
|
+
lt_2n: NullType;
|
|
217
217
|
/** Single direction */
|
|
218
|
-
single:
|
|
218
|
+
single: NullType;
|
|
219
219
|
}>;
|
|
220
220
|
/** Configuration type */
|
|
221
221
|
readonly ConfigType: StructType<{
|
|
@@ -226,13 +226,13 @@ export declare const MADSTypes: {
|
|
|
226
226
|
/** Direction type for poll step */
|
|
227
227
|
direction_type: OptionType<VariantType<{
|
|
228
228
|
/** ORTHO 2N: 2n orthogonal directions (default) */
|
|
229
|
-
ortho_2n:
|
|
229
|
+
ortho_2n: NullType;
|
|
230
230
|
/** ORTHO N+1: n+1 directions forming a simplex */
|
|
231
|
-
ortho_n_plus_1:
|
|
231
|
+
ortho_n_plus_1: NullType;
|
|
232
232
|
/** LT 2N: Lower triangular with 2n directions */
|
|
233
|
-
lt_2n:
|
|
233
|
+
lt_2n: NullType;
|
|
234
234
|
/** Single direction */
|
|
235
|
-
single:
|
|
235
|
+
single: NullType;
|
|
236
236
|
}>>;
|
|
237
237
|
/** Initial mesh size */
|
|
238
238
|
initial_mesh_size: OptionType<FloatType>;
|
|
@@ -316,13 +316,13 @@ export declare const MADS: {
|
|
|
316
316
|
/** Direction type for poll step */
|
|
317
317
|
direction_type: OptionType<VariantType<{
|
|
318
318
|
/** ORTHO 2N: 2n orthogonal directions (default) */
|
|
319
|
-
ortho_2n:
|
|
319
|
+
ortho_2n: NullType;
|
|
320
320
|
/** ORTHO N+1: n+1 directions forming a simplex */
|
|
321
|
-
ortho_n_plus_1:
|
|
321
|
+
ortho_n_plus_1: NullType;
|
|
322
322
|
/** LT 2N: Lower triangular with 2n directions */
|
|
323
|
-
lt_2n:
|
|
323
|
+
lt_2n: NullType;
|
|
324
324
|
/** Single direction */
|
|
325
|
-
single:
|
|
325
|
+
single: NullType;
|
|
326
326
|
}>>;
|
|
327
327
|
/** Initial mesh size */
|
|
328
328
|
initial_mesh_size: OptionType<FloatType>;
|
|
@@ -365,13 +365,13 @@ export declare const MADS: {
|
|
|
365
365
|
/** Direction type for poll step */
|
|
366
366
|
readonly DirectionType: VariantType<{
|
|
367
367
|
/** ORTHO 2N: 2n orthogonal directions (default) */
|
|
368
|
-
ortho_2n:
|
|
368
|
+
ortho_2n: NullType;
|
|
369
369
|
/** ORTHO N+1: n+1 directions forming a simplex */
|
|
370
|
-
ortho_n_plus_1:
|
|
370
|
+
ortho_n_plus_1: NullType;
|
|
371
371
|
/** LT 2N: Lower triangular with 2n directions */
|
|
372
|
-
lt_2n:
|
|
372
|
+
lt_2n: NullType;
|
|
373
373
|
/** Single direction */
|
|
374
|
-
single:
|
|
374
|
+
single: NullType;
|
|
375
375
|
}>;
|
|
376
376
|
/** Configuration type */
|
|
377
377
|
readonly ConfigType: StructType<{
|
|
@@ -382,13 +382,13 @@ export declare const MADS: {
|
|
|
382
382
|
/** Direction type for poll step */
|
|
383
383
|
direction_type: OptionType<VariantType<{
|
|
384
384
|
/** ORTHO 2N: 2n orthogonal directions (default) */
|
|
385
|
-
ortho_2n:
|
|
385
|
+
ortho_2n: NullType;
|
|
386
386
|
/** ORTHO N+1: n+1 directions forming a simplex */
|
|
387
|
-
ortho_n_plus_1:
|
|
387
|
+
ortho_n_plus_1: NullType;
|
|
388
388
|
/** LT 2N: Lower triangular with 2n directions */
|
|
389
|
-
lt_2n:
|
|
389
|
+
lt_2n: NullType;
|
|
390
390
|
/** Single direction */
|
|
391
|
-
single:
|
|
391
|
+
single: NullType;
|
|
392
392
|
}>>;
|
|
393
393
|
/** Initial mesh size */
|
|
394
394
|
initial_mesh_size: OptionType<FloatType>;
|