Håkan Silfvernagel

Information & Communications Technology

Machine learning Machine Learning and Artificial Intelligence Data Science & AI Frontend Backend Cognitive services JavaScript Mobile Development

Oslo, Norway

Machine learning in the browser using TensorFlow.js

In order to start out with machine learning you typically would need to learn Python, Tensorflow, Jupyter Notebook etc. But what if you could run your machine learning straight in the browser. This can be done through Tensorflow.js. In this session you will get an introduction so that you can use it in your own projects.

This session will give you an introduction to what Machine learning is and what types of problem you can solve. TensorFlow as a library will be introduced and then TensorFlow.js will be presented with a focus on how you can use a machine learning model in your JavaScript application.

Next, we will build an image classification web app that uses a predefined TensorFlow model.

Finally, some examples on how TensorFlow.js is used in commercial applications will be given.


Håkan Silfvernagel

Manager AI and Big Data, Microsoft AI MVP

Håkan holds a Master of Science degree in Electrical Engineering and a Master’s degree in Leadership and Organizational behavior. He has also taken courses on university level in psychology, interaction design and human-computer interaction. He has 20 years’ experience of software development in various positions such as developer, tester, architect, project manager, scrum master, practice manager and team lead.

Håkan is Chairman of the Norwegian .NET User Group Oslo (NNUG) and is active as an Ambassador for Oslo AI, the local chapter for the global City.AI community. In addition, he is the co-founder of AI42, an online school for learning about AI and Data Science and the Azure User Group Sweden, a meetup focused on Azure.

Håkan is a Microsoft Most Valuable Professional (MVP) in AI and a Microsoft Certified Trainer.

Currently Håkan is working as Manager AI and Big Data at Miles AS, a Norwegian consultancy company.


In the past I have given (or will give) the following talks:
- "Affective Computing - what is it and why should I care", Booster Conference, March 14, 2018, https://2018.boosterconf.no/talks/1166
- "An introduction to Blazor and Web Assembly", Norwegian .NET User Group Meetup, May 9, 2018, https://www.meetup.com/NNUGOslo/events/249914466/
- "An introduction to Blazor and Web Assembly", Bitshift User Group Meetup, May 30th, 2018, https://www.meetup.com/BitShift/events/251009414/
- "The History of AI - what can we learn from the past?", Norwegian .NET User Group Meetup, June 5, 2018, https://www.meetup.com/NNUGOslo/events/250832641/
- "The History of AI - what can we learn from the past?", NDC Conferences, June 15, 2018, https://ndcoslo.com/talk/lightning-talks-1/
- “Why you should consider Web Assembly in your next frontend project”, React JS Oslo Meetup, August 27, 2018, https://www.meetup.com/ReactJS-Oslo-Meetup/events/253818379/
- "How to make a multi-lingual chatbot and use it in your web application", Norwegian .NET User Group Meeting, August 28, 2018, https://www.meetup.com/NNUGOslo/events/253678014/
- "How to make a multi-lingual chatbot and use it in your web application", Bitshift User Group Meeting, August 29, 2018, https://www.meetup.com/BitShift/events/253607813/
- "Affective Computing - what is it and why should I care", JavaZone, September 13, 2018, https://2018.javazone.no/program/aa2f6f7c-06b5-476d-9924-73a504a1e73d
- “Why you should consider Web Assembly in your next frontend project”, DDD East Anglia, September 22, 2018, https://www.dddeastanglia.com/Session/Details/2178
- "Why you should consider Web Assembly in your next frontend project", Trondheim Developer Conference, October 22, 2018, https://2018.trondheimdc.no/program
- "How to make a multi-lingual chatbot and use it in your Xamarin Forms application", Mobile Era, November 2, 2018, https://mobileera.rocks/speakers/h%C3%A5kan_silfvernagel/
- "Affective Computing - what is it and why should I care", Devoxx Morocco, November 28, 2018, https://cfp.devoxx.ma/2018/speaker/hakan_silfvernagel

