AutoMLAutoML, or Automated Machine Learning, is a great feature for MATLAB users. This feature is intended for beginners of ML (or those with less machine learning experience) to automate certain steps of the workflow, getting to a higher accuracy in less time. It also makes experienced AI developers more productive by automating routine and time-consuming steps, allowing them to focus on further optimizing the model manually. AutoML applies to the following steps in the machine learning workflow:
- Data Exploration and Preprocessing by identifying variables with low predictive power and highly correlated variables that should be eliminated.
- Feature Extraction and Selection by extracting features automatically from signals and images and identifying those with high predictive power.
- Model Selection and Tuning by identifying the best performing model and automatically tuning model hyperparameters at the same time.
- Preparation for Deployment by transforming high-level machine learning code into lower level languages like C/C++ for deployment on embedded devices with limited memory and low power consumption.
Model InterpretabilityThe second feature I want to introduce you to is model interpretability. This feature is intended to alleviate the “black box” nature of machine learning models, since its representations of knowledge and decision-making aren’t always intuitive. Interpretability introduces the option of its adoption in domains where black box approaches aren’t feasible, including safety and risk management, Finance and Medical applications. Many interpretability methods analyze how variables impact model predictions. For example, the partial dependence plot shows the marginal contribution of one specific variable on model score. If the response changes significantly, it indicates the variable is important, thus “explaining” one aspect of the model. If these important variables align with the human expert’s expectation, we can say that we “understand” the model, increasing trust in its predictions. Partial Dependence Plots (PDP) have been available in MATLAB for regression, and with 20b are available for classification as well.
SimulinkThe last feature I want to highlight is the new library of Machine Learning blocks for Simulink. In this release we will support SVM (support vector machine) Classification and Regression. With Simulink you can integrate your models with a larger system that could include components such as controls, dynamic models, sensor fusion, and computer vision. Simulink supports Model-Based Design of complex multi-component systems, including simulation of system-level performance on hardware, and facilitates deployment to hardware with embedded code generation. The Simulink model below represents an implementation of a human activity classifier using the Simulink block for SVM Classification. This model accesses signals from your mobile device’s accelerometers, specifies modules to calibrate and normalize the signal, extracts features, feeds them through a classification algorithm, and finally, displays the human activity as an output: running, standing, walking, laying, etc. You can check the full example here. If you want to learn more about any of these features, you can register for the next webinar to see new examples and ask questions in a future Live Q&A. Thanks to Laura for updating us on the important new features for Machine Learning. Have a question or comment for Laura? Leave a comment below.
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.