How to Create a Machine Learning Model With Microsoft Lobe (2023)

Readers like you help support MUO. When you make a purchase using links on our site, we may earn an affiliate commission. Read More.

Machine learning is everywhere these days, from spam filtering and facial recognition to voice assistants and driverless cars. But you don’t need a master’s degree to learn how to use this exciting technology, thanks to a new app from Microsoft called Lobe.

Lobe simplifies the process of machine learning, so that anyone can create AI (artificial intelligence) models without any coding knowledge. We’ll explain how Lobe works and how to get started with this smart new tool.

What Is Microsoft Lobe?

Lobe is a free desktop app for Windows and macOS that lets people with no programming or data science experience conduct experiments in artificial intelligence. It also allows developers to add machine learning capabilities to their own apps.

Acquired by Microsoft in September 2018, Lobe lets you build machine learning models using a simple visual interface rather than writing code. In the current public preview, you can classify sets of images, so that Lobe can identify the contents of similar pictures.

On its AI blog, Microsoft gives the examples of Lobe being trained to recognize poisonous berries, protect marine resources by spotting whales in photos, and send alerts when parking spots become available. It’s also been used in a beekeeping project to detect unwanted insects invading a hive.

How to Create a Machine Learning Model With Microsoft Lobe (1)

Microsoft plans to expand Lobe’s features in the future to train other types of models. These will include object detection, which locates specific items in images, and data classification, which labels information in tables.

(Video) Introducing Lobe | Build your first machine learning model in ten minutes.

Here’s how to create a machine learning model using Lobe’s image classification feature.

1. Download and Install Microsoft Lobe

To get the Lobe app for Windows or macOS, click the Download button on the homepage or in the top-right corner of the Lobe website. You’ll need to enter a few personal details to join the Lobe Beta, including your name, email address, and country, but as Microsoft doesn’t verify this information, you can fake it.

How to Create a Machine Learning Model With Microsoft Lobe (2)

Indeed, one of the best things about Lobe is that it doesn’t compromise your privacy. The app works offline and any data you import remains on your computer, rather than being uploaded to the cloud (and Microsoft).

It’s a pretty large download (378MB at the time of writing) and takes a few minutes to install. Once done, you can start using Lobe straight away, as there aren’t any settings to configure. Just check the Run Lobe box and click Finish.

How to Create a Machine Learning Model With Microsoft Lobe (3)

2. Add and Label Images in Lobe

When Lobe opens, click the New Project button in the bottom-left corner of the home screen. Enter a name for your project in the top left. You can now add and label some images to create your first machine learning model.

(Video) How to Export and Run ML model from Microsoft Lobe | Microsoft Lobe | Machine Learning | Data Magic

Click the Import button in the top-right corner and choose whether to add images from your computer, capture shots from a webcam, or import an existing dataset in the form of a structured folder of images. For your first AI model, it’s best to use the first, simplest option.

How to Create a Machine Learning Model With Microsoft Lobe (4)

Select at least five images of the same subject from your hard drive, either individually or by holding down Ctrl or Cmd as you click them. Ideally, these should have variations in background, lighting, or position to help Lobe identify the important parts. I've chosen photos of our neighborhood fox.

Enter a descriptive label for the first image, which in our example is “fox.” Lobe will save this label, so you can quickly apply it to the other images in the dataset. Right-click a picture if you need to edit the label or delete the image.

How to Create a Machine Learning Model With Microsoft Lobe (5)

Next, import another set of images of a different but related subject. I chose photos of my dog for Lobe to distinguish from those of the fox. Again, label the first image with a descriptive tag, then apply the same label to the other shots. You can optionally repeat the process for additional sets, but you only need two to create a model.

Related: 4 Unique Ways to Get Datasets for Your Machine Learning Project

3. Train Your Machine Learning Model

Once you’ve created at least two labels and applied them to at least five images each, Lobe will automatically start training your machine learning model. You’ll hear a confirmation sound when the process is complete.

Click the Train option in the left-hand column to view the results. Hover your mouse over an image and you should see a message saying: “Correct Prediction. Your Lobe is correctly predicting this image is [name of label].”

How to Create a Machine Learning Model With Microsoft Lobe (6)
(Video) How to use Lobe, Microsoft Machine Learning Tool

You can test if your model works by importing another image, to see if Lobe predicts the correct label. Click Play on the left, then either drag and drop a picture into the app, or click Import.

If Lobe correctly predicts the label for the imported image, click the green tick button; if not, click the red button. Continue adding images to train your AI model to recognize different variations of the subject. Microsoft suggests using between 100 and 1,000 images per label, depending on the complexity of the task.

How to Create a Machine Learning Model With Microsoft Lobe (7)

4. Optimize Your Machine Learning Model

If Lobe keeps making incorrect predictions, there are several ways you can make your machine-learning model more reliable.

Go into the Train section, click the View button in the top-right corner and choose Incorrect First. This will show you which images are confusing Lobe most frequently. Import more variations of these mislabeled images to mark as correct or incorrect. This will make future predictions more accurate.

How to Create a Machine Learning Model With Microsoft Lobe (8)

Lobe will always predict one of your labels, even if the image you import doesn’t contain related content. To prevent misidentification, add placeholder images and label them None, so your model isn’t forced to choose between wrong answers.

If you’re working with a large dataset and experiencing lots of incorrect predictions, you can force Lobe to train your model more thoroughly. Click the three-line menu button in the top-left corner, choose Optimize Model, and click Optimize.

How to Create a Machine Learning Model With Microsoft Lobe (9)

5. Export Your Lobe Model to Use in an App

Although you can play around with Lobe for fun, it also lets you export your machine learning model in industry-standard formats, so you can use it in an app you’re developing.