- "Why you should consider Web Assembly in your next frontend project", Jfokus, February 6, 2019, https://www.jfokus.se/jfokus19/talks/2797
- "Affective Computing - what is it and why should I care", Swetugg, February 8, 2019, https://swetugg.se/swetugg-2019/speakers/hakan-silfvernagel
- "The History of AI – what can we learn from the past?", Applied AI Conference, March 1, 2019, https://www.appliedai.co.uk/schedule/
- "Why you should consider Web Assembly in your next frontend project", DDD North, March 2, 2019, https://www.dddnorth.co.uk/Sessions/Details/400
- "Affective Computing - what is it and why should I care", Future Tech, March 13, 2019, https://futuretech.nl/speakers/hakan-silfvernagel/
- "Why you should consider Web Assembly in your next frontend project", Oslo Progressive Web Apps meetup, April 10, 2019, https://www.meetup.com/Oslo-Progressive-Web-Apps/events/258759018/
- "Affective Computing - what is it and why should I care", DevTalks Romania Cluj Napoca, May 16, 2019, http://www.devtalks.ro/
- "Why you should consider Web Assembly in your next frontend project", Full Stack Developer Conference, May 21, 2019, https://fsdc.fi/cth_speaker/hakan-silfvernagel/
- "Affective Computing - what is it and why should I care", Full Stack Developer Conference, May 22, 2019, https://fsdc.fi/cth_speaker/hakan-silfvernagel/
- "Affective Computing - what is it and why should I care", DevTalks Romania Bucharest, June 7, 2019, http://www.devtalks.ro/
- "Affective Computing - what is it and why should I care", Kansas City Developer Conference (KCDC), July 18, 2019, https://www.kcdc.info/
- "Why you should consider Web Assembly in your next frontend project", JavaZone, September 11, 2019, https://2019.javazone.no/
- "Machine learning in the browser with TensorFlow.js", International JavaScript Conference, October 23, 2019, https://javascript-conference.com/speaker/hakan-silfvernagel/
- "Why you should consider Web Assembly in your next frontend project ", International JavaScript Conference, October 23, 2019, https://javascript-conference.com/speaker/hakan-silfvernagel/
- "Machine learning on the edge using TensorFlow Lite", Mobile Era, November 7, 2019, https://mobileera.rocks/speakers/h%C3%A5kan_silfvernagel
- "Affective Computing – bringing humans and machines closer through emotions", AIM North Symposium, November 7, 2019, https://aim2north.com/Speakers-9354

