Speaker

Serg Masis

Serg Masis

Lead Data Scientist, Syngenta ● Bestselling Author of ML/AI books

Raleigh, North Carolina, United States

Actions

Serg Masís has been at the confluence of the internet, application development, and analytics for the last two decades. Currently, he's an Agronomic Data Scientist at Syngenta, a leading agribusiness company with a mission to improve global food security. Before that role, he co-founded a search engine startup, incubated by Harvard Innovation Labs, that combined the power of cloud computing and machine learning with principles in decision-making science to expose users to new places and events efficiently. Whether it pertains to leisure activities, plant diseases, or customer lifetime value, Serg is passionate about providing the often-missing link between data and decision-making. He wrote the bestselling book "Interpretable Machine Learning with Python" and is currently working on a new book titled "DIY AI" for Addison-Wesley for a broader audience of curious developers, makers, and hackers.

Area of Expertise

  • Information & Communications Technology
  • Physical & Life Sciences
  • Agriculture, Food & Forestry

Topics

  • Machine Leaning
  • Machine Learning & AI
  • Machine Learning and Artificial Intelligence
  • Machine Learning and AI
  • Azure Machine Learning
  • Applied Machine Learning
  • Artificial Intelligence (AI) and Machine Learning
  • Artificial Intelligence and machine learning
  • Microsoft (Azure) AI + Machine Learning
  • Azure Machine Learning Studio
  • BigData and Machine Learning
  • Big Data Machine Learning AI and Analytics
  • Artificial Intelligence and Machine Learning for Cybersecurity
  • AI & Machine Learning
  • python
  • Machine Learning Engineering
  • Azure machine learning service
  • Responsible AI
  • Ethical AI
  • generative ai
  • GenAI
  • Big Data
  • Data Science
  • Data Science & AI
  • Analytics
  • Technology
  • Technical Leadership
  • Technical Product Leadership
  • Technology Innovation
  • Technology Startups
  • Technological Innovation
  • Technology Strategy
  • Information Technology
  • Emerging Technologies
  • Emerging Technology
  • Responsible AI Principles
  • Quality Assurance
  • Predictive Analytics
  • Explainable AI
  • AI and Customer Experience
  • AI and Agile
  • edge ai

DIY AI: Facial Recognition from Scratch

Facial recognition systems are everywhere. Of course, it's where you would expect it, such as airports, border crossings, and government offices. However, it's also in some public surveillance cameras, all over social media, embedded in smart home solutions, and even in your phone. Have you ever wondered how facial recognition systems work?

In this hands-on session, we will build a facial recognition system from scratch using open-source technologies and publically available pre-trained models. We will create a Javascript web app that uses Tensorflow lite to get facial landmarks (nose, mouth, eyes, chin, etc.) with pre-trained models for the client side. For the server side, we will create a Python API that uses another pre-trained model to generate unique facial descriptors with facial landmarks and compare it against a vector database of faces. The javascript web app connects with the Python API to determine whose face it is. However, to appease any privacy concerns, we will also demonstrate other ways of building a system without relying on server-side components. And during the tutorial, participants can optionally enter their faces into the face database and have the biometrics removed at the end of the tutorial. The goal is that developers should be confidently able to apply what they learned to their projects and learn more in general about facial recognition, vector databases, and machine learning with Javascript.

Lesson Plan
- Lesson 1: The Javascript Web App We will learn how to turn on the camera in a web browser, locate the face, and capture facial landmarks (nose, mouth, eyes, chin, etc.) for every frame.
- Lesson 2: The Python API & Vector Database Here we will create an API that can receive any facial landmarks and leverage another deep learning model to create a facial descriptor that it can store in a vector database or use to compare and find the closest match in the database.
- Lesson 3: Tying it all together From the web app, when a face is found, send a "Find Closest Match" request to the server. Then display the name of the person that is the closest match on the screen.
- Bonus lesson: Local prediction and examples of use cases. With Python code, we will examine how to make all the machine learning predictions on the local device. And other use cases for facial detection and recognition systems.

