forked from online-ml/river
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (24 loc) 路 1.39 KB
/
Copy pathMakefile
File metadata and controls
32 lines (24 loc) 路 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
COMMIT_HASH := $(shell eval git rev-parse HEAD)
download-datasets:
python -c "from river import datasets, bandit; datasets.Elec2().download(); datasets.SMSSpam().download(); datasets.CreditCard().download(); datasets.Music().download(); datasets.CriteoAds().download(); bandit.datasets.NewsArticles().download()"
format:
pre-commit run --all-files
execute-notebooks:
jupyter nbconvert --execute --to notebook --inplace docs/introduction/*/*.ipynb --ExecutePreprocessor.timeout=-1
jupyter nbconvert --execute --to notebook --inplace docs/recipes/*.ipynb --ExecutePreprocessor.timeout=-1
jupyter nbconvert --execute --to notebook --inplace docs/examples/*.ipynb --ExecutePreprocessor.timeout=-1
jupyter nbconvert --execute --to notebook --inplace docs/examples/*/*.ipynb --ExecutePreprocessor.timeout=-1
render-notebooks:
jupyter nbconvert --to markdown --template docs/parse/nbconvert_template docs/introduction/*/*.ipynb
jupyter nbconvert --to markdown --template docs/parse/nbconvert_template docs/recipes/*.ipynb
jupyter nbconvert --to markdown --template docs/parse/nbconvert_template docs/examples/*.ipynb
jupyter nbconvert --to markdown --template docs/parse/nbconvert_template docs/examples/*/*.ipynb
doc: render-notebooks
python docs/parse river --out docs --verbose
zensical build
livedoc: doc
zensical serve
rebase:
git fetch && git rebase origin/main
fomo:
git fetch && git rebase origin/main