(Video) Build Machine Learning Model using Microsoft Lobe without Coding | No-code Tutorial

You can export datasets as TensorFlow Lite, for use in Android and Internet of Things apps; as Core ML to develop iOS, iPad, and macOS apps; and as TensorFlow 1.15 SavedModel, for use in applications coded in the Python language.

How to Create a Machine Learning Model With Microsoft Lobe (10)

Click the menu button in the top-left corner, choose Export, and select your preferred format. Before saving your model’s files or code, you’ll be given the option to optimize your model. Lobe also has its own API (application programming interface) for running exported models in Python and .NET.

Don’t worry if those options sound too advanced for your level of programming expertise, because Lobe saves your project automatically. If you need technical help and advice, you can visit the Lobe Community subreddit.

How to Create a Machine Learning Model With Microsoft Lobe (11)

Related: What Is Google TensorFlow

All You Need Is Lobe

Microsoft Lobe offers a simple visual way to create a basic machine learning model, without needing to worry about code. You can use it to classify images of anything you want and try capturing shots from your webcam too.

(Video) Build your own AI model with Lobe and export it to AI Builder

If experimenting with Lobe makes you eager to learn more about machine learning, you’ll find lots of free courses and tutorials online to help you develop your skills and knowledge.


How do you create a simple machine learning model? ›

Six steps to build a machine learning model
  1. Contextualise machine learning in your organisation.
  2. Explore the data and choose the type of algorithm.
  3. Prepare and clean the dataset.
  4. Split the prepared dataset and perform cross validation.
  5. Perform machine learning optimisation.
  6. Deploy the model.

What are the 7 steps to making a machine learning model? ›

It can be broken down into 7 major steps :
  1. Collecting Data: As you know, machines initially learn from the data that you give them. ...
  2. Preparing the Data: After you have your data, you have to prepare it. ...
  3. Choosing a Model: ...
  4. Training the Model: ...
  5. Evaluating the Model: ...
  6. Parameter Tuning: ...
  7. Making Predictions.
4 days ago

How to create ML model Python? ›

7 Steps to Build a Machine Learning Model with Python
  1. Loading the dataset.
  2. Understanding the dataset.
  3. Data preprocessing.
  4. Data visualization.
  5. Building a regression model.
  6. Model evaluation.
  7. Model prediction.

What model does lobe use? ›

Lobe currently supports five different model files: TensorFlow, TensorFlow Lite, TensorFlow. js, CoreML, and ONNX.

What are the three stages of building a model in machine learning? ›

The ML project life cycle can generally be divided into three main stages: data preparation, model creation, and deployment. All three of these components are essential for creating quality models that will bring added value to your business.

Can I create my own machine learning model? ›

To create a model with custom options. In the Amazon ML console, choose Amazon Machine Learning, and then choose ML models. On the ML models summary page, choose Create a new ML model. If you have already created a datasource, on the Input data page, choose I already created a datasource pointing to my S3 data.

What is a simple example of machine learning model? ›

Image recognition is a well-known and widespread example of machine learning in the real world. It can identify an object as a digital image, based on the intensity of the pixels in black and white images or colour images.

How do I make my own AI model? ›

Let's go through the basic steps to help you understand how to create an AI from scratch.
  1. Step 1: The First Component to Consider When Building the AI Solution Is the Problem Identification. ...
  2. Step 2: Have the Right Data and Clean It. ...
  3. Step 3: Create Algorithms. ...
  4. Step 4: Train the Algorithms. ...
  5. Step 5: Opt for the Right Platform.
Feb 22, 2022

Why is accuracy important when making models? ›

The accuracy tells that overall how often the model is making a correct prediction. Error Rate: Error rate tells that overall how often the model is making a wrong prediction.

What is model architecture in machine learning? ›

The architecture of machine learning has been divided into five stages, such as data acquisition, data processing, data modeling, execution, and deployment.

Why do we decorate models? ›

Decorating a model apartment is about more than just making the space look good. Although that is important… However, it's also about making a space look believable. You want your tours to leave prospects with a clear picture of how their lives could be in that apartment.

What is architecture in deep learning? ›

Deep learning is represented by a spectrum of architectures that can build solutions for a range of problem areas. These solutions can be feed-forward focused or recurrent networks that permit consideration of previous inputs.


1. How do I use a model exported from
(Microsoft Developer)
2. Building a No-Code Machine Learning Application (for Computer Vision) with Microsoft's Lobe
(Data Professor)
3. Machine Learning without Coding | Microsoft Lobe Machine Learning | Data Magic
(Data Magic (by Sunny Kusawa))
4. Microsoft – No Coding Machine Learning Model creation- Tool Walkthrough #nocode #ai
(Rithesh Sreenivasan)
5. No Code Machine Learning Microsoft Tool Lobe.AI Tutorial | Deep Learning
6. Machine Learning Mobile App Without Writing A Single Line Of Code | Apple | Microsoft | Lobe.AI
(Veloshan Pillay)
Top Articles
Latest Posts
Article information

Author: Moshe Kshlerin

Last Updated: 03/06/2023

Views: 5734

Rating: 4.7 / 5 (57 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Moshe Kshlerin

Birthday: 1994-01-25

Address: Suite 609 315 Lupita Unions, Ronnieburgh, MI 62697

Phone: +2424755286529

Job: District Education Designer

Hobby: Yoga, Gunsmithing, Singing, 3D printing, Nordic skating, Soapmaking, Juggling

Introduction: My name is Moshe Kshlerin, I am a gleaming, attractive, outstanding, pleasant, delightful, outstanding, famous person who loves writing and wants to share my knowledge and understanding with you.