File tree

303 files changed

+9690
-1710
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searcx below for content that may be hidden.

303 files changed

+9690
-1710
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
docker:
2+
digest: sha256:457583330eec64daa02aeb7a72a04d33e7be2428f646671ce4045dcbc0191b1e
3+
image: gcr.io/repo-automation-bots/owlbot-python:latest
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Copyright 2021 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
docker:
16+
image: gcr.io/repo-automation-bots/owlbot-python:latest
17+
18+
deep-remove-regex:
19+
- /owl-bot-staging
20+
21+
deep-copy-regex:
22+
- source: /google/cloud/aiplatform/(v.*)/.*-py/(.*)
23+
dest: /owl-bot-staging/$1/$2
24+
25+
begin-after-commit-hash: 7774246dfb7839067cd64bba0600089b1c91bd85
26+
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ repos:
2626
hooks:
2727
- id: black
2828
- repo: https://gitlab.com/pycqa/flake8
29-
rev: 3.9.2
29+
rev: 3.9.1
3030
hooks:
3131
- id: flake8
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
from google.cloud.aiplatform.v1beta1.schema.predict.prediction_v1beta1.types.text_sentiment import (
3737
TextSentimentPredictionResult,
3838
)
39+
from google.cloud.aiplatform.v1beta1.schema.predict.prediction_v1beta1.types.time_series_forecasting import (
40+
TimeSeriesForecastingPredictionResult,
41+
)
3942
from google.cloud.aiplatform.v1beta1.schema.predict.prediction_v1beta1.types.video_action_recognition import (
4043
VideoActionRecognitionPredictionResult,
4144
)
@@ -54,6 +57,7 @@
5457
"TabularRegressionPredictionResult",
5558
"TextExtractionPredictionResult",
5659
"TextSentimentPredictionResult",
60+
"TimeSeriesForecastingPredictionResult",
5761
"VideoActionRecognitionPredictionResult",
5862
"VideoClassificationPredictionResult",
5963
"VideoObjectTrackingPredictionResult",
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from .types.tabular_regression import TabularRegressionPredictionResult
2323
from .types.text_extraction import TextExtractionPredictionResult
2424
from .types.text_sentiment import TextSentimentPredictionResult
25+
from .types.time_series_forecasting import TimeSeriesForecastingPredictionResult
2526
from .types.video_action_recognition import VideoActionRecognitionPredictionResult
2627
from .types.video_classification import VideoClassificationPredictionResult
2728
from .types.video_object_tracking import VideoObjectTrackingPredictionResult
@@ -34,6 +35,7 @@
3435
"TabularRegressionPredictionResult",
3536
"TextExtractionPredictionResult",
3637
"TextSentimentPredictionResult",
38+
"TimeSeriesForecastingPredictionResult",
3739
"VideoActionRecognitionPredictionResult",
3840
"VideoClassificationPredictionResult",
3941
"VideoObjectTrackingPredictionResult",
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from .tabular_regression import TabularRegressionPredictionResult
2121
from .text_extraction import TextExtractionPredictionResult
2222
from .text_sentiment import TextSentimentPredictionResult
23+
from .time_series_forecasting import TimeSeriesForecastingPredictionResult
2324
from .video_action_recognition import VideoActionRecognitionPredictionResult
2425
from .video_classification import VideoClassificationPredictionResult
2526
from .video_object_tracking import VideoObjectTrackingPredictionResult
@@ -32,6 +33,7 @@
3233
"TabularRegressionPredictionResult",
3334
"TextExtractionPredictionResult",
3435
"TextSentimentPredictionResult",
36+
"TimeSeriesForecastingPredictionResult",
3537
"VideoActionRecognitionPredictionResult",
3638
"VideoClassificationPredictionResult",
3739
"VideoObjectTrackingPredictionResult",
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,7 +13,6 @@
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
1615
#
17-
1816
import proto # type: ignore
1917

2018

@@ -26,21 +24,12 @@
2624

