Skip to content
MathWorks - Mobile View
  • Melden Sie sich bei Ihrem MathWorks Konto anMelden Sie sich bei Ihrem MathWorks Konto an
  • Access your MathWorks Account
    • Eigener Account
    • Mein Community Profil
    • Lizenz zuordnen
    • Abmelden
  • Produkte
  • Lösungen
  • Forschung und Lehre
  • Support
  • Community
  • Veranstaltungen
  • MATLAB erhalten
MathWorks
  • Produkte
  • Lösungen
  • Forschung und Lehre
  • Support
  • Community
  • Veranstaltungen
  • MATLAB erhalten
  • Melden Sie sich bei Ihrem MathWorks Konto anMelden Sie sich bei Ihrem MathWorks Konto an
  • Access your MathWorks Account
    • Eigener Account
    • Mein Community Profil
    • Lizenz zuordnen
    • Abmelden

Videos und Webinare

  • MathWorks
  • Videos
  • Videos Homepage
  • Suche
  • Videos Homepage
  • Suche
  • Vertrieb kontaktieren
  • Testsoftware
4:08 Video length is 4:08.
  • Description
  • Full Transcript
  • Related Resources

How to Set Up Your Own Deep Learning Experiments

From the series: Deep Neural Networks

The Experiment Manager app allows you to set up experiments for training, fine-tuning, and explaining your deep learning networks under a variety of initial conditions.­ See how you can set up your deep learning experiments with a detailed walk-through of the following steps:­

  1. Reviewing an existing training script that could be turned into an experiment­
  2. Turning a script into a function that the Experiment Manager will accept­
  3. Highlighting the parameters you’d like to perform trials over­
  4. Adding the experiment setup function into the Experiment Manager

Hi. My name's Joe Hicklin. I'm a senior developer at The MathWorks. In my last video, I showed you how Experiment Manager can automate a lot of the experimentation you were doing for your deep learning systems. In this video, I'll show you what I had to do to get the Experiment Manager to run my experiments.

To configure the experiment manager to run your experiments, you follow a four-step process. First, you need to make the script that runs some kind of deep learning experiment. You've probably already got something like this.

The next step is to turn it into a function. Here I've added a function statement at the beginning and an end statement at the end. This function has to return three things. It has to return the data store with your data, the layers of the network, and the training options. And it's got to take one argument called params, and I'll talk about that more in a minute. Also, remove your call to trainnetwork because the experiment manager will do that for you.

The third step is the most work. You have to make your function perform different trials based on the value of the param argument. In this case, I'm going to use a larger or smaller data set, and I'm going to augment the data or not, depending on the value of this parameter. And here's how I've done that. I have a switch statement that is looking at the data set field of the parameter and based and switching off that. And depending which one of these strings it is, I'm using larger or smaller data set, and I'm doing augmentation or not. We're counting on the experiment manager to call this function now with different values for param.dataset, and for each one of those values I will do a different thing.

The final step is to tell the Experiment Manager about your function. If I go to the Experiment Manager and say New Experiment, he wants to know the name of my function-- that's the thing I just wrote-- the name of my parameter-- let's take a look. That was data set-- and possible values for that parameter. And I happened to store those right here.

And that's it. And so now when I run this experiment, Experiment Manager will call my function, and for the value of the data set parameter, we'll pass in each of these different strings one at a time. And the result of that is this data set, which I did earlier, producing this. The other two experiments were set up in exactly the same way. In the second experiment, I varied the network architecture, so in my function I added a switch statement that switched on another parameter, net, and depending on its value, created one of four different kinds of networks.

To tell Experiment Manager about that, we went to the Network Definition, told it, that's the name of my function, that's the name of my parameter, and there are the possible values. And that's all that took.

The last experiment-- I varied the training options a little bit, and in that one it was a little bit different. I simply passed the parameter values straight through to the trainingOptions command. I had a solver, epochs, miniBatchSize, and learnRate, and like I said, I simply passed those straight on through. To tell the experiment manager about those, I did the same thing. There's the name of my function. There's the name of each parameter that I used, and there is the values.

And that's all it took to set it up to run those 54 trials for me. I hope I've shown you that Experiment Manager can be an excellent way to automate, document, and store your deep learning experiments. If you want to learn more about it, follow the links at the bottom of the page.

Related Products

  • MATLAB

Learn More

Visit our documentation for examples of Deep Learning Experiments you can build
Interactively Build Experiments to Fine-Tune and Compare Deep Learning Networks (6:06)

3 Ways to Speed Up Model Predictive Controllers

Read white paper

A Practical Guide to Deep Learning: From Data to Deployment

Read ebook

Bridging Wireless Communications Design and Testing with MATLAB

Read white paper

Deep Learning and Traditional Machine Learning: Choosing the Right Approach

Read ebook

Hardware-in-the-Loop Testing for Power Electronics Control Design

Read white paper

Predictive Maintenance with MATLAB

Read ebook

Electric Vehicle Modeling and Simulation - Architecture to Deployment : Webinar Series

Register for Free

How much do you know about power conversion control?

Start quiz
Related Information
Related Information
Get started by downloading a trial for Deep Learning

Feedback

Featured Product

MATLAB

  • Request Trial
  • Get Pricing

Related Videos:

31:29
MATLAB: Tips and Tricks
2:37
Project-Based Learning: Students learn how to better use...
27:59
Deep Learning for Computer Vision
5:50
Integrating to Find the Volume Underneath a Set of...
46:45
Tire Modeling: Extracting Results from a Large Data Set

View more related videos

MathWorks - Domain Selector

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

  • Switzerland (English)
  • Switzerland (Deutsch)
  • Switzerland (Français)
  • 中国 (简体中文)
  • 中国 (English)

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • Vertrieb kontaktieren
  • Testsoftware

MathWorks

Accelerating the pace of engineering and science

MathWorks ist der führende Entwickler von Software für mathematische Berechnungen für Ingenieure und Wissenschaftler.

Entdecken Sie…

Produkte

  • MATLAB
  • Simulink
  • Software für Studierende
  • Hardware-Unterstützung
  • File Exchange

Testen oder Kaufen

  • Downloads
  • Testsoftware
  • Vertrieb kontaktieren
  • Preise und Lizenzierung
  • Store

Lernen

  • Dokumentation
  • Tutorials
  • Beispiele
  • Videos und Webinare
  • Schulungen

Support

  • Hilfe zur Installation
  • MATLAB Answers
  • Consulting
  • License Center
  • Support kontaktieren

Über MathWorks

  • Jobs & Karriere
  • Newsroom
  • Soziales Engagement
  • Berichte von Anwendern
  • Über MathWorks
  • Select a Web Site United States
  • Trust Center
  • Handelsmarken
  • Datenschutz
  • Datendiebstahl verhindern
  • Status von Anwendungen

© 1994-2022 The MathWorks, Inc.

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • LinkedIn
  • RSS

Folgen Sie uns