Hyperactive
Hyperactive copied to clipboard
[DOC] jupyter notebook tutorial
I would suggest to add a "standard" jupyter notebook tutorial to the entire package, in the examples directory, and also link ot from the docs.
In addition, it would be nice if users could read it on binder or otherwise in the cloud.
More specific suggestions:
- change content
examplesto a set of jupyter notebooks, at least the root level content - from content review, I gather there are multiple topics one could sort this into:
- jupyter notebook about generic optimization problems
- jupyter notebook with data science and AI applications, e.g., equivalent to
GridSearchCVinscikit-learn
Further, due to the popularity of AI, perhaps the content that is, technically, secondary (AI applications), might be worth to place as the "first" notebook? That is, lead with data sci and AI, and present the more general applications in a second/advanced notebook.
Am currently working on some corrections of this notebook (for general usage): https://github.com/SimonBlanke/hyperactive-tutorials/blob/main/notebooks/hyperactive_tutorial.ipynb
The Introduction notebook can be viewed (and opened in binder) here: https://nbviewer.org/github/SimonBlanke/hyperactive-tutorial/blob/main/notebooks/hyperactive_tutorial.ipynb
oh, I did not notice this other repo!
I am then wondering, why not add the nb to this repo, and link from docs and/or have a binder or colab link as well?
The notebooks do not need to go in the wheels, that keeps them small. Though I recognize that the git history and file size may be blown up having notebooks in this repo.
Hello @fkiraly,
I keep the notebooks in a separate repo, because:
- the notebook has a lot of code (in the "backend" of the notebook). This can often be more, that the source-code itself. Then the repo is classified as a ipython-notebook repo on github, even though it is a Python project.
- changes in the notebook lead to a big code-diff. This distorts the number of added/removed lines in the contributors page
- keeping the git history clean is always a good idea
I did not link the notebook to the readme/doc yet, because some changes were necessary.
I am then wondering, why not add the nb to this repo, and link from docs and/or have a binder or colab link as well?
I will see if this is possible in a separate repo
I listed github-, nb-viewer- and binder-links for the notebooks in the hyperactive-tutorials-repo