2725
class TimeSeriesForecastingPredictionResult(proto.Message):
2826
r"""Prediction output format for Time Series Forecasting.
29-
3027
Attributes:
3128
value (float):
3229
The regression value.
33-
lower_bound (float):
34-
The lower bound of the prediction interval.
35-
upper_bound (float):
36-
The upper bound of the prediction interval.
3730
"""
3831

39-
value = proto.Field(proto.FLOAT, number=1)
40-
41-
lower_bound = proto.Field(proto.FLOAT, number=2)
42-
43-
upper_bound = proto.Field(proto.FLOAT, number=3)
32+
value = proto.Field(proto.FLOAT, number=1,)
4433

4534

4635
__all__ = tuple(sorted(__protobuf__.manifest))
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@
6969
from google.cloud.aiplatform.v1beta1.schema.trainingjob.definition_v1beta1.types.automl_text_sentiment import (
7070
AutoMlTextSentimentInputs,
7171
)
72+
from google.cloud.aiplatform.v1beta1.schema.trainingjob.definition_v1beta1.types.automl_time_series_forecasting import (
73+
AutoMlForecasting,
74+
)
75+
from google.cloud.aiplatform.v1beta1.schema.trainingjob.definition_v1beta1.types.automl_time_series_forecasting import (
76+
AutoMlForecastingInputs,
77+
)
78+
from google.cloud.aiplatform.v1beta1.schema.trainingjob.definition_v1beta1.types.automl_time_series_forecasting import (
79+
AutoMlForecastingMetadata,
80+
)
7281
from google.cloud.aiplatform.v1beta1.schema.trainingjob.definition_v1beta1.types.automl_video_action_recognition import (
7382
AutoMlVideoActionRecognition,
7483
)
@@ -110,6 +119,9 @@
110119
"AutoMlTextExtractionInputs",
111120
"AutoMlTextSentiment",
112121
"AutoMlTextSentimentInputs",
122+
"AutoMlForecasting",
123+
"AutoMlForecastingInputs",
124+
"AutoMlForecastingMetadata",
113125
"AutoMlVideoActionRecognition",
114126
"AutoMlVideoActionRecognitionInputs",
115127
"AutoMlVideoClassification",
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
from .types.automl_text_extraction import AutoMlTextExtractionInputs
3434
from .types.automl_text_sentiment import AutoMlTextSentiment
3535
from .types.automl_text_sentiment import AutoMlTextSentimentInputs
36+
from .types.automl_time_series_forecasting import AutoMlForecasting
37+
from .types.automl_time_series_forecasting import AutoMlForecastingInputs
38+
from .types.automl_time_series_forecasting import AutoMlForecastingMetadata
3639
from .types.automl_video_action_recognition import AutoMlVideoActionRecognition
3740
from .types.automl_video_action_recognition import AutoMlVideoActionRecognitionInputs
3841
from .types.automl_video_classification import AutoMlVideoClassification
@@ -42,6 +45,9 @@
4245
from .types.export_evaluated_data_items_config import ExportEvaluatedDataItemsConfig
4346

4447
__all__ = (
48+
"AutoMlForecasting",
49+
"AutoMlForecastingInputs",
50+
"AutoMlForecastingMetadata",
4551
"AutoMlImageClassification",
4652
"AutoMlImageClassificationInputs",
4753
"AutoMlImageClassificationMetadata",
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
AutoMlTextSentiment,
4646
AutoMlTextSentimentInputs,
4747
)
48+
from .automl_time_series_forecasting import (
49+
AutoMlForecasting,
50+
AutoMlForecastingInputs,
51+
AutoMlForecastingMetadata,
52+
)
4853
from .automl_video_action_recognition import (
4954
AutoMlVideoActionRecognition,
5055
AutoMlVideoActionRecognitionInputs,
@@ -78,6 +83,9 @@
7883
"AutoMlTextExtractionInputs",
7984
"AutoMlTextSentiment",
8085
"AutoMlTextSentimentInputs",
86+
"AutoMlForecasting",
87+
"AutoMlForecastingInputs",
88+
"AutoMlForecastingMetadata",
8189
"AutoMlVideoActionRecognition",
8290
"AutoMlVideoActionRecognitionInputs",
8391
"AutoMlVideoClassification",

0 commit comments

Comments
 (0)