- Resource: Model
- ModelReference
- ModelType
- TrainingRun
- TrainingOptions
- LossType
- DataSplitMethod
- LearnRateStrategy
- DistanceType
- OptimizationStrategy
- FeedbackType
- KmeansInitializationMethod
- ArimaOrder
- DataFrequency
- HolidayRegion
- IterationResult
- ClusterInfo
- ArimaResult
- ArimaModelInfo
- ArimaCoefficients
- ArimaFittingMetrics
- SeasonalPeriodType
- EvaluationMetrics
- RegressionMetrics
- BinaryClassificationMetrics
- AggregateClassificationMetrics
- BinaryConfusionMatrix
- MultiClassClassificationMetrics
- ConfusionMatrix
- Row
- Entry
- ClusteringMetrics
- Cluster
- FeatureValue
- CategoricalValue
- CategoryCount
- RankingMetrics
- ArimaForecastingMetrics
- ArimaSingleModelForecastingMetrics
- DataSplitResult
- GlobalExplanation
- Explanation
- Methods
Resource: Model
JSON representation | |
---|---|
{ "etag": string, "modelReference": { object ( |
Fields | |
---|---|
etag |
Output only. A hash of this resource. |
modelReference |
Required. Unique identifier for this model. |
creationTime |
Output only. The time when this model was created, in millisecs since the epoch. |
lastModifiedTime |
Output only. The time when this model was last modified, in millisecs since the epoch. |
description |
Optional. A user-friendly description of this model. |
friendlyName |
Optional. A descriptive name for this model. |
labels |
The labels associated with this model. You can use these to organize and group your models. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key. An object containing a list of |
expirationTime |
Optional. The time when this model expires, in milliseconds since the epoch. If not present, the model will persist indefinitely. Expired models will be deleted and their storage reclaimed. The defaultTableExpirationMs property of the encapsulating dataset can be used to set a default expirationTime on newly created models. |
location |
Output only. The geographic location where the model resides. This value is inherited from the dataset. |
encryptionConfiguration |
Custom encryption configuration (e.g., Cloud KMS keys). This shows the encryption configuration of the model data while stored in BigQuery storage. This field can be used with models.patch to update encryption key for an already encrypted model. |
modelType |
Output only. Type of the model resource. |
trainingRuns[] |
Output only. Information for all training runs in increasing order of startTime. |
featureColumns[] |
Output only. Input feature columns that were used to train this model. |
labelColumns[] |
Output only. Label columns that were used to train this model. The output of the model will have a "predicted_" prefix to these columns. |
bestTrialId |
The best trialId across all training runs. |
ModelReference
Id path of a model.
JSON representation | |
---|---|
{ "projectId": string, "datasetId": string, "modelId": string } |
Fields | |
---|---|
projectId |
Required. The ID of the project containing this model. |
datasetId |
Required. The ID of the dataset containing this model. |
modelId |
Required. The ID of the model. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. |
ModelType
Indicates the type of the Model.
Enums | |
---|---|
MODEL_TYPE_UNSPECIFIED |
|
LINEAR_REGRESSION |
Linear regression model. |
LOGISTIC_REGRESSION |
Logistic regression based classification model. |
KMEANS |
K-means clustering model. |
MATRIX_FACTORIZATION |
Matrix factorization model. |
DNN_CLASSIFIER |
DNN classifier model. |
TENSORFLOW |
An imported TensorFlow model. |
DNN_REGRESSOR |
DNN regressor model. |
BOOSTED_TREE_REGRESSOR |
Boosted tree regressor model. |
BOOSTED_TREE_CLASSIFIER |
Boosted tree classifier model. |
ARIMA |
ARIMA model. |
AUTOML_REGRESSOR |
[Beta] AutoML Tables regression model. |
AUTOML_CLASSIFIER |
[Beta] AutoML Tables classification model. |
TrainingRun
Information about a single training query run for the model.
JSON representation | |
---|---|
{ "trainingOptions": { object ( |
Fields | |
---|---|
trainingOptions |
Options that were used for this training run, includes user specified and default options that were used. |
startTime |
The start time of this training run. |
results[] |
Output of each iteration run, results.size() <= maxIterations. |
evaluationMetrics |
The evaluation metrics over training/eval data that were computed at the end of training. |
dataSplitResult |
Data split result of the training run. Only set when the input data is actually split. |
globalExplanations[] |
Global explanations for important features of the model. For multi-class models, there is one entry for each label class. For other models, there is only one entry in the list. |
TrainingOptions
Options used in model training.
JSON representation | |
---|---|
{ "maxIterations": string, "lossType": enum ( |
Fields | |
---|---|
maxIterations |
The maximum number of iterations in training. Used only for iterative training algorithms. |
lossType |
Type of loss function used during training run. |
learnRate |
Learning rate in training. Used only for iterative training algorithms. |
l1Regularization |
L1 regularization coefficient. |
l2Regularization |
L2 regularization coefficient. |
minRelativeProgress |
When earlyStop is true, stops training when accuracy improvement is less than 'minRelativeProgress'. Used only for iterative training algorithms. |
warmStart |
Whether to train a model from the last checkpoint. |
earlyStop |
Whether to stop early when the loss doesn't improve significantly any more (compared to minRelativeProgress). Used only for iterative training algorithms. |
inputLabelColumns[] |
Name of input label columns in training data. |
dataSplitMethod |
The data split type for training and evaluation, e.g. RANDOM. |
dataSplitEvalFraction |
The fraction of evaluation data over the whole input data. The rest of data will be used as training data. The format should be double. Accurate to two decimal places. Default value is 0.2. |
dataSplitColumn |
The column to split data with. This column won't be used as a feature. 1. When dataSplitMethod is CUSTOM, the corresponding column should be boolean. The rows with true value tag are eval data, and the false are training data. 2. When dataSplitMethod is SEQ, the first DATA_SPLIT_EVAL_FRACTION rows (from smallest to largest) in the corresponding column are used as training data, and the rest are eval data. It respects the order in Orderable data types: https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#data-type-properties |
learnRateStrategy |
The strategy to determine learn rate for the current iteration. |
initialLearnRate |
Specifies the initial learning rate for the line search learn rate strategy. |
labelClassWeights |
Weights associated with each label class, for rebalancing the training data. Only applicable for classification models. An object containing a list of |
userColumn |
User column specified for matrix factorization models. |
itemColumn |
Item column specified for matrix factorization models. |
distanceType |
Distance type for clustering models. |
numClusters |
Number of clusters for clustering models. |
modelUri |
Google Cloud Storage URI from which the model was imported. Only applicable for imported models. |
optimizationStrategy |
Optimization strategy for training linear regression models. |
batchSize |
Batch size for dnn models. |
dropout |
Dropout probability for dnn models. |
maxTreeDepth |
Maximum depth of a tree for boosted tree models. |
subsample |
Subsample fraction of the training data to grow tree to prevent overfitting for boosted tree models. |
minSplitLoss |
Minimum split loss for boosted tree models. |
numFactors |
Num factors specified for matrix factorization models. |
feedbackType |
Feedback type that specifies which algorithm to run for matrix factorization. |
walsAlpha |
Hyperparameter for matrix factoration when implicit feedback type is specified. |
kmeansInitializationMethod |
The method used to initialize the centroids for kmeans algorithm. |
kmeansInitializationColumn |
The column used to provide the initial centroids for kmeans algorithm when kmeansInitializationMethod is CUSTOM. |
timeSeriesTimestampColumn |
Column to be designated as time series timestamp for ARIMA model. |
timeSeriesDataColumn |
Column to be designated as time series data for ARIMA model. |
autoArima |
Whether to enable auto ARIMA or not. |
nonSeasonalOrder |
A specification of the non-seasonal part of the ARIMA model: the three components (p, d, q) are the AR order, the degree of differencing, and the MA order. |
dataFrequency |
The data frequency of a time series. |
includeDrift |
Include drift when fitting an ARIMA model. |
holidayRegion |
The geographical region based on which the holidays are considered in time series modeling. If a valid value is specified, then holiday effects modeling is enabled. |
timeSeriesIdColumn |
The time series id column that was used during ARIMA model training. |
horizon |
The number of periods ahead that need to be forecasted. |
preserveInputStructs |
Whether to preserve the input structs in output feature names. Suppose there is a struct A with field b. When false (default), the output feature name is A_b. When true, the output feature name is A.b. |
autoArimaMaxOrder |
The max value of non-seasonal p and q. |
LossType
Loss metric to evaluate model training performance.
Enums | |
---|---|
LOSS_TYPE_UNSPECIFIED |
|
MEAN_SQUARED_LOSS |
Mean squared loss, used for linear regression. |
MEAN_LOG_LOSS |
Mean log loss, used for logistic regression. |
DataSplitMethod
Indicates the method to split input data into multiple tables.
Enums | |
---|---|
DATA_SPLIT_METHOD_UNSPECIFIED |
|
RANDOM |
Splits data randomly. |
CUSTOM |
Splits data with the user provided tags. |
SEQUENTIAL |
Splits data sequentially. |
NO_SPLIT |
Data split will be skipped. |
AUTO_SPLIT |
Splits data automatically: Uses NO_SPLIT if the data size is small. Otherwise uses RANDOM. |
LearnRateStrategy
Indicates the learning rate optimization strategy to use.
Enums | |
---|---|
LEARN_RATE_STRATEGY_UNSPECIFIED |
|
LINE_SEARCH |
Use line search to determine learning rate. |
CONSTANT |
Use a constant learning rate. |
DistanceType
Distance metric used to compute the distance between two points.
Enums | |
---|---|
DISTANCE_TYPE_UNSPECIFIED |
|
EUCLIDEAN |
Eculidean distance. |
COSINE |
Cosine distance. |
OptimizationStrategy
Indicates the optimization strategy used for training.
Enums | |
---|---|
OPTIMIZATION_STRATEGY_UNSPECIFIED |
|
BATCH_GRADIENT_DESCENT |
Uses an iterative batch gradient descent algorithm. |
NORMAL_EQUATION |
Uses a normal equation to solve linear regression problem. |
FeedbackType
Indicates the training algorithm to use for matrix factorization models.
Enums | |
---|---|
FEEDBACK_TYPE_UNSPECIFIED |
|
IMPLICIT |
Use weighted-als for implicit feedback problems. |
EXPLICIT |
Use nonweighted-als for explicit feedback problems. |
KmeansInitializationMethod
Indicates the method used to initialize the centroids for KMeans clustering algorithm.
Enums | |
---|---|
KMEANS_INITIALIZATION_METHOD_UNSPECIFIED |
Unspecified initialization method. |
RANDOM |
Initializes the centroids randomly. |
CUSTOM |
Initializes the centroids using data specified in kmeansInitializationColumn. |
KMEANS_PLUS_PLUS |
Initializes with kmeans++. |
ArimaOrder
Arima order, can be used for both non-seasonal and seasonal parts.
JSON representation | |
---|---|
{ "p": string, "d": string, "q": string } |
Fields | |
---|---|
p |
Order of the autoregressive part. |
d |
Order of the differencing part. |
q |
Order of the moving-average part. |
DataFrequency
Type of supported data frequency for time series forecasting models.
Enums | |
---|---|
DATA_FREQUENCY_UNSPECIFIED |
|
AUTO_FREQUENCY |
Automatically inferred from timestamps. |
YEARLY |
Yearly data. |
QUARTERLY |
Quarterly data. |
MONTHLY |
Monthly data. |
WEEKLY |
Weekly data. |
DAILY |
Daily data. |
HOURLY |
Hourly data. |
PER_MINUTE |
Per-minute data. |
HolidayRegion
Type of supported holiday regions for time series forecasting models.
Enums | |
---|---|
HOLIDAY_REGION_UNSPECIFIED |
Holiday region unspecified. |
GLOBAL |
Global. |
NA |
North America. |
JAPAC |
Japan and Asia Pacific: Korea, Greater China, India, Australia, and New Zealand. |
EMEA |
Europe, the Middle East and Africa. |
LAC |
Latin America and the Caribbean. |
AE |
United Arab Emirates |
AR |
Argentina |
AT |
Austria |
AU |
Australia |
BE |
Belgium |
BR |
Brazil |
CA |
Canada |
CH |
Switzerland |
CL |
Chile |
CN |
China |
CO |
Colombia |
CS |
Czechoslovakia |
CZ |
Czech Republic |
DE |
Germany |
DK |
Denmark |
DZ |
Algeria |
EC |
Ecuador |
EE |
Estonia |
EG |
Egypt |
ES |
Spain |
FI |
Finland |
FR |
France |
GB |
Great Britain (United Kingdom) |
GR |
Greece |
HK |
Hong Kong |
HU |
Hungary |
ID |
Indonesia |
IE |
Ireland |
IL |
Israel |
IN |
India |
IR |
Iran |
IT |
Italy |
JP |
Japan |
KR |
Korea (South) |
LV |
Latvia |
MA |
Morocco |
MX |
Mexico |
MY |
Malaysia |
NG |
Nigeria |
NL |
Netherlands |
NO |
Norway |
NZ |
New Zealand |
PE |
Peru |
PH |
Philippines |
PK |
Pakistan |
PL |
Poland |
PT |
Portugal |
RO |
Romania |
RS |
Serbia |
RU |
Russian Federation |
SA |
Saudi Arabia |
SE |
Sweden |
SG |
Singapore |
SI |
Slovenia |
SK |
Slovakia |
TH |
Thailand |
TR |
Turkey |
TW |
Taiwan |
UA |
Ukraine |
US |
United States |
VE |
Venezuela |
VN |
Viet Nam |
ZA |
South Africa |
IterationResult
Information about a single iteration of the training run.
JSON representation | |
---|---|
{ "index": integer, "durationMs": string, "trainingLoss": number, "evalLoss": number, "learnRate": number, "clusterInfos": [ { object ( |
Fields | |
---|---|
index |
Index of the iteration, 0 based. |
durationMs |
Time taken to run the iteration in milliseconds. |
trainingLoss |
Loss computed on the training data at the end of iteration. |
evalLoss |
Loss computed on the eval data at the end of iteration. |
learnRate |
Learn rate used for this iteration. |
clusterInfos[] |
Information about top clusters for clustering models. |
arimaResult |
|
ClusterInfo
Information about a single cluster for clustering model.
JSON representation | |
---|---|
{ "centroidId": string, "clusterRadius": number, "clusterSize": string } |
Fields | |
---|---|
centroidId |
Centroid id. |
clusterRadius |
Cluster radius, the average distance from centroid to each point assigned to the cluster. |
clusterSize |
Cluster size, the total number of points assigned to the cluster. |
ArimaResult
(Auto-)arima fitting result. Wrap everything in ArimaResult for easier refactoring if we want to use model-specific iteration results.
JSON representation | |
---|---|
{ "arimaModelInfo": [ { object ( |
Fields | |
---|---|
arimaModelInfo[] |
This message is repeated because there are multiple arima models fitted in auto-arima. For non-auto-arima model, its size is one. |
seasonalPeriods[] |
Seasonal periods. Repeated because multiple periods are supported for one time series. |
ArimaModelInfo
Arima model information.
JSON representation | |
---|---|
{ "nonSeasonalOrder": { object ( |
Fields | |
---|---|
nonSeasonalOrder |
Non-seasonal order. |
arimaCoefficients |
Arima coefficients. |
arimaFittingMetrics |
Arima fitting metrics. |
hasDrift |
Whether Arima model fitted with drift or not. It is always false when d is not 1. |
timeSeriesId |
The timeSeriesId value for this time series. It will be one of the unique values from the timeSeriesIdColumn specified during ARIMA model training. Only present when timeSeriesIdColumn training option was used. |
seasonalPeriods[] |
Seasonal periods. Repeated because multiple periods are supported for one time series. |
ArimaCoefficients
Arima coefficients.
JSON representation | |
---|---|
{ "autoRegressiveCoefficients": [ number ], "movingAverageCoefficients": [ number ], "interceptCoefficient": number } |
Fields | |
---|---|
autoRegressiveCoefficients[] |
Auto-regressive coefficients, an array of double. |
movingAverageCoefficients[] |
Moving-average coefficients, an array of double. |
interceptCoefficient |
Intercept coefficient, just a double not an array. |
ArimaFittingMetrics
ARIMA model fitting metrics.
JSON representation | |
---|---|
{ "logLikelihood": number, "aic": number, "variance": number } |
Fields | |
---|---|
logLikelihood |
Log-likelihood. |
aic |
AIC. |
variance |
Variance. |
SeasonalPeriodType
Enums | |
---|---|
SEASONAL_PERIOD_TYPE_UNSPECIFIED |
|
NO_SEASONALITY |
No seasonality |
DAILY |
Daily period, 24 hours. |
WEEKLY |
Weekly period, 7 days. |
MONTHLY |
Monthly period, 30 days or irregular. |
QUARTERLY |
Quarterly period, 90 days or irregular. |
YEARLY |
Yearly period, 365 days or irregular. |
EvaluationMetrics
Evaluation metrics of a model. These are either computed on all training data or just the eval data based on whether eval data was used during training. These are not present for imported models.
JSON representation | |
---|---|
{ // Union field |
Fields | ||
---|---|---|
Union field
|
||
regressionMetrics |
Populated for regression models and explicit feedback type matrix factorization models. |
|
binaryClassificationMetrics |
Populated for binary classification/classifier models. |
|
multiClassClassificationMetrics |
Populated for multi-class classification/classifier models. |
|
clusteringMetrics |
Populated for clustering models. |
|
rankingMetrics |
Populated for implicit feedback type matrix factorization models. |
|
arimaForecastingMetrics |
Populated for ARIMA models. |
RegressionMetrics
Evaluation metrics for regression and explicit feedback type matrix factorization models.
JSON representation | |
---|---|
{ "meanAbsoluteError": number, "meanSquaredError": number, "meanSquaredLogError": number, "medianAbsoluteError": number, "rSquared": number } |
Fields | |
---|---|
meanAbsoluteError |
Mean absolute error. |
meanSquaredError |
Mean squared error. |
meanSquaredLogError |
Mean squared log error. |
medianAbsoluteError |
Median absolute error. |
rSquared |
R^2 score. This corresponds to r2_score in ML.EVALUATE. |
BinaryClassificationMetrics
Evaluation metrics for binary classification/classifier models.
JSON representation | |
---|---|
{ "aggregateClassificationMetrics": { object ( |
Fields | |
---|---|
aggregateClassificationMetrics |
Aggregate classification metrics. |
binaryConfusionMatrixList[] |
Binary confusion matrix at multiple thresholds. |
positiveLabel |
Label representing the positive class. |
negativeLabel |
Label representing the negative class. |
AggregateClassificationMetrics
Aggregate metrics for classification/classifier models. For multi-class models, the metrics are either macro-averaged or micro-averaged. When macro-averaged, the metrics are calculated for each label and then an unweighted average is taken of those values. When micro-averaged, the metric is calculated globally by counting the total number of correctly predicted rows.
JSON representation | |
---|---|
{ "precision": number, "recall": number, "accuracy": number, "threshold": number, "f1Score": number, "logLoss": number, "rocAuc": number } |
Fields | |
---|---|
precision |
Precision is the fraction of actual positive predictions that had positive actual labels. For multiclass this is a macro-averaged metric treating each class as a binary classifier. |
recall |
Recall is the fraction of actual positive labels that were given a positive prediction. For multiclass this is a macro-averaged metric. |
accuracy |
Accuracy is the fraction of predictions given the correct label. For multiclass this is a micro-averaged metric. |
threshold |
Threshold at which the metrics are computed. For binary classification models this is the positive class threshold. For multi-class classfication models this is the confidence threshold. |
f1Score |
The F1 score is an average of recall and precision. For multiclass this is a macro-averaged metric. |
logLoss |
Logarithmic Loss. For multiclass this is a macro-averaged metric. |
rocAuc |
Area Under a ROC Curve. For multiclass this is a macro-averaged metric. |
BinaryConfusionMatrix
Confusion matrix for binary classification models.
JSON representation | |
---|---|
{ "positiveClassThreshold": number, "truePositives": string, "falsePositives": string, "trueNegatives": string, "falseNegatives": string, "precision": number, "recall": number, "f1Score": number, "accuracy": number } |
Fields | |
---|---|
positiveClassThreshold |
Threshold value used when computing each of the following metric. |
truePositives |
Number of true samples predicted as true. |
falsePositives |
Number of false samples predicted as true. |
trueNegatives |
Number of true samples predicted as false. |
falseNegatives |
Number of false samples predicted as false. |
precision |
The fraction of actual positive predictions that had positive actual labels. |
recall |
The fraction of actual positive labels that were given a positive prediction. |
f1Score |
The equally weighted average of recall and precision. |
accuracy |
The fraction of predictions given the correct label. |
MultiClassClassificationMetrics
Evaluation metrics for multi-class classification/classifier models.
JSON representation | |
---|---|
{ "aggregateClassificationMetrics": { object ( |
Fields | |
---|---|
aggregateClassificationMetrics |
Aggregate classification metrics. |
confusionMatrixList[] |
Confusion matrix at different thresholds. |
ConfusionMatrix
Confusion matrix for multi-class classification models.
JSON representation | |
---|---|
{
"confidenceThreshold": number,
"rows": [
{
object ( |
Fields | |
---|---|
confidenceThreshold |
Confidence threshold used when computing the entries of the confusion matrix. |
rows[] |
One row per actual label. |
Row
A single row in the confusion matrix.
JSON representation | |
---|---|
{
"actualLabel": string,
"entries": [
{
object ( |
Fields | |
---|---|
actualLabel |
The original label of this row. |
entries[] |
Info describing predicted label distribution. |
Entry
A single entry in the confusion matrix.
JSON representation | |
---|---|
{ "predictedLabel": string, "itemCount": string } |
Fields | |
---|---|
predictedLabel |
The predicted label. For confidenceThreshold > 0, we will also add an entry indicating the number of items under the confidence threshold. |
itemCount |
Number of items being predicted as this label. |
ClusteringMetrics
Evaluation metrics for clustering models.
JSON representation | |
---|---|
{
"daviesBouldinIndex": number,
"meanSquaredDistance": number,
"clusters": [
{
object ( |
Fields | |
---|---|
daviesBouldinIndex |
Davies-Bouldin index. |
meanSquaredDistance |
Mean of squared distances between each sample to its cluster centroid. |
clusters[] |
Information for all clusters. |
Cluster
Message containing the information about one cluster.
JSON representation | |
---|---|
{
"centroidId": string,
"featureValues": [
{
object ( |
Fields | |
---|---|
centroidId |
Centroid id. |
featureValues[] |
Values of highly variant features for this cluster. |
count |
Count of training data rows that were assigned to this cluster. |
FeatureValue
Representative value of a single feature within the cluster.
JSON representation | |
---|---|
{ "featureColumn": string, // Union field |
Fields | ||
---|---|---|
featureColumn |
The feature column name. |
|
Union field
|
||
numericalValue |
The numerical feature value. This is the centroid value for this feature. |
|
categoricalValue |
The categorical feature value. |
CategoricalValue
Representative value of a categorical feature.
JSON representation | |
---|---|
{
"categoryCounts": [
{
object ( |
Fields | |
---|---|
categoryCounts[] |
Counts of all categories for the categorical feature. If there are more than ten categories, we return top ten (by count) and return one more CategoryCount with category "_OTHER_" and count as aggregate counts of remaining categories. |
CategoryCount
Represents the count of a single category within the cluster.
JSON representation | |
---|---|
{ "category": string, "count": string } |
Fields | |
---|---|
category |
The name of category. |
count |
The count of training samples matching the category within the cluster. |
RankingMetrics
Evaluation metrics used by weighted-ALS models specified by feedbackType=implicit.
JSON representation | |
---|---|
{ "meanAveragePrecision": number, "meanSquaredError": number, "normalizedDiscountedCumulativeGain": number, "averageRank": number } |
Fields | |
---|---|
meanAveragePrecision |
Calculates a precision per user for all the items by ranking them and then averages all the precisions across all the users. |
meanSquaredError |
Similar to the mean squared error computed in regression and explicit recommendation models except instead of computing the rating directly, the output from evaluate is computed against a preference which is 1 or 0 depending on if the rating exists or not. |
normalizedDiscountedCumulativeGain |
A metric to determine the goodness of a ranking calculated from the predicted confidence by comparing it to an ideal rank measured by the original ratings. |
averageRank |
Determines the goodness of a ranking by computing the percentile rank from the predicted confidence and dividing it by the original rank. |
ArimaForecastingMetrics
Model evaluation metrics for ARIMA forecasting models.
JSON representation | |
---|---|
{ "nonSeasonalOrder": [ { object ( |
Fields | |
---|---|
nonSeasonalOrder[] |
Non-seasonal order. |
arimaFittingMetrics[] |
Arima model fitting metrics. |
seasonalPeriods[] |
Seasonal periods. Repeated because multiple periods are supported for one time series. |
hasDrift[] |
Whether Arima model fitted with drift or not. It is always false when d is not 1. |
timeSeriesId[] |
Id to differentiate different time series for the large-scale case. |
arimaSingleModelForecastingMetrics[] |
Repeated as there can be many metric sets (one for each model) in auto-arima and the large-scale case. |
ArimaSingleModelForecastingMetrics
Model evaluation metrics for a single ARIMA forecasting model.
JSON representation | |
---|---|
{ "nonSeasonalOrder": { object ( |
Fields | |
---|---|
nonSeasonalOrder |
Non-seasonal order. |
arimaFittingMetrics |
Arima fitting metrics. |
hasDrift |
Is arima model fitted with drift or not. It is always false when d is not 1. |
timeSeriesId |
The timeSeriesId value for this time series. It will be one of the unique values from the timeSeriesIdColumn specified during ARIMA model training. Only present when timeSeriesIdColumn training option was used. |
seasonalPeriods[] |
Seasonal periods. Repeated because multiple periods are supported for one time series. |
DataSplitResult
Data split result. This contains references to the training and evaluation data tables that were used to train the model.
JSON representation | |
---|---|
{ "trainingTable": { object ( |
Fields | |
---|---|
trainingTable |
Table reference of the training data after split. |
evaluationTable |
Table reference of the evaluation data after split. |
GlobalExplanation
Global explanations containing the top most important features after training.
JSON representation | |
---|---|
{
"explanations": [
{
object ( |
Fields | |
---|---|
explanations[] |
A list of the top global explanations. Sorted by absolute value of attribution in descending order. |
classLabel |
Class label for this set of global explanations. Will be empty/null for binary logistic and linear regression models. Sorted alphabetically in descending order. |
Explanation
Explanation for a single feature.
JSON representation | |
---|---|
{ "featureName": string, "attribution": number } |
Fields | |
---|---|
featureName |
Full name of the feature. For non-numerical features, will be formatted like |
attribution |
Attribution of feature. |
Methods |
|
---|---|
|
Deletes the model specified by modelId from the dataset. |
|
Gets the specified model resource by model ID. |
|
Lists all models in the specified dataset. |
|
Patch specific fields in the specified model. |