|
Knowledge Fair Table F - Techie Table
Posted by
Sopasakis Pantelis
at
Sep 14, 2010 12:15 AM
|
Permalink
A description of the discussions and activities that will take place on the "Techie Table" during the OpenTox workshop in Rhodes (19 Sept. 2010). OpenTox facilitators: Pantelis Sopasakis (NTUA), Fabian Buchwald (TUM) Duration: 3 hours Description of Activity: The discussion will be organized in two parts: In the first part we are going to show how a developer can consume OpenTox web services from inside a Java application using some of our tools (like ToxOtis [5]), and including A&A (Authorization and Authentication). Using web clients and parsers, the participants will download and parse OpenTox resources such as compounds, features, datasets and models and inspect them from within their Java application. Exercises will include parsing of datasets and conversion into weka data objects (Instances), training of various models using NTUA, TUM and AMBIT algorithms (where necessary using also the A&A API). This will familiarize the participants with the direct consumption of OT web services on a more advanced level than using web interfaces and a more programmatic way than using plain curl. This will take about 45 minutes including discussion and questions. In the second part of the activity, the group will build an OpenTox web service with our guidance. A clustering algorithm will be deployed for the sake of getting in touch with web services and having a better insight into the OpenTox API. First we will study the requirements of the OpenTox API and will formulate hypothetical curl commands for how a request would look like (in a top-down approach). Then we will proceed formulating an RDF representation of the algorithm discussing at the same time the structure of such a document and the information that should be found therein. Jena will be used as an RDF editor/parser, which will be quite useful to developers that want to get involved in a contemporary project involving web semantics. We will briefly detail the storing of models and present the underlying database tables structure. Weka will be used to materialize the XMeans algorithm. The whole effort will boil down to ca. 500 lines of source code including the use of various Java libraries such as Restlet, Weka and Jena. Participants will also get in touch with the back end of an OpenTox web service. This will take about 75 minutes. During the remaining time we will discuss various challenges a developer can face and how they could be overcome. Experience Expected: A moderate acquaintance with Java is needed to join the table. The participant should know how to use some IDE of his/her preference and know how to create a Java application and load libraries. Some acquaintance with HTTP and web services is also helpful.
Preparation before joining the table: We would suggest that participants examine the OpenTox API to gain a better insight into the OpenTox services. The API is available from the OpenTox web site at http://opentox.org/dev/apis/api-1.1. Before joining the table, the participants should have installed the following on their machines:
Optional applications the users are suggested to install:
The following Java libraries should be downloaded and loaded in your IDE (All libraries used in our projects are free and open source): [Alternatively you can download exactly what you need from https://opentox.ntua.gr/lib.zip - It is much easier to go this way, but you will get a better insight if you go through the following steps].
Note: After installing all of the above on your laptop, you will have to bring it with you on the table ;-)
Techincal Support: If you need help installing any of the above software or libraries, please contact Pantelis Sopasakis via email at chvng@mail.ntua.gr or reach him at MSN: aureliacosmetics@yahoo.gr. If you have more general questions about technical developments on the project and wish to participate, you can join the OpenTox development mailing list, available as an option on completing the join registration form on the OpenTox web site. References:
Document Actions |