Learning Objectives
- How to make Facial Detection and Recognition systems, and the theory and use cases behind them
- How to leverage Mediapipe and Dlib open-source models for facial recognition tasks both in Python and Javascript
- How to populate and search Vector Databases, and the theory and potential use cases behind them
- How to use TensorFlow Lite and make a client-side application in Javascript Some programming experience in any language is a prerequisite, and some Python or Javascript experience would be helpful. Instructions to install Python, clone a repository, and create a Python environment will be provided, but it will be easier if they know how to do this and come prepared for it.

Outsmarting AI: Understanding, Preventing, and Defending Against Adversarial Attacks

Artificial Intelligence has revolutionized numerous fields, yet its vulnerability to manipulations poses a significant challenge. Deceptively simple alterations can lead a model to make glaringly incorrect predictions, a phenomenon known as an adversarial attack.

In this session, we will dive deep into the world of adversarial attacks, exploring how they function and why AI systems fall victim to them. We'll scrutinize various forms of attacks, unpacking their methodologies and implications. Understanding these techniques is key to fortifying our AI systems against potential threats.

Having examined the problem, we'll then turn our attention to solutions. We will introduce and explain two robust defense methods.

Finally, we will demonstrate how to evaluate the robustness of AI models against adversarial attacks. By assessing model performance under adversarial conditions, we can gauge the effectiveness of our defense strategies and fine-tune them for improved protection.

By the end of this session, participants will have gained a comprehensive understanding of adversarial attacks, learned effective defense strategies, and been equipped with techniques to evaluate model robustness.

From Code to Consciousness — Exploring AI with a Programmer’s Toolbox

This presentation is designed to bridge the gap between traditional software development and AI. It will start by drawing parallels between object-oriented programming concepts and AI principles, demonstrating how familiar programming paradigms can provide a foundation for understanding AI. This approach will demonstrate how conventional programming paradigms, like encapsulation, inheritance, and polymorphism, can provide a solid foundation for comprehending AI's underlying mechanisms.

The session will then delve into pivotal AI concepts, such as reinforcement learning and natural language processing (NLP), viewed through the prism of everyday programming challenges and solutions. This will not only make AI relatable but also showcase its practical applicability in real-world scenarios.

To illustrate how AI can be embedded into everyday coding, especially in the context of business application development, the presentation will include a series of targeted examples, such as personalized marketing, automating data entry and validation, and enhancing security with anomaly detection.

The goal is to not only demystify AI but also to vividly demonstrate its role as a natural extension of traditional software engineering. By the end of the session, attendees will have witnessed firsthand how their existing coding skills can be leveraged to integrate AI into various aspects of business application development, opening up new avenues for innovation and efficiency.

Composing with Code: A Step-by-Step Guide to AI Music Generation

Have you ever been fascinated by the seemingly magical ability of artificial intelligence to generate creative, dynamic music? Have you found yourself curious about the mechanisms behind this intriguing technology? In this comprehensive session, we delve deep into the world of AI-powered music creation, unraveling the mystery of how machines can emulate the creativity usually attributed to human musicians.

In this hands-on tutorial, after a brief introduction to the theory of generative AI for audio, we will introduce you to several cutting-edge, open-source tools and pre-trained models for audio generation. Then, we will demonstrate how to harness these tools' power to generate your unique compositions from scratch.

The code shown is in Python, and we will start with a simple example and build on it each time, adding a little bit of complexity from text-conditional generation to melody-conditional generation to audio-continuation and audio-inpainting. Join us as we demystify the process of AI music creation and turn this cutting-edge technology into an accessible reality!

Lesson Plan

