@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/dist/mads/mads.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mads.d.ts","sourceRoot":"","sources":["../../src/mads/mads.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EAEH,UAAU,EACV,WAAW,EACX,UAAU,EACV,SAAS,EACT,WAAW,EACX,WAAW,EACX,SAAS,
|
|
1
|
+
{"version":3,"file":"mads.d.ts","sourceRoot":"","sources":["../../src/mads/mads.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EAEH,UAAU,EACV,WAAW,EACX,UAAU,EACV,SAAS,EACT,WAAW,EACX,WAAW,EACX,SAAS,EACT,QAAQ,EACX,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE9D;;;;GAIG;AACH,eAAO,MAAM,cAAc;IACvB,sCAAsC;;IAEtC,sCAAsC;;EAExC,CAAC;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB;IAC3B,8DAA8D;;IAE9D,oEAAoE;;EAEtE,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;IAC1B,mDAAmD;;IAEnD,kDAAkD;;IAElD,iDAAiD;;IAEjD,uBAAuB;;EAEzB,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,cAAc;IACvB,6CAA6C;;IAE7C,2CAA2C;;IAE3C,mCAAmC;;QApBnC,mDAAmD;;QAEnD,kDAAkD;;QAElD,iDAAiD;;QAEjD,uBAAuB;;;IAgBvB,wBAAwB;;IAExB,6CAA6C;;IAE7C,sCAAsC;;EAExC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,cAAc;IACvB,iCAAiC;;IAEjC,2BAA2B;;IAE3B,+CAA+C;;IAE/C,qCAAqC;;EAEvC,CAAC;AAMH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,eAAO,MAAM,aA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EjC,2BAA2B;;QAE3B,+CAA+C;;QAE/C,qCAAqC;;;IAqIrC;;OAEG;;QAjEH,oCAAoC;;QAEpC,qCAAqC;;QAErC,+CAA+C;;YAhJ/C,sCAAsC;;YAEtC,sCAAsC;;;QAgJtC,yCAAyC;;YAlIzC,8DAA8D;;YAE9D,oEAAoE;;;QAkIpE,mCAAmC;;YAxHnC,mDAAmD;;YAEnD,kDAAkD;;YAElD,iDAAiD;;YAEjD,uBAAuB;;;QAoHvB,yBAAyB;;YA1GzB,6CAA6C;;YAE7C,2CAA2C;;YAE3C,mCAAmC;;gBApBnC,mDAAmD;;gBAEnD,kDAAkD;;gBAElD,iDAAiD;;gBAEjD,uBAAuB;;;YAgBvB,wBAAwB;;YAExB,6CAA6C;;YAE7C,sCAAsC;;;QAkGtC,mCAAmC;;YAxFnC,iCAAiC;;YAEjC,2BAA2B;;YAE3B,+CAA+C;;YAE/C,qCAAqC;;;;CA0I/B,CAAC"}
|
package/dist/mads/mads.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* @packageDocumentation
|
|
16
16
|
*/
|
|
17
|
-
import { East, StructType, VariantType, OptionType, ArrayType, IntegerType, BooleanType, FloatType, } from "@elaraai/east";
|
|
17
|
+
import { East, StructType, VariantType, OptionType, ArrayType, IntegerType, BooleanType, FloatType, NullType, } from "@elaraai/east";
|
|
18
18
|
import { VectorType, ScalarObjectiveType } from "../types.js";
|
|
19
19
|
// Re-export shared types for convenience
|
|
20
20
|
export { VectorType, ScalarObjectiveType } from "../types.js";
|
|
@@ -51,13 +51,13 @@ export const MADSConstraintType = VariantType({
|
|
|
51
51
|
*/
|
|
52
52
|
export const MADSDirectionType = VariantType({
|
|
53
53
|
/** ORTHO 2N: 2n orthogonal directions (default) */
|
|
54
|
-
ortho_2n:
|
|
54
|
+
ortho_2n: NullType,
|
|
55
55
|
/** ORTHO N+1: n+1 directions forming a simplex */
|
|
56
|
-
ortho_n_plus_1:
|
|
56
|
+
ortho_n_plus_1: NullType,
|
|
57
57
|
/** LT 2N: Lower triangular with 2n directions */
|
|
58
|
-
lt_2n:
|
|
58
|
+
lt_2n: NullType,
|
|
59
59
|
/** Single direction */
|
|
60
|
-
single:
|
|
60
|
+
single: NullType,
|
|
61
61
|
});
|
|
62
62
|
/**
|
|
63
63
|
* MADS optimization configuration.
|
package/dist/mads/mads.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mads.js","sourceRoot":"","sources":["../../src/mads/mads.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EACH,IAAI,EACJ,UAAU,EACV,WAAW,EACX,UAAU,EACV,SAAS,EACT,WAAW,EACX,WAAW,EACX,SAAS,
|
|
1
|
+
{"version":3,"file":"mads.js","sourceRoot":"","sources":["../../src/mads/mads.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EACH,IAAI,EACJ,UAAU,EACV,WAAW,EACX,UAAU,EACV,SAAS,EACT,WAAW,EACX,WAAW,EACX,SAAS,EACT,QAAQ,GACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE9D,yCAAyC;AACzC,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE9D;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,UAAU,CAAC;IACrC,sCAAsC;IACtC,KAAK,EAAE,UAAU;IACjB,sCAAsC;IACtC,KAAK,EAAE,UAAU;CACpB,CAAC,CAAC;AAEH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,WAAW,CAAC;IAC1C,8DAA8D;IAC9D,EAAE,EAAE,mBAAmB;IACvB,oEAAoE;IACpE,EAAE,EAAE,mBAAmB;CAC1B,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,C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E/E;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACrB,oCAAoC;IACpC,UAAU;IACV,qCAAqC;IACrC,mBAAmB;IACnB,+CAA+C;IAC/C,UAAU,EAAE,cAAc;IAC1B,yCAAyC;IACzC,cAAc,EAAE,kBAAkB;IAClC,mCAAmC;IACnC,aAAa,EAAE,iBAAiB;IAChC,yBAAyB;IACzB,UAAU,EAAE,cAAc;IAC1B,mCAAmC;IACnC,UAAU,EAAE,cAAc;CACpB,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAChB;;;;OAIG;IACH,QAAQ,EAAE,aAAa;IAEvB;;OAEG;IACH,KAAK,EAAE,SAAS;CAEV,CAAC"}
|
|
@@ -11,16 +11,16 @@
|
|
|
11
11
|
*
|
|
12
12
|
* @packageDocumentation
|
|
13
13
|
*/
|
|
14
|
-
import { StructType, VariantType, OptionType, IntegerType, FloatType, BlobType } from "@elaraai/east";
|
|
14
|
+
import { StructType, VariantType, OptionType, IntegerType, FloatType, BlobType, NullType } from "@elaraai/east";
|
|
15
15
|
export { VectorType, MatrixType } from "../types.js";
|
|
16
16
|
/**
|
|
17
17
|
* Distribution type for NGBoost.
|
|
18
18
|
*/
|
|
19
19
|
export declare const NGBoostDistributionType: VariantType<{
|
|
20
20
|
/** Normal (Gaussian) distribution */
|
|
21
|
-
normal:
|
|
21
|
+
normal: NullType;
|
|
22
22
|
/** Log-normal distribution (for positive targets) */
|
|
23
|
-
lognormal:
|
|
23
|
+
lognormal: NullType;
|
|
24
24
|
}>;
|
|
25
25
|
/**
|
|
26
26
|
* Configuration for NGBoost models.
|
|
@@ -39,9 +39,9 @@ export declare const NGBoostConfigType: StructType<{
|
|
|
39
39
|
/** Distribution type (default normal) */
|
|
40
40
|
distribution: OptionType<VariantType<{
|
|
41
41
|
/** Normal (Gaussian) distribution */
|
|
42
|
-
normal:
|
|
42
|
+
normal: NullType;
|
|
43
43
|
/** Log-normal distribution (for positive targets) */
|
|
44
|
-
lognormal:
|
|
44
|
+
lognormal: NullType;
|
|
45
45
|
}>>;
|
|
46
46
|
}>;
|
|
47
47
|
/**
|
|
@@ -75,9 +75,9 @@ export declare const NGBoostModelBlobType: VariantType<{
|
|
|
75
75
|
/** Distribution type used */
|
|
76
76
|
distribution: VariantType<{
|
|
77
77
|
/** Normal (Gaussian) distribution */
|
|
78
|
-
normal:
|
|
78
|
+
normal: NullType;
|
|
79
79
|
/** Log-normal distribution (for positive targets) */
|
|
80
|
-
lognormal:
|
|
80
|
+
lognormal: NullType;
|
|
81
81
|
}>;
|
|
82
82
|
/** Number of input features */
|
|
83
83
|
n_features: IntegerType;
|
|
@@ -105,9 +105,9 @@ export declare const ngboost_train_regressor: import("@elaraai/east").PlatformDe
|
|
|
105
105
|
/** Distribution type (default normal) */
|
|
106
106
|
distribution: OptionType<VariantType<{
|
|
107
107
|
/** Normal (Gaussian) distribution */
|
|
108
|
-
normal:
|
|
108
|
+
normal: NullType;
|
|
109
109
|
/** Log-normal distribution (for positive targets) */
|
|
110
|
-
lognormal:
|
|
110
|
+
lognormal: NullType;
|
|
111
111
|
}>>;
|
|
112
112
|
}>], VariantType<{
|
|
113
113
|
/** NGBoost regressor model */
|
|
@@ -117,9 +117,9 @@ export declare const ngboost_train_regressor: import("@elaraai/east").PlatformDe
|
|
|
117
117
|
/** Distribution type used */
|
|
118
118
|
distribution: VariantType<{
|
|
119
119
|
/** Normal (Gaussian) distribution */
|
|
120
|
-
normal:
|
|
120
|
+
normal: NullType;
|
|
121
121
|
/** Log-normal distribution (for positive targets) */
|
|
122
|
-
lognormal:
|
|
122
|
+
lognormal: NullType;
|
|
123
123
|
}>;
|
|
124
124
|
/** Number of input features */
|
|
125
125
|
n_features: IntegerType;
|
|
@@ -140,9 +140,9 @@ export declare const ngboost_predict: import("@elaraai/east").PlatformDefinition
|
|
|
140
140
|
/** Distribution type used */
|
|
141
141
|
distribution: VariantType<{
|
|
142
142
|
/** Normal (Gaussian) distribution */
|
|
143
|
-
normal:
|
|
143
|
+
normal: NullType;
|
|
144
144
|
/** Log-normal distribution (for positive targets) */
|
|
145
|
-
lognormal:
|
|
145
|
+
lognormal: NullType;
|
|
146
146
|
}>;
|
|
147
147
|
/** Number of input features */
|
|
148
148
|
n_features: IntegerType;
|
|
@@ -166,9 +166,9 @@ export declare const ngboost_predict_dist: import("@elaraai/east").PlatformDefin
|
|
|
166
166
|
/** Distribution type used */
|
|
167
167
|
distribution: VariantType<{
|
|
168
168
|
/** Normal (Gaussian) distribution */
|
|
169
|
-
normal:
|
|
169
|
+
normal: NullType;
|
|
170
170
|
/** Log-normal distribution (for positive targets) */
|
|
171
|
-
lognormal:
|
|
171
|
+
lognormal: NullType;
|
|
172
172
|
}>;
|
|
173
173
|
/** Number of input features */
|
|
174
174
|
n_features: IntegerType;
|
|
@@ -197,9 +197,9 @@ export declare const NGBoostTypes: {
|
|
|
197
197
|
/** Distribution type for NGBoost */
|
|
198
198
|
readonly NGBoostDistributionType: VariantType<{
|
|
199
199
|
/** Normal (Gaussian) distribution */
|
|
200
|
-
normal:
|
|
200
|
+
normal: NullType;
|
|
201
201
|
/** Log-normal distribution (for positive targets) */
|
|
202
|
-
lognormal:
|
|
202
|
+
lognormal: NullType;
|
|
203
203
|
}>;
|
|
204
204
|
/** NGBoost configuration type */
|
|
205
205
|
readonly NGBoostConfigType: StructType<{
|
|
@@ -216,9 +216,9 @@ export declare const NGBoostTypes: {
|
|
|
216
216
|
/** Distribution type (default normal) */
|
|
217
217
|
distribution: OptionType<VariantType<{
|
|
218
218
|
/** Normal (Gaussian) distribution */
|
|
219
|
-
normal:
|
|
219
|
+
normal: NullType;
|
|
220
220
|
/** Log-normal distribution (for positive targets) */
|
|
221
|
-
lognormal:
|
|
221
|
+
lognormal: NullType;
|
|
222
222
|
}>>;
|
|
223
223
|
}>;
|
|
224
224
|
/** Prediction configuration type */
|
|
@@ -246,9 +246,9 @@ export declare const NGBoostTypes: {
|
|
|
246
246
|
/** Distribution type used */
|
|
247
247
|
distribution: VariantType<{
|
|
248
248
|
/** Normal (Gaussian) distribution */
|
|
249
|
-
normal:
|
|
249
|
+
normal: NullType;
|
|
250
250
|
/** Log-normal distribution (for positive targets) */
|
|
251
|
-
lognormal:
|
|
251
|
+
lognormal: NullType;
|
|
252
252
|
}>;
|
|
253
253
|
/** Number of input features */
|
|
254
254
|
n_features: IntegerType;
|
|
@@ -296,9 +296,9 @@ export declare const NGBoost: {
|
|
|
296
296
|
/** Distribution type (default normal) */
|
|
297
297
|
distribution: OptionType<VariantType<{
|
|
298
298
|
/** Normal (Gaussian) distribution */
|
|
299
|
-
normal:
|
|
299
|
+
normal: NullType;
|
|
300
300
|
/** Log-normal distribution (for positive targets) */
|
|
301
|
-
lognormal:
|
|
301
|
+
lognormal: NullType;
|
|
302
302
|
}>>;
|
|
303
303
|
}>], VariantType<{
|
|
304
304
|
/** NGBoost regressor model */
|
|
@@ -308,9 +308,9 @@ export declare const NGBoost: {
|
|
|
308
308
|
/** Distribution type used */
|
|
309
309
|
distribution: VariantType<{
|
|
310
310
|
/** Normal (Gaussian) distribution */
|
|
311
|
-
normal:
|
|
311
|
+
normal: NullType;
|
|
312
312
|
/** Log-normal distribution (for positive targets) */
|
|
313
|
-
lognormal:
|
|
313
|
+
lognormal: NullType;
|
|
314
314
|
}>;
|
|
315
315
|
/** Number of input features */
|
|
316
316
|
n_features: IntegerType;
|
|
@@ -325,9 +325,9 @@ export declare const NGBoost: {
|
|
|
325
325
|
/** Distribution type used */
|
|
326
326
|
distribution: VariantType<{
|
|
327
327
|
/** Normal (Gaussian) distribution */
|
|
328
|
-
normal:
|
|
328
|
+
normal: NullType;
|
|
329
329
|
/** Log-normal distribution (for positive targets) */
|
|
330
|
-
lognormal:
|
|
330
|
+
lognormal: NullType;
|
|
331
331
|
}>;
|
|
332
332
|
/** Number of input features */
|
|
333
333
|
n_features: IntegerType;
|
|
@@ -342,9 +342,9 @@ export declare const NGBoost: {
|
|
|
342
342
|
/** Distribution type used */
|
|
343
343
|
distribution: VariantType<{
|
|
344
344
|
/** Normal (Gaussian) distribution */
|
|
345
|
-
normal:
|
|
345
|
+
normal: NullType;
|
|
346
346
|
/** Log-normal distribution (for positive targets) */
|
|
347
|
-
lognormal:
|
|
347
|
+
lognormal: NullType;
|
|
348
348
|
}>;
|
|
349
349
|
/** Number of input features */
|
|
350
350
|
n_features: IntegerType;
|
|
@@ -371,9 +371,9 @@ export declare const NGBoost: {
|
|
|
371
371
|
/** Distribution type for NGBoost */
|
|
372
372
|
readonly NGBoostDistributionType: VariantType<{
|
|
373
373
|
/** Normal (Gaussian) distribution */
|
|
374
|
-
normal:
|
|
374
|
+
normal: NullType;
|
|
375
375
|
/** Log-normal distribution (for positive targets) */
|
|
376
|
-
lognormal:
|
|
376
|
+
lognormal: NullType;
|
|
377
377
|
}>;
|
|
378
378
|
/** NGBoost configuration type */
|
|
379
379
|
readonly NGBoostConfigType: StructType<{
|
|
@@ -390,9 +390,9 @@ export declare const NGBoost: {
|
|
|
390
390
|
/** Distribution type (default normal) */
|
|
391
391
|
distribution: OptionType<VariantType<{
|
|
392
392
|
/** Normal (Gaussian) distribution */
|
|
393
|
-
normal:
|
|
393
|
+
normal: NullType;
|
|
394
394
|
/** Log-normal distribution (for positive targets) */
|
|
395
|
-
lognormal:
|
|
395
|
+
lognormal: NullType;
|
|
396
396
|
}>>;
|
|
397
397
|
}>;
|
|
398
398
|
/** Prediction configuration type */
|
|
@@ -420,9 +420,9 @@ export declare const NGBoost: {
|
|
|
420
420
|
/** Distribution type used */
|
|
421
421
|
distribution: VariantType<{
|
|
422
422
|
/** Normal (Gaussian) distribution */
|
|
423
|
-
normal:
|
|
423
|
+
normal: NullType;
|
|
424
424
|
/** Log-normal distribution (for positive targets) */
|
|
425
|
-
lognormal:
|
|
425
|
+
lognormal: NullType;
|
|
426
426
|
}>;
|
|
427
427
|
/** Number of input features */
|
|
428
428
|
n_features: Integ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+B;;QAE/B,yBAAyB;;QAEzB,gCAAgC;;QAEhC,gCAAgC;;;IA8HhC,uBAAuB;;QAhDvB,oCAAoC;;QAEpC,uCAAuC;;QAEvC,oCAAoC;;YApIpC,qCAAqC;;YAErC,qDAAqD;;;QAoIrD,iCAAiC;;YAxHjC,8CAA8C;;YAE9C,yDAAyD;;YAEzD,iEAAiE;;YAEjE,kEAAkE;;YAElE,sCAAsC;;YAEtC,yCAAyC;;gBAxBzC,qCAAqC;;gBAErC,qDAAqD;;;;QAsIrD,oCAAoC;;YAxGpC,oDAAoD;;;QA0GpD,6BAA6B;;YA9F7B,+BAA+B;;YAE/B,yBAAyB;;YAEzB,gCAAgC;;YAEhC,gCAAgC;;;QA0FhC,yCAAyC;;YA9EzC,8BAA8B;;gBAE1B,mCAAmC;;gBAEnC,6BAA6B;;oBAlEjC,qCAAqC;;oBAErC,qDAAqD;;;gBAkEjD,+BAA+B;;;;;CA8G7B,CAAC"}
|
package/dist/ngboost/ngboost.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* @packageDocumentation
|
|
13
13
|
*/
|
|
14
|
-
import { East, StructType, VariantType, OptionType, IntegerType, FloatType, BlobType, } from "@elaraai/east";
|
|
14
|
+
import { East, StructType, VariantType, OptionType, IntegerType, FloatType, BlobType, NullType, } from "@elaraai/east";
|
|
15
15
|
import { VectorType, MatrixType } from "../types.js";
|
|
16
16
|
// Re-export shared types for convenience
|
|
17
17
|
export { VectorType, MatrixType } from "../types.js";
|
|
@@ -23,9 +23,9 @@ export { VectorType, MatrixType } from "../types.js";
|
|
|
23
23
|
*/
|
|
24
24
|
export const NGBoostDistributionType = VariantType({
|
|
25
25
|
/** Normal (Gaussian) distribution */
|
|
26
|
-
normal:
|
|
26
|
+
normal: NullType,
|
|
27
27
|
/** Log-normal distribution (for positive targets) */
|
|
28
|
-
lognormal:
|
|
28
|
+
lognormal: NullType,
|
|
29
29
|
});
|
|
30
30
|
// ============================================================================
|
|
31
31
|
// Config Types
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngboost.js","sourceRoot":"","sources":["../../src/ngboost/ngboost.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;GAQG;AAEH,OAAO,EACH,IAAI,EACJ,UAAU,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,SAAS,EACT,QAAQ,GACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAErD,yCAAyC;AACzC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAErD,+EAA+E;AAC/E,aAAa;AACb,+EAA+E;AAE/E;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,WAAW,CAAC;IAC/C,qCAAqC;IACrC,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"ngboost.js","sourceRoot":"","sources":["../../src/ngboost/ngboost.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;GAQG;AAEH,OAAO,EACH,IAAI,EACJ,UAAU,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,SAAS,EACT,QAAQ,EACR,QAAQ,GACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAErD,yCAAyC;AACzC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAErD,+EAA+E;AAC/E,aAAa;AACb,+EAA+E;AAE/E;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,WAAW,CAAC;IAC/C,qCAAqC;IACrC,MAAM,EAAE,QAAQ;IAChB,qDAAqD;IACrD,SAAS,EAAE,QAAQ;CACtB,CAAC,CAAC;AAEH,+EAA+E;AAC/E,eAAe;AACf,+EAA+E;AAE/E;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,UAAU,CAAC;IAC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