Skip to content

Commit

Permalink
Merge pull request #13 from aviaIguazio/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
aviaIguazio authored Feb 12, 2024
2 parents abde3f5 + 2f9f0d0 commit 0203858
Show file tree
Hide file tree
Showing 5 changed files with 1,401 additions and 3,167 deletions.
86 changes: 43 additions & 43 deletions financial-payment-pipeline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"id": "c447c260-b243-4f62-8a48-9dd07091282d",
"metadata": {
"editable": true,
Expand All @@ -36,7 +36,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"> 2024-01-30 08:51:04,839 [info] Project loaded successfully: {'project_name': 'sagemaker'}\n"
"> 2024-02-12 13:44:28,481 [info] Project loaded successfully: {'project_name': 'sagemaker'}\n"
]
}
],
Expand Down Expand Up @@ -70,7 +70,7 @@
{
"data": {
"text/html": [
"<div>Pipeline running (id=c5935692-c4e0-4bb9-92a7-b1d60e74bedd), <a href=\"https://dashboard.default-tenant.app.app-lab-2-b688.iguazio-cd2.com/mlprojects/sagemaker-yoni/jobs/monitor-workflows/workflow/c5935692-c4e0-4bb9-92a7-b1d60e74bedd\" target=\"_blank\"><b>click here</b></a> to view the details in MLRun UI</div>"
"<div>Pipeline running (id=eb48cc6e-d6ae-4a2d-947f-600a6e4cd469), <a href=\"https://dashboard.default-tenant.app.cust-cs-il-353.iguazio-cd2.com/mlprojects/sagemaker-admin/jobs/monitor-workflows/workflow/eb48cc6e-d6ae-4a2d-947f-600a6e4cd469\" target=\"_blank\"><b>click here</b></a> to view the details in MLRun UI</div>"
],
"text/plain": [
"<IPython.core.display.HTML object>"
Expand All @@ -85,52 +85,52 @@
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.43.0 (0)\n",
"<!-- Generated by graphviz version 8.1.0 (20230707.2238)\n",
" -->\n",
"<!-- Title: kfp Pages: 1 -->\n",
"<svg width=\"248pt\" height=\"116pt\"\n",
" viewBox=\"0.00 0.00 248.05 116.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<svg width=\"230pt\" height=\"116pt\"\n",
" viewBox=\"0.00 0.00 229.82 116.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 112)\">\n",
"<title>kfp</title>\n",
"<polygon fill=\"white\" stroke=\"transparent\" points=\"-4,4 -4,-112 244.05,-112 244.05,4 -4,4\"/>\n",
"<!-- fraud&#45;detection&#45;pipeline&#45;6lj7n&#45;2077403528 -->\n",
"<polygon fill=\"white\" stroke=\"none\" points=\"-4,4 -4,-112 225.82,-112 225.82,4 -4,4\"/>\n",
"<!-- fraud&#45;detection&#45;pipeline&#45;cpzwr&#45;2562321235 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>fraud&#45;detection&#45;pipeline&#45;6lj7n&#45;2077403528</title>\n",
"<polygon fill=\"green\" stroke=\"black\" points=\"122,-36 4,-36 0,-32 0,0 118,0 122,-4 122,-36\"/>\n",
"<polyline fill=\"none\" stroke=\"black\" points=\"118,-32 0,-32 \"/>\n",
"<polyline fill=\"none\" stroke=\"black\" points=\"118,-32 118,0 \"/>\n",
"<polyline fill=\"none\" stroke=\"black\" points=\"118,-32 122,-36 \"/>\n",
"<text text-anchor=\"middle\" x=\"61\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">deploy&#45;serving</text>\n",
"<title>fraud&#45;detection&#45;pipeline&#45;cpzwr&#45;2562321235</title>\n",
"<ellipse fill=\"green\" stroke=\"black\" cx=\"115.25\" cy=\"-90\" rx=\"33.1\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"115.25\" y=\"-84.58\" font-family=\"Times,serif\" font-size=\"14.00\">train</text>\n",
"</g>\n",
"<!-- fraud&#45;detection&#45;pipeline&#45;6lj7n&#45;3541775745 -->\n",
"<!-- fraud&#45;detection&#45;pipeline&#45;cpzwr&#45;650189257 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>fraud&#45;detection&#45;pipeline&#45;6lj7n&#45;3541775745</title>\n",
"<ellipse fill=\"green\" stroke=\"black\" cx=\"190\" cy=\"-18\" rx=\"50.09\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"190\" y=\"-14.3\" font-family=\"Times,serif\" font-size=\"14.00\">evaluate</text>\n",
"<title>fraud&#45;detection&#45;pipeline&#45;cpzwr&#45;650189257</title>\n",
"<polygon fill=\"green\" stroke=\"black\" points=\"110.5,-36 4,-36 0,-32 0,0 106.5,0 110.5,-4 110.5,-36\"/>\n",
"<polyline fill=\"none\" stroke=\"black\" points=\"106.5,-32 0,-32\"/>\n",
"<polyline fill=\"none\" stroke=\"black\" points=\"106.5,-32 106.5,0\"/>\n",
"<polyline fill=\"none\" stroke=\"black\" points=\"106.5,-32 110.5,-36\"/>\n",
"<text text-anchor=\"middle\" x=\"55.25\" y=\"-12.57\" font-family=\"Times,serif\" font-size=\"14.00\">deploy&#45;serving</text>\n",
"</g>\n",
"<!-- fraud&#45;detection&#45;pipeline&#45;6lj7n&#45;4078108240 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>fraud&#45;detection&#45;pipeline&#45;6lj7n&#45;4078108240</title>\n",
"<ellipse fill=\"green\" stroke=\"black\" cx=\"125\" cy=\"-90\" rx=\"33.29\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"125\" y=\"-86.3\" font-family=\"Times,serif\" font-size=\"14.00\">train</text>\n",
"</g>\n",
"<!-- fraud&#45;detection&#45;pipeline&#45;6lj7n&#45;4078108240&#45;&gt;fraud&#45;detection&#45;pipeline&#45;6lj7n&#45;2077403528 -->\n",
"<!-- fraud&#45;detection&#45;pipeline&#45;cpzwr&#45;2562321235&#45;&gt;fraud&#45;detection&#45;pipeline&#45;cpzwr&#45;650189257 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>fraud&#45;detection&#45;pipeline&#45;6lj7n&#45;4078108240&#45;&gt;fraud&#45;detection&#45;pipeline&#45;6lj7n&#45;2077403528</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M110.8,-73.46C102.89,-64.82 92.86,-53.85 83.88,-44.03\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"86.3,-41.48 76.96,-36.46 81.13,-46.2 86.3,-41.48\"/>\n",
"<title>fraud&#45;detection&#45;pipeline&#45;cpzwr&#45;2562321235&#45;&gt;fraud&#45;detection&#45;pipeline&#45;cpzwr&#45;650189257</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M101.64,-73.12C94.36,-64.63 85.23,-53.98 77,-44.38\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"79.24,-42.61 70.07,-37.29 73.92,-47.16 79.24,-42.61\"/>\n",
"</g>\n",
"<!-- fraud&#45;detection&#45;pipeline&#45;cpzwr&#45;2902630996 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>fraud&#45;detection&#45;pipeline&#45;cpzwr&#45;2902630996</title>\n",
"<ellipse fill=\"green\" stroke=\"black\" cx=\"175.25\" cy=\"-18\" rx=\"46.57\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"175.25\" y=\"-12.57\" font-family=\"Times,serif\" font-size=\"14.00\">evaluate</text>\n",
"</g>\n",
"<!-- fraud&#45;detection&#45;pipeline&#45;6lj7n&#45;4078108240&#45;&gt;fraud&#45;detection&#45;pipeline&#45;6lj7n&#45;3541775745 -->\n",
"<!-- fraud&#45;detection&#45;pipeline&#45;cpzwr&#45;2562321235&#45;&gt;fraud&#45;detection&#45;pipeline&#45;cpzwr&#45;2902630996 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>fraud&#45;detection&#45;pipeline&#45;6lj7n&#45;4078108240&#45;&gt;fraud&#45;detection&#45;pipeline&#45;6lj7n&#45;3541775745</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M139.43,-73.46C147.77,-64.48 158.45,-52.98 167.84,-42.87\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"170.47,-45.18 174.71,-35.47 165.34,-40.41 170.47,-45.18\"/>\n",
"<title>fraud&#45;detection&#45;pipeline&#45;cpzwr&#45;2562321235&#45;&gt;fraud&#45;detection&#45;pipeline&#45;cpzwr&#45;2902630996</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M128.86,-73.12C136.35,-64.38 145.8,-53.35 154.22,-43.54\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"157.42,-46.18 161.27,-36.31 152.11,-41.62 157.42,-46.18\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.graphs.Digraph at 0x7f6c05ff4490>"
"<graphviz.graphs.Digraph at 0x7fee50abd5b0>"
]
},
"metadata": {},
Expand All @@ -139,7 +139,7 @@
{
"data": {
"text/html": [
"<h2>Run Results</h2><h3>[info] Workflow c5935692-c4e0-4bb9-92a7-b1d60e74bedd finished, state=Succeeded</h3><br>click the hyper links below to see detailed results<br><table border=\"1\" class=\"dataframe\">\n",
"<h2>Run Results</h2><h3>[info] Workflow eb48cc6e-d6ae-4a2d-947f-600a6e4cd469 finished, state=Succeeded</h3><br>click the hyper links below to see detailed results<br><table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th>uid</th>\n",
Expand All @@ -152,16 +152,16 @@
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <td><div title=\"80724188c619478ebdd0ad964de37911\"><a href=\"https://dashboard.default-tenant.app.app-lab-2-b688.iguazio-cd2.com/mlprojects/sagemaker-yoni/jobs/monitor/80724188c619478ebdd0ad964de37911/overview\" target=\"_blank\" >...4de37911</a></div></td>\n",
" <td>Jan 30 08:58:05</td>\n",
" <td><div title=\"e60c7c8f7bc64a5b8927c99d6a004109\"><a href=\"https://dashboard.default-tenant.app.cust-cs-il-353.iguazio-cd2.com/mlprojects/sagemaker-admin/jobs/monitor/e60c7c8f7bc64a5b8927c99d6a004109/overview\" target=\"_blank\" >...6a004109</a></div></td>\n",
" <td>Feb 12 13:51:31</td>\n",
" <td>completed</td>\n",
" <td>evaluate</td>\n",
" <td><div class=\"dictlist\">model_path=store://artifacts/sagemaker-yoni/train_model_path@c5935692-c4e0-4bb9-92a7-b1d60e74bedd</div><div class=\"dictlist\">model_name=xgboost-model</div><div class=\"dictlist\">label_column=transaction_category</div></td>\n",
" <td><div class=\"dictlist\">model_path=store://artifacts/sagemaker-admin/train_model_path@eb48cc6e-d6ae-4a2d-947f-600a6e4cd469</div><div class=\"dictlist\">model_name=xgboost-model</div><div class=\"dictlist\">label_column=transaction_category</div></td>\n",
" <td></td>\n",
" </tr>\n",
" <tr>\n",
" <td><div title=\"79be5aabdd2c456cbe63d1e1891454d4\"><a href=\"https://dashboard.default-tenant.app.app-lab-2-b688.iguazio-cd2.com/mlprojects/sagemaker-yoni/jobs/monitor/79be5aabdd2c456cbe63d1e1891454d4/overview\" target=\"_blank\" >...891454d4</a></div></td>\n",
" <td>Jan 30 08:51:15</td>\n",
" <td><div title=\"23e9fbf5907845e2be991bafd67ee105\"><a href=\"https://dashboard.default-tenant.app.cust-cs-il-353.iguazio-cd2.com/mlprojects/sagemaker-admin/jobs/monitor/23e9fbf5907845e2be991bafd67ee105/overview\" target=\"_blank\" >...d67ee105</a></div></td>\n",
" <td>Feb 12 13:44:38</td>\n",
" <td>completed</td>\n",
" <td>train</td>\n",
" <td></td>\n",
Expand All @@ -180,7 +180,7 @@
{
"data": {
"text/plain": [
"c5935692-c4e0-4bb9-92a7-b1d60e74bedd"
"eb48cc6e-d6ae-4a2d-947f-600a6e4cd469"
]
},
"execution_count": 4,
Expand Down Expand Up @@ -287,9 +287,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "mlrun-base",
"display_name": "smdemo",
"language": "python",
"name": "conda-env-mlrun-base-py"
"name": "smdemo"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -301,7 +301,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.16"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 0203858

Please sign in to comment.