But this begs the question: Shouldn’t we train models using Python, then run them in the browser? My response would be, ‘No… because different use cases benefit from different approaches.’
There are several benefits of using Pythons to train models. But there are also specific limitations to consider.
We know the theoretical gains of deploying a machine learning model in a web browser — but let’s make the theory concrete by exploring three real-life examples.
1. UX/UI Quality Testing
A visitor decides if they like a website within 500ms of the site loading, while an Adobe study warns that 38% of users who don’t like a web page will never return to the site. What’s the takeaway? If your website is confusing, unappealing, or in any way unsatisfactory, there’s over a one-in-three chance you’ve lost a potential customer for good.
But you can avoid this. When testing a new layout, you can deploy a model that uses footage from a web-cam to show if a user likes a design… or finds it confusing — and you can try this for yourself below.
When was the last time you gamed? Were you playing against a computerized opponent? If so, you will have no doubt noticed your opponent had their own ‘will’ — and it’s all thanks to what’s going on in the browser.
Browser-based games have become increasingly complex and visually appealing in recent times. You can even play them offline and still have a capable opponent. Again, that’s all courtesy of the AI that’s running on the end user’s device.
Since COVID, browser-based gaming has become more popular than ever, with the global gaming market estimated to hit $30bn by the end of 2020. If you want to game and you remember one called Kinect, why not try our very own Tomasz’s version, which he built during a hackathon.
Very neat, huh? And it all happens in the browser.
The pandemic has forced us to change our habits. Many have moved their office into the home, which has come as a bit of shock. Video meetings are now routine, which itself is presenting somewhat of a dilemma.
Video-based communication has unraveled the privacy of our home: a personal picture on the wall, books cluttering the screen, family wandering by — there are many aspects we might not want coworkers (or clients) to see.
Thankfully, browser-based machine learning is helping to maintain our privacy with nifty features found in the likes of Zoom and Google Meet. You can simply replace your background, as you can see below.
But its use in web browsers gives it a considerable role in machine learning, not least because almost every Internet-enabled device connects to a browser.
This degree of availability of artificial intelligence opens up a raft of unique business opportunities, enabling you to collect and use data for machine learning, which could ultimately benefit us all.