Upload trained machine learning model to Thingspeak
17 views (last 30 days)
Show older comments
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!
0 Comments
Accepted Answer
Hans Scharler
on 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 Comments
Vinod
on 23 Feb 2021
@Sirapadsorn Chaisaen: Just use the filename, you do not need the full path.
fileNames = 'net206010.mat';
More Answers (1)
MAHESH D
on 19 Mar 2024
Edited: MAHESH D
on 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
0 Comments
Communities
More Answers in the ThingSpeak Community
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!