- "Affective Computing – bringing humans and machines closer through emotions", Confer Conf, June 2, 2020, https://confer.no/program/
- "Machine learning in the browser with TensorFlow.js", Confer Conf, June 2, 2020, https://confer.no/program/
- "Why you should consider Web Assembly in your next frontend project ", NDC Conferences, June 10, 2020, https://ndcoslo.com/speaker/h%C3%A5kan-silfvernagel/
- "Why you should consider Web Assembly in your next frontend project ", ESNEXT Conference, July 13, 2020, https://www.esnextconf.com/
- "Affective Computing – bringing humans and machines closer through emotions", International Conference on Robotics and Artificial Intelligence, July 20, 2020, https://robotics.pulsusconference.com/
- "Machine learning in the browser with TensorFlow.js", Global AI Fest, July 31, 2020, https://sessionize.com/view/lr72q3pl/GridSmart?format=Embed_Styled_Html&isDark=False
- "Machine learning in the browser with TensorFlow.js", MSP Inspire Meetup, August 8, 2020, https://www.meetup.com/mspinspire/events/272424128/
- "Machine learning in the browser with TensorFlow.js", Tech Meetups@ING, August 11, 2020, https://www.meetup.com/Tech-Meetups-ING/events/271621488/
- "Why you should consider Web Assembly in your next frontend project ", JavaScript & Friends Conference, August 14, 2020, https://www.javascriptandfriends.com/
- "Machine learning in the browser with TensorFlow.js", Frontend Love Virtual Meetup, August 20, 2020, https://www.linkedin.com/events/tensorflow-js-testingwebaccessibility-frontendlove/
- "Machine learning in the browser with TensorFlow.js", LATAM Multi and Hybrid Cloud Meetup, August 24, 2020, https://www.meetup.com/LATAM-Multi-and-hybrid-Cloud/events/272530128/
- "Machine learning in the browser with TensorFlow.js", Dev Show, September 22, 2020, https://www.meetup.com/ForDevs/events/272682596/
- "Affective Computing – bringing humans and machines closer through emotions", AI & ML Conference, September 23, 2020, https://aiconf.it/
- "Affective Computing – bringing humans and machines closer through emotions", Global AI on Tour - Mumbai, September 27, 2020, https://globalai.community/global-ai-on-tour/india-mumbai-2-1
- "Why you should consider Web Assembly in your next frontend project ", Techitalia, October 1, 2020, https://www.meetup.com/TechItaliaTuscany/
- "Affective Computing – bringing humans and machines closer through emotions", Build Stuff Virtual Meetup, October 1, 2020, https://www.buildstuff.events/events/e-meetup-programmings-lessons-affective-computing-2
- "Acidic, basic or neutral – an evaluation of Pyodide for running your Jupyter Notebook in the browser", PyGotham TV, October 2, 2020, https://2020.pygotham.tv/talks/
- "Machine learning in the browser with TensorFlow.js", vOpen , October 3, 2020, https://vopen.tech/speakers
- "Machine learning on the edge using TensorFlow Lite", Google Developer Group DevFest Norway, October 14, 2020, https://devfest.no/speakers/
- "Machine learning on the edge using TensorFlow Lite", Google Developer Group DevFest WI , October 24, 2020, https://devfestwi.com/speakers/
- "Machine learning on the edge using TensorFlow Lite", ML conf.EU , November 5, 2020, https://mlconf.eu/
- "Affective Computing – bringing humans and machines closer through emotions", Build Stuff 2020, November 11, 2020, https://www.buildstuff.events/speakers
- "Affective Computing – bringing humans and machines closer through emotions", AI Talks, November 12, 2020, https://globalai.community/ai-talks
- "Affective Computing – bringing humans and machines closer through emotions", Update Conference Prague 2020, November 13, 2020, https://www.updateconference.net/
- "Affective Computing – bringing humans and machines closer through emotions", GIDS AI/ML & Data Conference, December 3, 2020, https://wurreka.com/ict/virtual-conference/aiml/speakers
- "Machine learning in the browser with TensorFlow.js", Expert Interviews , December 7, 2020, https://www.youtube.com/watch?v=psgRydAUFjk
- "Affective Computing – bringing humans and machines closer through emotions", MVP Conf LATAM, December 11, 2020, https://mvpconf.com.br/
- "Machine learning in the browser with TensorFlow.js", Global AI on Tour - Bhubaneswar, December 12, 2020, https://globalai.community/global-ai-on-tour/india-bhubaneswar
- "Affective Computing – bringing humans and machines closer through emotions", Developer Developer Developer Day, December 12, 2020, https://www.developerdeveloperdeveloper.com/schedule

