[OTDev] NTUA WebServices
Nina Jeliazkova jeliazkova.nina at gmail.comThu Aug 12 15:10:16 CEST 2010
- Previous message: [OTDev] NTUA WebServices
- Next message: [OTDev] NTUA WebServices
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Perhaps a firewall issue? All work fine here. Best regards, Nina Jeliazkova On Thu, Aug 12, 2010 at 4:05 PM, ELRO (Erwin L Roggen) <ELRo at novozymes.com> wrote: > Chung, > I can not open any of these links. > > Best Regards > Erwin L Roggen > Science Manager > > Novozymes A/S > Krogshoejvej 36 > > 2880 Bagsvaerd Denmark > Phone: +45 44464220 > Mobile: +45 30774220 > E-mail: elro at novozymes.com > > ----------------------------------- > Don't print today - contribute to a better environment tomorrow > ----------------------------------- > > Novozymes A/S (reg. no.: 10007127). Registered address: Krogshoejvej 36 DK-2880 Bagsvaerd, Denmark > This e-mail (including any attachments) is for the intended addressee(s) only and may contain confidential and/or proprietary information protected by law. You are hereby notified that any unauthorized reading, disclosure, copying or distribution of this e-mail or use of information herein is strictly prohibited. If you are not an intended recipient you should delete this e-mail immediately. Thank you. > > -----Original Message----- > From: development-bounces at opentox.org [mailto:development-bounces at opentox.org] On Behalf Of chung > Sent: 29. juli 2010 13:13 > To: development at opentox.org > Subject: [OTDev] NTUA WebServices > > Dear All, > I summarize here some curl examples one can use to consume our web > services: > > 1. Get a list of all available algorithms on the server in various MIME > types > curl -H Accept:text/uri-list http://opentox.ntua.gr:3000/algorithm > curl -H Accept:application/rdf+xml http://opentox.ntua.gr:3000/algorithm > curl -H Accept:application/x-turtle > http://opentox.ntua.gr:3000/algorithm > > 2. Get the representation of a specific algorithm: > curl -H Accept:application/rdf+xml > http://opentox.ntua.gr:3000/algorithm/mlr > > 3. Train an MLR model using a dataset resource with respect to some > target attribute: > curl -X POST -d > dataset_uri=http://apps.ideaconsult.net:8080/ambit2/dataset/54 -d > prediction_feature=http://apps.ideaconsult.net:8080/ambit2/feature/22200 > 'http://opentox.ntua.gr:3000/algorithm/mlr?username=<YOUR_USERNAME>&password=<YOUR_PASS>' -H Accept:text/uri-list > The above curl command will return a (running) task which upon > completion points to the created model. > > 4. Create a Domain of Applicability Model using the leverages algorithm. > curl -X POST -d > dataset_uri=http://apps.ideaconsult.net:8080/ambit2/dataset/54 -d > prediction_feature=http://apps.ideaconsult.net:8080/ambit2/feature/22200 > 'http://opentox.ntua.gr:3000/algorithm/mlr?username=<YOUR_USERNAME>&password=<YOUR_PASS>' -H Accept:text/uri-list > > 5. Get a list of all available models on the server: > curl -H Accept:text/uri-list > http://opentox.ntua.gr:3000/model?username=<USRNM>&password=<PASS> > > 6. POST a dataset to a model to get predictions. For example post the > dataset "http://apps.ideaconsult.net:8080/ambit2/dataset/54" to the > model > "http://opentox.ntua.gr:3000/model/d50e4d97-d903-45a7-aad3-b12568d95b2f" (which is a leverages model). > curl -X POST -d > dataset_uri=http://apps.ideaconsult.net:8080/ambit2/dataset/54 > http://opentox.ntua.gr:3000/model/d50e4d97-d903-45a7-aad3-b12568d95b2f > This will return a task (in AMBIT) > > 7. Perform a filtering: > curl -X POST -d filter[]=AttributeCleanup -d filter[]=MVH -d > attribute_type[]=string -d attribute_type[]=nominal -d > dataset_uri=http://apps.ideaconsult.net:8080/ambit2/dataset/54 > 'http://opentox.ntua.gr:3000/algorithm/filter' > This will first remove all nominal and string attributes from the > dataset and then will replace all missing values using the 'means and > modes' method. > > 8. Status/Monitoring Service: > curl http://opentox.ntua.gr:3000/status -H Accept:text/plain > > 9. BiBTeX service is available at: http://opentox.ntua.gr:3000/bibtex > Get a list of all avaliable BibTeX entries: > curl http://opentox.ntua.gr:3000/bibtex?username=<UN>&password=<PW> > Create a BIbTeX entry posting RDF: > curl -X POST --data-binary @/path/to/bibtex.rdf > http://opentox.ntua.gr:3000/bibtex?username=...&password=... > Create a bibtex entry using parameters: > curl -X POST -d bibtype={Article|Book|Conference|Phdthesis|Entry} -d > author=... ... > http://opentox.ntua.gr:3000/bibtex?username=...&password=... > Supported parameters: > abstract, > address, > annotation, > booktitle, > chapter, > copyright, > crossref, > editor, > edition, > journal, > isbn, > issn, > key, > series, > title, > url, > keywords, > year, > volume, > number, > pages > > Bibtex entries are available in RDF and text/plain formats. Almost all > of the resources above are also available in text/html format (for > access through a browser) in the latest version which is not deployed > yet. > > > Best regards, > Pantelis > _______________________________________________ > Development mailing list > Development at opentox.org > http://www.opentox.org/mailman/listinfo/development > > > _______________________________________________ > Development mailing list > Development at opentox.org > http://www.opentox.org/mailman/listinfo/development >
- Previous message: [OTDev] NTUA WebServices
- Next message: [OTDev] NTUA WebServices
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Development mailing list