Skip to content

replace cached pickle files with 3.11 builds #9

replace cached pickle files with 3.11 builds

replace cached pickle files with 3.11 builds #9

Workflow file for this run

name: Build Example Model Pickles
on:
workflow_dispatch:
push:
# paths:
# - example_model.ipynb
# - hello_numerai.ipynb
# - feature_neutralization.ipynb
# - target_ensemble.ipynb
branches:
- master
concurrency: build-example-models
jobs:
build_and_test:
name: "Build Example Model Pickles"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install jupyter
run: |
python -m pip install --upgrade pip
pip install jupyter
pip install -r https://raw.githubusercontent.com/numerai/numerai-predict/refs/heads/master/requirements.txt
- name: build-example-model
run: |
jupyter nbconvert \
--execute example_model.ipynb \
--ExecutePreprocessor.timeout=-1 \
--to html
- name: build-hello-numerai
run: |
jupyter nbconvert \
--execute hello_numerai.ipynb \
--ExecutePreprocessor.timeout=-1 \
--to html
- name: build-feature-neutralization
run: |
jupyter nbconvert \
--execute feature_neutralization.ipynb \
--ExecutePreprocessor.timeout=-1 \
--to html
- name: build-target-ensemble
run: |
jupyter nbconvert \
--execute target_ensemble.ipynb \
--ExecutePreprocessor.timeout=-1 \
--to html
- name: delete-html
run: |
rm example_model.html
rm hello_numerai.html
rm feature_neutralization.html
rm target_ensemble.html
- name: move-pickles-to-cached-pickles-dir
run: |
mkdir -p cached-pickles/
mv -f example_model.pkl cached-pickles/
mv -f hello_numerai.pkl cached-pickles/
mv -f feature_neutralization.pkl cached-pickles/
mv -f target_ensemble.pkl cached-pickles/
- name: commit-to-master
uses: EndBug/add-and-commit@v9
with:
add: "cached-pickles/*"