Rapidminer工作室to integrate with IOT development bord

arbitary32arbitary32 MemberPosts:3Contributor I
edited November 2019 inHelp

Rapid Minor studion is new for me, Isi t possible to install this siftware in raspberry pi?

Basically I need to perform some task with WirelessSensorwhich sends the reading to create the tabular form using rapid minor studio,

But as I am beginner to this area, So need suggestion how to integrate the readings of sensors to stored in tabular form and store it on cloud database using Rapid Minor

Your Leads will be much appreciated

Note: I am using Losant API to store the the readings in database

Tagged:

Answers

  • jczogallajczogalla Employee, MemberPosts:144RM Engineering

    Hi@arbitary32,

    in general it should be possible to run RapidMiner on a Raspberry Pi, since it runs on Java. There is a platform independent version you can download from the website.

    However, I think in your case it would be easier to just use your Pi to store the sensor values in some database and then access that database from RapidMiner, running it on a normal computer. RapidMiner can handle a lot of different JDBC connections, you can read how to use MySQL or MariaDBhere.

    Cheers

    Jan

  • sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM ModeratorPosts:2,959Community Manager

    tagging my RPi guru@Thomas_Ott

    Scott

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:1,761Unicorn

    @arbitary32You can run RapidMiner Studio on a Raspberry Pi but it will be woefully slow. The start up time using the version 2 of the Pi (512 MB ram) was like 5 minutes. I haven't tested it on the version 3 boards, so maybe you'll get better performance BUT I suspect it will be slow.

    If you want to use the Pi as an IoT board, use it collect the data. Pipe it a database and then use RapidMiner Studio on a more powerful machine.

    Of course, you can get an OEM licenses and embed RM java classes directly, that might be feasible but I haven't tested it.

    sgenzer
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University ProfessorPosts:3,404RM Data Scientist

    Hi,

    a better way to integrate are the new RapidMiner Scoring Agents. They should work on a Pi.

    Best,

    Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
    sgenzer Thomas_Ott
  • rfuentealbarfuentealba Moderator, RapidMiner Certified Analyst, Member, University ProfessorPosts:568Unicorn

    Hi@arbitary32,

    To work with IoT, you do not need to install RapidMiner Studio on your Raspberry Pi, it's RapidMiner Server. Let's put it this way: you can build your processes on RapidMiner Studio and deploy these on RapidMiner Server. Either way it isn't a great idea to install a RapidMiner product on Raspberry Pi. I did it once on a NUC and totally regretted that decision later.

    Now, I have some experience working with Losant Klin and its RESTful API's. Given that, I can provide you a scenario that IMO might be better: install RM Studio on your computer and RM Server somewhere else (if you have enough memory to run both on your computer, that's great, but my MacBook Air can't cope with it). You can build processes on RapidMiner Studio, deploy these on the Server (it's a copy-paste process, don't be afraid!) and expose these from the Server as API endpoints (it's a simple configuration done in the server interface) that you can call with any HTTP-capable client from your Raspberry Pi boards (curl is a good start!).

    这个设置的有趣的部分有点later, though: if you want to simplify your life, you can let RapidMiner handle the information sent to the Losant API, by using the RapidMiner Python extension from the Marketplace and theAnaconda Python Distribution. You just need to install the library found onthis repositoryand write your code in the Python Programming Language as part of a process from RapidMiner Studio/Server. That way, the amount of code you need to write specifically for your Raspberry Pi is significantly less and the possibilities are endless!

    All the best,

    Thomas_Ott
  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:1,761Unicorn

    @rfuentealbathat's a pretty good idea to have the Pi hit the Server exposed REST API. I think it's what@mschmitzwas alluding too with the real time scoring product of the Server.

    rfuentealba
  • arbitary32arbitary32 MemberPosts:3Contributor I

    @rfuentealbais it possible to create the the dashboard in line graph and display the dashboard thorugh smartphone whenever smartphone is connected with internet and also share the notificatio alert whenever temprature drops or go high from the range ?

  • arbitary32arbitary32 MemberPosts:3Contributor I

    @rfuentealbais it possible to create the the dashboard in line graph and display the dashboard thorugh smartphone whenever smartphone is connected with internet and also share the notificatio alert whenever temprature drops or go high from the range ?

  • rfuentealbarfuentealba Moderator, RapidMiner Certified Analyst, Member, University ProfessorPosts:568Unicorn
    Hi@arbitary32,

    It can be possible to do it the other way round. Build your dashboard and make it get the data from the server. Don't see it unfeasible.
  • rfuentealbarfuentealba Moderator, RapidMiner Certified Analyst, Member, University ProfessorPosts:568Unicorn
    Hi@arbitary32,

    Regarding notifications: if your endpoint saves the data, applies the proper model to evaluate it, and you have the Python Extension, you can do whatever you want: send push notifications, SMS, emails or even publish a random sentence on Facebook based on your values :P There is no push notification functionality inside RapidMiner Server, but you can use another one like Twilio.
Sign InorRegisterto comment.