carpentries-incubator / ml4bio-workshop

Materials for a workshop introducing machine learning to biologists
https://carpentries-incubator.github.io/ml4bio-workshop/
Other
21 stars 8 forks source link

Jinja2 templating #4

Open agitter opened 6 years ago

agitter commented 6 years ago

We discussed writing out the Python code that reproduces the steps taken in the GUI as a desirable future feature. Jinja2 is worth considering for that. Because scikit-learn classifiers follow similar structures, we may be able to use templates to store the classifier type and arguments provided, updating a generic classification workflow template.

agitter commented 6 years ago

I've had some experience with Jinja2 in this Markdown-based manuscript project:

agitter commented 5 years ago

@cmilica and I discussed using Jupyter notebooks in addition to or instead of the graphical interface, and we should continue to weigh the pros and cons. Some advantages of a Jupyter notebook are that it can be run remotely with no local software installation and it connects more directly with how scikit-learn is used for real analysis A disadvantage is that the syntax could be intimidating to participants without programming backgrounds or distract from the ML concepts.

We may want to trial some notebook-based exercises with former participants.

Generating notebooks dynamically from the graphical interface is still a possibility but would require a substantial software engineering effort.