@maxim_mazurok/gapi.client.bigquery-v2 0.0.20230617 → 0.0.20230708
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/index.d.ts +41 -2
- package/package.json +1 -1
- package/tests.ts +31 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://bigquery.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230708
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2305,7 +2305,7 @@ declare namespace gapi.client {
|
|
|
2305
2305
|
*/
|
|
2306
2306
|
expirationTime?:
|
|
2307
2307
|
string;
|
|
2308
|
-
/** Output only. Input feature columns
|
|
2308
|
+
/** Output only. Input feature columns for the model inference. If the model is trained with TRANSFORM clause, these are the input of the TRANSFORM clause. */
|
|
2309
2309
|
featureColumns?:
|
|
2310
2310
|
StandardSqlField[];
|
|
2311
2311
|
/** Optional. A descriptive name for this model. */
|
|
@@ -3532,6 +3532,9 @@ declare namespace gapi.client {
|
|
|
3532
3532
|
string;
|
|
3533
3533
|
}
|
|
3534
3534
|
interface TrainingOptions {
|
|
3535
|
+
/** Activation function of the neural nets. */
|
|
3536
|
+
activationFn?:
|
|
3537
|
+
string;
|
|
3535
3538
|
/** If true, detect step changes and make data adjustment in the input time series. */
|
|
3536
3539
|
adjustStepChanges?:
|
|
3537
3540
|
boolean;
|
|
@@ -3547,12 +3550,18 @@ declare namespace gapi.client {
|
|
|
3547
3550
|
/** The min value of the sum of non-seasonal p and q. */
|
|
3548
3551
|
autoArimaMinOrder?:
|
|
3549
3552
|
string;
|
|
3553
|
+
/** Whether to calculate class weights automatically based on the popularity of each label. */
|
|
3554
|
+
autoClassWeights?:
|
|
3555
|
+
boolean;
|
|
3550
3556
|
/** Batch size for dnn models. */
|
|
3551
3557
|
batchSize?:
|
|
3552
3558
|
string;
|
|
3553
3559
|
/** Booster type for boosted tree models. */
|
|
3554
3560
|
boosterType?:
|
|
3555
3561
|
string;
|
|
3562
|
+
/** Budget in hours for AutoML training. */
|
|
3563
|
+
budgetHours?:
|
|
3564
|
+
number;
|
|
3556
3565
|
/** Whether or not p-value test should be computed for this model. Only available for linear and logistic regression models. */
|
|
3557
3566
|
calculatePValues?:
|
|
3558
3567
|
boolean;
|
|
@@ -3612,6 +3621,9 @@ declare namespace gapi.client {
|
|
|
3612
3621
|
/** Feedback type that specifies which algorithm to run for matrix factorization. */
|
|
3613
3622
|
feedbackType?:
|
|
3614
3623
|
string;
|
|
3624
|
+
/** Whether the model should include intercept during model training. */
|
|
3625
|
+
fitIntercept?:
|
|
3626
|
+
boolean;
|
|
3615
3627
|
/** Hidden units for dnn models. */
|
|
3616
3628
|
hiddenUnits?:
|
|
3617
3629
|
string[];
|
|
@@ -3648,6 +3660,9 @@ declare namespace gapi.client {
|
|
|
3648
3660
|
/** The method used to initialize the centroids for kmeans algorithm. */
|
|
3649
3661
|
kmeansInitializationMethod?:
|
|
3650
3662
|
string;
|
|
3663
|
+
/** L1 regularization coefficient to activations. */
|
|
3664
|
+
l1RegActivation?:
|
|
3665
|
+
number;
|
|
3651
3666
|
/** L1 regularization coefficient. */
|
|
3652
3667
|
l1Regularization?:
|
|
3653
3668
|
number;
|
|
@@ -3690,6 +3705,9 @@ declare namespace gapi.client {
|
|
|
3690
3705
|
/** Minimum sum of instance weight needed in a child for boosted tree models. */
|
|
3691
3706
|
minTreeChildWeight?:
|
|
3692
3707
|
string;
|
|
3708
|
+
/** The model registry. */
|
|
3709
|
+
modelRegistry?:
|
|
3710
|
+
string;
|
|
3693
3711
|
/** Google Cloud Storage URI from which the model was imported. Only applicable for imported models. */
|
|
3694
3712
|
modelUri?:
|
|
3695
3713
|
string;
|
|
@@ -3705,15 +3723,33 @@ declare namespace gapi.client {
|
|
|
3705
3723
|
/** Number of parallel trees constructed during each iteration for boosted tree models. */
|
|
3706
3724
|
numParallelTree?:
|
|
3707
3725
|
string;
|
|
3726
|
+
/** Number of principal components to keep in the PCA model. Must be <= the number of features. */
|
|
3727
|
+
numPrincipalComponents?:
|
|
3728
|
+
string;
|
|
3708
3729
|
/** Number of trials to run this hyperparameter tuning job. */
|
|
3709
3730
|
numTrials?:
|
|
3710
3731
|
string;
|
|
3711
3732
|
/** Optimization strategy for training linear regression models. */
|
|
3712
3733
|
optimizationStrategy?:
|
|
3713
3734
|
string;
|
|
3735
|
+
/** Optimizer used for training the neural nets. */
|
|
3736
|
+
optimizer?:
|
|
3737
|
+
string;
|
|
3738
|
+
/** The minimum ratio of cumulative explained variance that needs to be given by the PCA model. */
|
|
3739
|
+
pcaExplainedVarianceRatio?:
|
|
3740
|
+
number;
|
|
3741
|
+
/** The solver for PCA. */
|
|
3742
|
+
pcaSolver?:
|
|
3743
|
+
string;
|
|
3714
3744
|
/** Number of paths for the sampled Shapley explain method. */
|
|
3715
3745
|
sampledShapleyNumPaths?:
|
|
3716
3746
|
string;
|
|
3747
|
+
/** If true, scale the feature values by dividing the feature standard deviation. Currently only apply to PCA. */
|
|
3748
|
+
scaleFeatures?:
|
|
3749
|
+
boolean;
|
|
3750
|
+
/** Whether to standardize numerical features. Default to true. */
|
|
3751
|
+
standardizeFeatures?:
|
|
3752
|
+
boolean;
|
|
3717
3753
|
/** Subsample fraction of the training data to grow tree to prevent overfitting for boosted tree models. */
|
|
3718
3754
|
subsample?:
|
|
3719
3755
|
number;
|
|
@@ -3744,6 +3780,9 @@ declare namespace gapi.client {
|
|
|
3744
3780
|
/** User column specified for matrix factorization models. */
|
|
3745
3781
|
userColumn?:
|
|
3746
3782
|
string;
|
|
3783
|
+
/** The version aliases to apply in Vertex AI model registry. Always overwrite if the version aliases exists in a existing model. */
|
|
3784
|
+
vertexAiModelVersionAliases?:
|
|
3785
|
+
string[];
|
|
3747
3786
|
/** Hyperparameter for matrix factoration when implicit feedback type is specified. */
|
|
3748
3787
|
walsAlpha?:
|
|
3749
3788
|
number;
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230708
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -1455,13 +1455,16 @@ gapi.load('client', async () => {
|
|
|
1455
1455
|
},
|
|
1456
1456
|
},
|
|
1457
1457
|
hparams: {
|
|
1458
|
+
activationFn: "Test string",
|
|
1458
1459
|
adjustStepChanges: true,
|
|
1459
1460
|
approxGlobalFeatureContrib: true,
|
|
1460
1461
|
autoArima: true,
|
|
1461
1462
|
autoArimaMaxOrder: "Test string",
|
|
1462
1463
|
autoArimaMinOrder: "Test string",
|
|
1464
|
+
autoClassWeights: true,
|
|
1463
1465
|
batchSize: "Test string",
|
|
1464
1466
|
boosterType: "Test string",
|
|
1467
|
+
budgetHours: 42,
|
|
1465
1468
|
calculatePValues: true,
|
|
1466
1469
|
cleanSpikesAndDips: true,
|
|
1467
1470
|
colorSpace: "Test string",
|
|
@@ -1479,6 +1482,7 @@ gapi.load('client', async () => {
|
|
|
1479
1482
|
earlyStop: true,
|
|
1480
1483
|
enableGlobalExplain: true,
|
|
1481
1484
|
feedbackType: "Test string",
|
|
1485
|
+
fitIntercept: true,
|
|
1482
1486
|
hiddenUnits: [
|
|
1483
1487
|
"Test string"
|
|
1484
1488
|
],
|
|
@@ -1497,6 +1501,7 @@ gapi.load('client', async () => {
|
|
|
1497
1501
|
itemColumn: "Test string",
|
|
1498
1502
|
kmeansInitializationColumn: "Test string",
|
|
1499
1503
|
kmeansInitializationMethod: "Test string",
|
|
1504
|
+
l1RegActivation: 42,
|
|
1500
1505
|
l1Regularization: 42,
|
|
1501
1506
|
l2Regularization: 42,
|
|
1502
1507
|
labelClassWeights: {
|
|
@@ -1513,6 +1518,7 @@ gapi.load('client', async () => {
|
|
|
1513
1518
|
minSplitLoss: 42,
|
|
1514
1519
|
minTimeSeriesLength: "Test string",
|
|
1515
1520
|
minTreeChildWeight: "Test string",
|
|
1521
|
+
modelRegistry: "Test string",
|
|
1516
1522
|
modelUri: "Test string",
|
|
1517
1523
|
nonSeasonalOrder: {
|
|
1518
1524
|
d: "Test string",
|
|
@@ -1522,9 +1528,15 @@ gapi.load('client', async () => {
|
|
|
1522
1528
|
numClusters: "Test string",
|
|
1523
1529
|
numFactors: "Test string",
|
|
1524
1530
|
numParallelTree: "Test string",
|
|
1531
|
+
numPrincipalComponents: "Test string",
|
|
1525
1532
|
numTrials: "Test string",
|
|
1526
1533
|
optimizationStrategy: "Test string",
|
|
1534
|
+
optimizer: "Test string",
|
|
1535
|
+
pcaExplainedVarianceRatio: 42,
|
|
1536
|
+
pcaSolver: "Test string",
|
|
1527
1537
|
sampledShapleyNumPaths: "Test string",
|
|
1538
|
+
scaleFeatures: true,
|
|
1539
|
+
standardizeFeatures: true,
|
|
1528
1540
|
subsample: 42,
|
|
1529
1541
|
tfVersion: "Test string",
|
|
1530
1542
|
timeSeriesDataColumn: "Test string",
|
|
@@ -1537,6 +1549,9 @@ gapi.load('client', async () => {
|
|
|
1537
1549
|
treeMethod: "Test string",
|
|
1538
1550
|
trendSmoothingWindowSize: "Test string",
|
|
1539
1551
|
userColumn: "Test string",
|
|
1552
|
+
vertexAiModelVersionAliases: [
|
|
1553
|
+
"Test string"
|
|
1554
|
+
],
|
|
1540
1555
|
walsAlpha: 42,
|
|
1541
1556
|
warmStart: true,
|
|
1542
1557
|
xgboostVersion: "Test string",
|
|
@@ -1919,13 +1934,16 @@ gapi.load('client', async () => {
|
|
|
1919
1934
|
],
|
|
1920
1935
|
startTime: "Test string",
|
|
1921
1936
|
trainingOptions: {
|
|
1937
|
+
activationFn: "Test string",
|
|
1922
1938
|
adjustStepChanges: true,
|
|
1923
1939
|
approxGlobalFeatureContrib: true,
|
|
1924
1940
|
autoArima: true,
|
|
1925
1941
|
autoArimaMaxOrder: "Test string",
|
|
1926
1942
|
autoArimaMinOrder: "Test string",
|
|
1943
|
+
autoClassWeights: true,
|
|
1927
1944
|
batchSize: "Test string",
|
|
1928
1945
|
boosterType: "Test string",
|
|
1946
|
+
budgetHours: 42,
|
|
1929
1947
|
calculatePValues: true,
|
|
1930
1948
|
cleanSpikesAndDips: true,
|
|
1931
1949
|
colorSpace: "Test string",
|
|
@@ -1943,6 +1961,7 @@ gapi.load('client', async () => {
|
|
|
1943
1961
|
earlyStop: true,
|
|
1944
1962
|
enableGlobalExplain: true,
|
|
1945
1963
|
feedbackType: "Test string",
|
|
1964
|
+
fitIntercept: true,
|
|
1946
1965
|
hiddenUnits: [
|
|
1947
1966
|
"Test string"
|
|
1948
1967
|
],
|
|
@@ -1961,6 +1980,7 @@ gapi.load('client', async () => {
|
|
|
1961
1980
|
itemColumn: "Test string",
|
|
1962
1981
|
kmeansInitializationColumn: "Test string",
|
|
1963
1982
|
kmeansInitializationMethod: "Test string",
|
|
1983
|
+
l1RegActivation: 42,
|
|
1964
1984
|
l1Regularization: 42,
|
|
1965
1985
|
l2Regularization: 42,
|
|
1966
1986
|
labelClassWeights: {
|
|
@@ -1977,6 +1997,7 @@ gapi.load('client', async () => {
|
|
|
1977
1997
|
minSplitLoss: 42,
|
|
1978
1998
|
minTimeSeriesLength: "Test string",
|
|
1979
1999
|
minTreeChildWeight: "Test string",
|
|
2000
|
+
modelRegistry: "Test string",
|
|
1980
2001
|
modelUri: "Test string",
|
|
1981
2002
|
nonSeasonalOrder: {
|
|
1982
2003
|
d: "Test string",
|
|
@@ -1986,9 +2007,15 @@ gapi.load('client', async () => {
|
|
|
1986
2007
|
numClusters: "Test string",
|
|
1987
2008
|
numFactors: "Test string",
|
|
1988
2009
|
numParallelTree: "Test string",
|
|
2010
|
+
numPrincipalComponents: "Test string",
|
|
1989
2011
|
numTrials: "Test string",
|
|
1990
2012
|
optimizationStrategy: "Test string",
|
|
2013
|
+
optimizer: "Test string",
|
|
2014
|
+
pcaExplainedVarianceRatio: 42,
|
|
2015
|
+
pcaSolver: "Test string",
|
|
1991
2016
|
sampledShapleyNumPaths: "Test string",
|
|
2017
|
+
scaleFeatures: true,
|
|
2018
|
+
standardizeFeatures: true,
|
|
1992
2019
|
subsample: 42,
|
|
1993
2020
|
tfVersion: "Test string",
|
|
1994
2021
|
timeSeriesDataColumn: "Test string",
|
|
@@ -2001,6 +2028,9 @@ gapi.load('client', async () => {
|
|
|
2001
2028
|
treeMethod: "Test string",
|
|
2002
2029
|
trendSmoothingWindowSize: "Test string",
|
|
2003
2030
|
userColumn: "Test string",
|
|
2031
|
+
vertexAiModelVersionAliases: [
|
|
2032
|
+
"Test string"
|
|
2033
|
+
],
|
|
2004
2034
|
walsAlpha: 42,
|
|
2005
2035
|
warmStart: true,
|
|
2006
2036
|
xgboostVersion: "Test string",
|