Skip to content

Commit ff9ca5e

Browse files
gPS Teamcopybara-github
gPS Team
authored andcommitted
Internal change
PiperOrigin-RevId: 542563246 Change-Id: I5aa614960e24e66aee4ba29b418aafb2c2c94a91
1 parent 52cb674 commit ff9ca5e

8 files changed

+19
-1768
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ WORKDIR .
1818

1919
COPY . .
2020

21-
RUN pip install --require-hashes -r requirements.txt
21+
RUN pip install -r requirements.txt

README.md

-8
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,3 @@ The steps in the Crystalvalue LTV process are outlined below and are set out in
131131
* **Monitor feature skew and drift.** [Vertex AI Model Monitoring supports feature skew and drift detection for categorical and numerical input features.](https://cloud.google.com/vertex-ai/docs/model-monitoring/using-model-monitoring). This can be set up in the Vertex UI from your model's endpoint settings. Use this feature to set up [email alerts](https://cloud.google.com/vertex-ai/docs/model-monitoring/using-model-monitoring#email-alerts) for when the monitoring detects [Prediction Drift Training Prediction Skew](https://cloud.google.com/vertex-ai/docs/model-monitoring/using-model-monitoring#analyzing-skew-drift), which is a useful prompt to retrain the model using fresh data.
132132

133133

134-
## The team
135-
136-
137-
138-
139-
140-
141-

requirements.txt

+13-1,372
Large diffs are not rendered by default.

src/custom_model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2022 Google LLC.
1+
# Copyright 2023 Google LLC.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

src/custom_model/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ WORKDIR .
1818

1919
COPY . .
2020

21-
RUN python3 -m pip install --require-hashes --upgrade pip==22.3.1
22-
RUN pip3 install --require-hashes -r requirements.txt
21+
RUN python3 -m pip install --upgrade pip
22+
RUN pip3 install sklearn pandas tornado joblib google-cloud-storage
2323

2424
# Expose port 8080
2525
EXPOSE 8080

src/custom_model/crystalvalue/custom_model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2022 Google LLC.
1+
# Copyright 2023 Google LLC.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

src/custom_model/prediction_server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2022 Google LLC.
1+
# Copyright 2023 Google LLC.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

src/custom_model/requirements.txt

-382
This file was deleted.

0 commit comments

Comments
 (0)