The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Classifying examples using a web service
ErikLindblad
Member Posts: 1 Learner III
Hi all
I have read and built the tutorial that exposes a process as a web service in RapidAnalytics. The tutorial uses a macro to get data into the model via the query string in the request. But how do I classify an example using the web service? By that I mean providing attributes in some format (mabe POST key/value pairs), apply a model and get the classification back.
In the screencast at http://www.youtube.com/watch?v=SBCUwA6llns&;feature=player_embedded Rapid-i does the thing I want using around 10:00 but ist says nothing about how the process is set up.
Thanks in advance for any input on this.
Kindest regards
Erik
I have read and built the tutorial that exposes a process as a web service in RapidAnalytics. The tutorial uses a macro to get data into the model via the query string in the request. But how do I classify an example using the web service? By that I mean providing attributes in some format (mabe POST key/value pairs), apply a model and get the classification back.
In the screencast at http://www.youtube.com/watch?v=SBCUwA6llns&;feature=player_embedded Rapid-i does the thing I want using around 10:00 but ist says nothing about how the process is set up.
Thanks in advance for any input on this.
Kindest regards
Erik
Tagged:
0
Answers
I remember I have already answered this question once somewhere, but I cannot find the link. Anyway: In the old version, I defined a macro for each attribute and used "Generate Data by User Specification" to create a one-line exmple set. This, admittedly was ugly. As of RA 1.1 you can directly POST CSV, Excel, or XML files to the Web service. Check this out:
http://youtu.be/AiTQtIRNIVo
Best,
Simon
Yes, you responded to this issue before, even on youtube; however, I would still like to inquire to how you connected rapidanalytics to the 'Generate Data By User Specification' operator. I understand that you believe it is an 'ugly' solution, but it is the one that I require. I have no need to supply data in a CSV, XML or any other format other than a parameter in the URL.
Many thanks for your videos and your dedication to creating rapidminer, rapidanalytics and all the extensions.