- "Machine learning in the browser with TensorFlow.js", Global AI Bootcamp - Copenhagen, January 15, 2021, https://www.meetup.com/global-ai-bootcamp/events/275422874
- "Machine learning in the browser with TensorFlow.js", Global AI Bootcamp – Singapore, January 16, 2021, https://www.meetup.com/Microsoft-AI-ML-Community/events/274802266/
- "Why you should consider Web Assembly in your next frontend project ", NDC London, January 29, 2021, https://ndc-london.com/
- "Machine learning in the browser with TensorFlow.js", Scottish Summit, February 27, 2021,
https://scottishsummit.com/ (https://www.youtube.com/watch?v=EKSNG-uSHCA)
- "Machine learning in the browser with TensorFlow.js", Future Tech 2021, March 25, 2021,
https://futuretech.nl/
- "Why you should consider Web Assembly in your next frontend project ", International JavaScript
Conference, April 20, 2021, https://javascript-conference.com/london/program-london/
- "Affective Computing – bringing humans and machines closer through emotions", Codemotion Online
Tech Conference, May 20, 2021, https://events.codemotion.com/conferences/online/2021/online-tech￾conference-spring
- "Machine learning in the browser with TensorFlow.js", WeAreDevelopers Live – Machine Learning Day,
May 26, 2021, https://www.wearedevelopers.com/event/machine-learning-day
- "Why you should consider Web Assembly in your next frontend project ", International PHP
Conference, June 7, 2021, https://phpconference.com/berlin-en/
- "Machine learning on the edge using TensorFlow Lite", ML Conference, June 21, 2021,
https://mlconference.ai/munich/
- "Machine learning on the edge using TensorFlow Lite", IoT Conference, June 21, 2021,
https://iotcon.de/en/
- "Machine learning in the browser with TensorFlow.js", Code PaLOUsa, August 19, 2021,
https://www.codepalousa.com/Sessions/1980
- " Affective Computing – bringing humans and machines closer through emotions ", Code PaLOUsa,
August 20, 2021, https://www.codepalousa.com/Sessions/2057
- "Machine learning in the browser with TensorFlow.js", JavaScript and Friends, August 20, 2021,
https://www.javascriptandfriends.com/schedule
- " Why you should consider Web Assembly in your next frontend project ", JavaScript and Friends,
August 20, 2021, https://www.javascriptandfriends.com/schedule
- "Machine learning in the browser with TensorFlow.js", BuildStuff Hybrid Conference, November 17-19,
2021, https://www.buildstuff.events/events/build-stuff-2021
- "Machine learning on the edge using TensorFlow Lite", ML Singapore Online Conference, November
24, 2021, https://mlconference.ai/singapore/program-singapore/
- "Why you should consider Web Assembly in your next frontend project ", NDC Oslo, December 2, 2021,
https://ndcoslo.com/speakers/hkan-silfvernagel
- " Affective Computing – bringing humans and machines closer through emotions ", JavaZone,
December 8-9, 2021, https://2021.javazone.no/#/
- "Machine learning in the browser with TensorFlow.js", ML Berlin Hybrid Conference, December 6-8,
2021, https://mlconference.ai/speakers/
- ""Affective Computing – bringing humans and machines closer through emotions"", Voice Conference
Berlin Hybrid Conference, December 6-8, 2021, https://voicecon.net/speakers/
- "Machine learning in the browser with TensorFlow.js", ML Berlin Hybrid Conference, December 8, 2021, https://mlconference.ai/speakers/
- " Affective Computing – bringing humans and machines closer through emotions ", JavaZone, December 8, 2021, https://2021.javazone.no/#/

- "Why you should consider Web Assembly in your next frontend project ", Google Developer Groups DevFest Oslo, January 20, 2022, https://devfest.no/speakers/hakon_silfvernagel/
- "Machine learning in the browser with TensorFlow.js", Codebar Festival, March 11, 2022, http://festival.codebar.io/schedule.html
- "Machine learning in the browser with TensorFlow.js", DevDays Europe 2022, April 28, 2022, https://devdays.lt/Hakan-Silfvernagel/
- "Why you should consider Web Assembly in your next frontend project ", NDC London, May 10, 2022, https://ndclondon.com/speakers/hkan-silfvernagel
- "Affective Computing – bringing humans and machines closer through emotions ", DevSum, May 19, 2022, https://www.devsum.se/speakers/hakan-silfvernagel
- "Affective Computing – bringing humans and machines closer through emotions ", Scottish Summit, June 11, 2022, https://scottishsummit.com/?page_id=5070

Håkan's full speaker profile