- Lesson 1: With Python, we will learn how to use text-conditional generation to generate some music based on a description (also known as a prompt).
- Lesson 2: What if we have a melody we'd like to use? Then, we can provide an audio clip with a melody and use melody-conditional generation.
- Lesson 3: How about we know how the music starts but want ideas of how to continue? That's when audio-continuation would be helpful to take an existing clip and fill in what comes afterward.
- Bonus lesson: Tying it together, take some whistling and a random prompt, and leverage melody-conditional generation and audio-continuation to make a song.

Learning Objectives

- How to create audio generation systems with AI models (and for music generation in particular), and the theory and use cases behind them
- How to use Huggingface Hub and Pytorch checkpoints to download and load a pre-trained model.
- How to leverage AudioCraft open-source models for music generation tasks.

QA for AI systems

Trust is mission-critical for any technology, so if AI solutions are to supplant software, AI must reach the reliability standards currently expected from software. For that to happen, a new field of MLOps engineering has branched off from the DevOps. Also, Explainable AI (XAI) will be more widely adopted since it provides the toolset to interpret machine learning predictions and scrutinize metrics. To ensure increased reliability, and robustness new roles for Machine Learning Quality Assurance will appear likely within DevOps, SecOps, and MLOps teams, but also the roles of data scientist and Machine Learning engineer will evolve

We will examine examples and discuss how they can revolutionize the way we train, but most importantly evaluate and deploy machine learning models with examples from the agribusiness industry, and the digital agronomy field.

Adventures in Puppy Training with A.I. and a Raspberry Pi

If you've had a puppy, you know it can be a challenging, very hands-on, endeavor to potty-train them! My puppy learned very quickly, but she would still often go slightly outside the indoor potty pad.

The solution I devised for this problem involved a Raspberry Pi, camera, machine learning model, and speaker. But first I had to train the machine learning model so I pointed a camera at the pad. Then, I labeled hundreds of videos recorded with that camera and used them to train a gesture classification machine learning model to detect when she was about to go.

Then I installed the model on the Raspberry Pi to detect the puppy's gestures and coordinates. Then, based on her position, a Bluetooth speaker would make cheering or scolding sounds. After that, a computer vision method would assess the puppy's accuracy. The feedback produced by the sounds over time helped improve accuracy thus training the puppy.

In this session, I will discuss techniques used, lessons learned, and many cute puppy videos!

ML Conference Munich

"Interpreting NLP Transformers" (talk)
"Introduction to Explainable AI" (workshop)

June 2023 Munich, Germany

Infoshare Conference

"DIY AI: Facial Recognition from scratch" (talk)
"QA for AI systems" (talk)

May 2023 Gdańsk, Poland

Data Innovation Summit

"QA for AI systems" (talk)

May 2023 Stockholm, Sweden

DeveloperWeek Europe 2023 Sessionize Event

April 2023

Build Stuff 2022 Lithuania Sessionize Event

November 2022 Vilnius, Lithuania

Code PaLOUsa 2022 Sessionize Event

August 2022 Louisville, Kentucky, United States

WeAreDevelopers World Congress 2022 Sessionize Event

June 2022 Berlin, Germany

DeveloperWeek 2022 Sessionize Event

February 2022 Oakland, California, United States

ODSC West 2021

"What do Planes and Machine Learning have in common? How Interpretable ML can improve decision-making" (talk)

November 2021 San Francisco, California, United States

Great North DevFest Sessionize Event

November 2021

Ai4 2021 Enterprise

"Interpretable Machine Learning for Model Tuning" (lightning talk)

November 2021

Machine Learning Prague 2021

"Ensuring Machine Learning Fairness with Monotonic Constraints" (workshop)

February 2021 Prague, Czechia

Strangeloop 2019

"Assistive Augmentation: Lip Reading with AI" (talk)

September 2019 St. Louis, Missouri, United States

Serg Masis

Lead Data Scientist, Syngenta ● Bestselling Author of ML/AI books

Raleigh, North Carolina, United States

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top