4.2. Getting started

As mentioned in the introductory section, MLPro-SL’s functionalities are still limited and not ready to be labelled as the first version. However, we are working on it to enhance MLPro-SL and bring you full supervised learning functionalities soon.

At the moment, we provide a basic template class for supervised learning adaptive function, which has been extended to the feedforward neural network. We introduce MLP as a sample of the MLPro-SL model and provide a ready-to-use PyTorch-based multilayer perceptron network.

No experience with MLPro? To learn more about MLPro, please refer to the Getting started page of MLPro.

After following the below step-by-step guideline, we expect the user understands the MLPro-SL in practice and starts using MLPro-SL.

1. What is supervised learning?

If you have not worked with supervised learning before, we recommend starting with an understanding of its basic concepts. There are numerous references, articles, papers, books, and videos available online that explain supervised learning. In brief, supervised learning is a type of machine learning where a model is trained on a labeled dataset, meaning each training example is paired with the correct output. The model learns to map inputs to the correct outputs by minimizing the difference between its predictions and the actual labels. Once trained, it can then make predictions on new, unseen data based on the patterns it has learned.

2. What is MLPro-SL?

We assume you have a fundamental understanding of MLPro and supervised learning. Therefore, you need to familiarize yourself with the overview of MLPro-SL by following these steps:

  1. MLPro-SL introduction page

3. Understanding adapative functions in MLPro-SL

Firstly, it is essential to understand the adaptive function in MLPro-SL, which can be found on this page.

Next, you can refer to our how-to files related to the adaptive function in MLPro-SL, which is used for model-based RL, as outlined below:

  1. Howto RL-MB-001: Train and Reload Model Based Agent (Gymnasium)

  2. Howto RL-MB-001: MBRL with MPC on Grid World Environment

For more advanced supervised learning techniques in model-based RL, such as using a native model-based RL network, you can refer to the following example:

  1. Howto RL-MB-002: MBRL on RobotHTM Environment

4. Additional guidance

After completing the previous steps, we encourage you to practice with MLPro-SL and begin using this subpackage for your supervised learning activities. For more advanced features, we recommend reviewing the following files:

  1. API reference: MLPro-SL

  2. API reference: MLPro-SL pool of objects