Skip to content

Commit

Permalink
Using artifacts from this repo (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
RHRolun authored Mar 4, 2025
1 parent d00e1cd commit cdbdf54
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions 7_get_data_train_upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ deploymentSpec:
- "\nimport kfp\nfrom kfp import dsl\nfrom kfp.dsl import *\nfrom typing import\
\ *\n\ndef get_data(train_data_output_path: OutputPath(), validate_data_output_path:\
\ OutputPath()):\n import urllib.request\n print(\"starting download...\"\
)\n print(\"downloading training data\")\n url = \"https://raw.githubusercontent.com/cfchase/fraud-detection/main/data/train.csv\"\
)\n print(\"downloading training data\")\n url = \"https://raw.githubusercontent.com/rh-aiservices-bu/fraud-detection/main/data/train.csv\"\
\n urllib.request.urlretrieve(url, train_data_output_path)\n print(\"\
train data downloaded\")\n print(\"downloading validation data\")\n \
\ url = \"https://raw.githubusercontent.com/cfchase/fraud-detection/main/data/validate.csv\"\
\ url = \"https://raw.githubusercontent.com/rh-aiservices-bu/fraud-detection/main/data/validate.csv\"\
\n urllib.request.urlretrieve(url, validate_data_output_path)\n print(\"\
validation data downloaded\")\n\n"
image: quay.io/modh/runtime-images:runtime-cuda-tensorflow-ubi9-python-3.9-2024a-20240523
Expand Down
4 changes: 2 additions & 2 deletions pipeline/7_get_data_train_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ def get_data(train_data_output_path: OutputPath(), validate_data_output_path: Ou
import urllib.request
print("starting download...")
print("downloading training data")
url = "https://raw.githubusercontent.com/cfchase/fraud-detection/main/data/train.csv"
url = "https://raw.githubusercontent.com/rh-aiservices-bu/fraud-detection/main/data/train.csv"
urllib.request.urlretrieve(url, train_data_output_path)
print("train data downloaded")
print("downloading validation data")
url = "https://raw.githubusercontent.com/cfchase/fraud-detection/main/data/validate.csv"
url = "https://raw.githubusercontent.com/rh-aiservices-bu/fraud-detection/main/data/validate.csv"
urllib.request.urlretrieve(url, validate_data_output_path)
print("validation data downloaded")

Expand Down
2 changes: 1 addition & 1 deletion setup/setup-s3-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- -ec
- |-
echo -n 'Setting up Minio instance and connections'
oc apply -f https://github.com/cfchase/fraud-detection-notebooks/raw/main/setup/setup-s3-no-sa.yaml
oc apply -f https://github.com/rh-aiservices-bu/fraud-detection-notebooks/raw/main/setup/setup-s3-no-sa.yaml
command:
- /bin/bash
image: image-registry.openshift-image-registry.svc:5000/openshift/tools:latest
Expand Down

0 comments on commit cdbdf54

Please sign in to comment.