• Top
  • New

Ask HN: Best stack for ML blog with lots of code snippets, formulae and graphs?

by Winterflow3r on 1/9/2022, 10:52:39 PM with 1 comments
Hey folks! I want to refurbish my old dusty blog into something new and fancy but without (too many) late nights fighting with yet another static site generator. I want to write more about my experiences working with ML so ideally this would be a tech stack that can easily accommodate maths formulae (nice if it can be a syntax close to LaTeX but I'm not super picky) and interactive graphs (something like a Jupyter notebook widget). Do you have a setup that works well and that you'd like to share? Thanks in advance!

  • by Sirajchokshi on 1/10/2022, 3:07:41 AM

    I'd recommend using a Jekyll blog template you like and adding what you need on top of it.

    Here are some ways I can think of to accomplish what you want:

      mpld3
    
    export mpl plots to interactive HTML

      jupyter nbconvert --to html notebook.ipynb
    
    to convert notebooks into html

    Resources:

    https://mpld3.github.io/

    http://www.kasimte.com/adding-and-including-jupyter-notebook...