-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Simplified starter * Template * Latest * Steps * Works until inference pipeline * Works until inference pipeline * Run py cleaned * Fixing * Updated * Updated * new notebook * new notebook * new notebook * Images * Cleaned up and finalized for alexej * Initial changes * Removed some copier options * Compared with e2e template * Removed templateized ipynb * Many things in this commit - Formatted, darglinted, added complex promotion logic, added two trainins runs etc * Latest changes * README * New readme * LatesT * LatesT * Woot * took out final comment * Notebook cleaned * Further cleanup, fix caching and artifact version fetching, move random sate * readme update * Fixed non-rendering visualizations * Updated * Updated * new CTA * new CTA * Updated * add image optimizer * Optimised images with calibre/image-actions * imporve ci * fix ci * fix ci/tests * vscode * remove mlflow reqs * fix tests * add `--no-cache` * use SafeLoader * fix img paths * YAML requirements fixed --------- Co-authored-by: Hamza Tahir <[email protected]> Co-authored-by: Alexej Penner <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
59f1687
commit 928bc41
Showing
62 changed files
with
2,440 additions
and
1,918 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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Compress Images | ||
on: | ||
pull_request: | ||
# Run Image Actions when JPG, JPEG, PNG or WebP files are added or changed. | ||
# See https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#onpushpull_requestpaths for reference. | ||
paths: | ||
- '**.jpg' | ||
- '**.jpeg' | ||
- '**.png' | ||
- '**.webp' | ||
jobs: | ||
build: | ||
# Only run on non-draft PRs within the same repository. | ||
if: github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.draft == false | ||
name: calibreapp/image-actions | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Compress Images | ||
uses: calibreapp/image-actions@main | ||
with: | ||
# The `GITHUB_TOKEN` is automatically generated by GitHub and scoped only to the repository that is currently running the action. By default, the action can’t update Pull Requests initiated from forked repositories. | ||
# See https://docs.github.com/en/actions/reference/authentication-in-a-workflow and https://help.github.com/en/articles/virtual-environments-for-github-actions#token-permissions | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} |
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
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,12 +1,4 @@ | ||
--- # GLOBAL PROMPT -------------------------------- | ||
|
||
template: | ||
type: str | ||
help: >- | ||
The project template you would like to use | ||
choices: | ||
ZenML Starter: starter | ||
default: starter | ||
project_name: | ||
type: str | ||
help: Short name for your project | ||
|
@@ -40,70 +32,10 @@ email: | |
The email of the person/entity holding the copyright | ||
default: [email protected] | ||
when: "{{ open_source_license }}" | ||
auto_format: | ||
type: bool | ||
help: "Auto-format the generated code with black, ruff and autoflake? \n (NOTE: you need to have these tools installed in your environment)" | ||
default: false | ||
|
||
# SUB-TEMPLATE PROMPT [starter] --------------------- | ||
use_step_params: | ||
type: bool | ||
help: "Would you like to see step parameters being used in the generated \n ZenML steps?" | ||
default: true | ||
when: "{{ template == 'starter' }}" | ||
use_custom_artifacts: | ||
type: bool | ||
help: "Would you like to see custom artifact data types and materializers \n being used in the generated ZenML steps and pipelines?" | ||
default: true | ||
when: "{{ template == 'starter' }}" | ||
configurable_dataset: | ||
type: bool | ||
help: "Would you like to be able to select the dataset used in model training\n at runtime through the CLI and as a data loader step parameter?" | ||
default: true | ||
when: "{{ template == 'starter' and use_step_params }}" | ||
sklearn_dataset_name: | ||
type: str | ||
help: "The generated ZenML project will be populated with some example code | ||
\n featuring one of the UCI ML datasets from scikit-learn. \n Which | ||
dataset would you like to see being used in the generated code?" | ||
choices: | ||
UCI Wine Data Set (classification): wine | ||
UCI Iris Data Set (classification): iris | ||
UCI Breast Cancer Wisconsin (Diagnostic) Data Set (classification): breast_cancer | ||
default: wine | ||
when: "{{ template == 'starter' }}" | ||
configurable_model: | ||
type: bool | ||
help: "Would you like to be able to select the type of model used in model \n | ||
training at runtime through the CLI and as a model trainer step \n | ||
parameter?" | ||
default: true | ||
help: >- | ||
Would you like to be able to select the type of model used in model | ||
training at runtime through the CLI and as a model trainer step | ||
parameter ? | ||
default: true | ||
when: "{{ template == 'starter' and use_step_params }}" | ||
sklearn_model_name: | ||
type: str | ||
help: "The generated ZenML project will be populated with some example code | ||
\n featuring one of the scikit-learn classifier models. \n Which model class would you like to see being used in the generated code?" | ||
choices: | ||
Logistic Regression: LogisticRegression | ||
C-Support Vector Classification: SVC | ||
Linear Support Vector Classification: LinearSVC | ||
Random Forest Classifier: RandomForestClassifier | ||
K-Nearest Neighbors Classifier: KNeighborsClassifier | ||
Gaussian Naive Bayes: GaussianNB | ||
Linear Perceptron Classifier: Perceptron | ||
Stochastic Gradient Descent Linear Classifier: SGDClassifier | ||
Decision Tree Classifier: DecisionTreeClassifier | ||
default: LogisticRegression | ||
when: "{{ template == 'starter' }}" | ||
|
||
# CONFIGURATION ------------------------- | ||
_templates_suffix: "" | ||
_subdirectory: "{{ template }}/template" | ||
_subdirectory: "./template" | ||
_exclude: | ||
- /README.md | ||
_tasks: | ||
|
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,3 +1,5 @@ | ||
scikit-learn | ||
scikit-learn<1.3 | ||
copier | ||
jinja2-time | ||
zenml[server]>=0.52.0 | ||
notebook |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.