How to use classification learner for real time data (from serial port) for classification?

3 views (last 30 days)
I am completely new to the classification learning technique. Could anyone please suggest how do I classify the real time data obtained from the serial port? And also I want to apply machine learning on the same. How do I do that as well? Thanks in advance

Answers (1)

Bernhard Suhm
Bernhard Suhm on 18 May 2018
You can find an example how to read data from a serial device here. Next you need to have the desired class (label) for each of your data points, that'll give you a data set you can use to train various classifiers. This page walks you through using the Classification Learner app to train and evaluate various models.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by