forked from SeldonIO/seldon-core
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleaning up the kubeflow examples to explicitly mention installation …
…of s2i in the README, updating the rquirements files to include pandas in the data_download pipeline step, update the requirements to point to the tar of the en_core_web_sm package since it cannot be pip installed, and small formatting changes to pipeline steps (SeldonIO#3654) Co-authored-by: Alex Lee <alexander.lee@nytimes.com>
- Loading branch information
1 parent
8cf76d3
commit b4bea6b
Showing
11 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
examples/kubeflow/pipeline/pipeline_steps/clean_text/Transformer.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/kubeflow/pipeline/pipeline_steps/clean_text/pipeline_step.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import dill | ||
import click | ||
import dill | ||
|
||
try: | ||
# Running for tests | ||
from .Transformer import Transformer | ||
|
1 change: 0 additions & 1 deletion
1
examples/kubeflow/pipeline/pipeline_steps/clean_text/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
dill==0.3.2 | ||
click==7.1.2 | ||
numpy==1.19.1 | ||
|
3 changes: 2 additions & 1 deletion
3
examples/kubeflow/pipeline/pipeline_steps/data_downloader/pipeline_step.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import click | ||
import numpy as np | ||
import dill | ||
|
||
import numpy as np | ||
import pandas as pd | ||
|
||
@click.command() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ dill==0.3.2 | |
click==7.1.2 | ||
numpy==1.19.1 | ||
scikit-learn==0.23.2 | ||
pandas==1.1.1 |
3 changes: 2 additions & 1 deletion
3
examples/kubeflow/pipeline/pipeline_steps/lr_text_classifier/pipeline_step.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
examples/kubeflow/pipeline/pipeline_steps/tfidf_vectorizer/pipeline_step.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,3 @@ dill==0.3.2 | |
click==7.1.2 | ||
numpy==1.19.1 | ||
scikit-learn==0.23.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters