Picking the right tool to show your Machine Learning project

Author
Published

July 24, 2023

Picking the right tool to show your Machine Learning project

Author
Published

July 24, 2023

Disclaimer

For sake of keeping my thoughts run smoothly this page may contain typos. Bear with Danilo.

The reason

I have come across the question on where to host the models that I have trained and display its outputs in an interactive way.

While doing some googling I came across different technologies which much of which have been recently launched, provided the pletora of machine learning application these days. So here a couple of things that I have learnt:

Static websites just got better!

For static websites, there is pretty much not too many available options. Statics sites like this one make use of javascript as the backbone to run expensive tasks and usually data science tools these days operate with Python, Julia or R.

Being said that, pyscript seems to pose a first steps on how to run python in HTML. Found this was a relief because then I discovered that Python code is able to be written in a portable binary-code format WASM, which in turn means you can write Python and run it at the server side. For a more thorugh explanation about this you can check this video explanation.

If Python available which technology to use?

Here gets tricky, if you want to have a fast and easy to deployment usually there is no much customization, and by that I mean curky ads and logos like: made by.. not to much fan of those. Following a simple chart that I have found really usefull to solve my enquires, I am attaching the source link here for reference.

Source: 1

The decision

All set and stone, I have only some requirements to jump into learning a new technology and those are

  • Scalable: I want to be able to not just use it for my blog but for future work as well
  • On the look: if it has not been used for the last couple of years then something new is on the look
  • Balance-learning-curve: I have learnt Haskell and let me tell you, prototyping and designing code is another world in functional language. So I want be a eager learning while still discovering more tools next couple of months in the road.

Considering these facts: I am planing to stick with Shiny for the time being.