Upload trained machine learning model to Thingspeak

59 visualizzazioni (ultimi 30 giorni)
Hello,
I trained a machine learning model on MatLab Desktop and the App Classification Learner. Now I want to upload the trained model to the ThingSpeak Cloud, so that I can make predictions with new data in the cloud. How can I do this ?
Thank you in advance!

Risposta accettata

Hans Scharler
Hans Scharler il 10 Apr 2020
There is a "Developing an IoT Analytics System with MATLAB, Machine Learning, and ThingSpeak" paper linked from the ThingSpeak website that may help you.
In this example, Robert takes the model and generates MATLAB code and includes it as a function.
  10 Commenti
Vinod
Vinod il 23 Feb 2021
@Sirapadsorn Chaisaen: Just use the filename, you do not need the full path.
fileNames = 'net206010.mat';

Accedi per commentare.

Più risposte (1)

MAHESH D
MAHESH D il 19 Mar 2024
Modificato: MAHESH D il 19 Mar 2024
@Marcel Zehner,@Vinod,@Sirapadsorn Chaisaen can you please share any tutorial of of how you've done this if possible? I am looking for the same solution as yours. I have trained a classification model and i want to export that model (.mat) to ThingSpeak so that it can predict based on the real time data.
Thank you in advance

Community

Più risposte nel  ThingSpeak Community

Categorie

Scopri di più su ThingSpeak in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by