[OTDev] POST for feature selection
Tobias Girschick tobias.girschick at in.tum.deThu Oct 8 15:29:01 CEST 2009
- Previous message: [OTDev] POST for feature selection
- Next message: [OTDev] POST for feature selection
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Christoph, On Tue, 2009-10-06 at 16:03 +0200, Christoph Helma wrote: > Excerpts from chung's message of Mon Oct 05 17:43:19 +0200 2009: > > Dear all, > > > > In API 1.0, there is no POST for feature selection algorithms. I propose > > the following RESTful operation: > > > > ***POST /algorithm/preprocessing/featureselection/{feat_sel_algorithm_id} > > I agree in principle, but I would separate the algorithm ontology from > the algorithm webservices (see my proposal for the API 1.1 > http://opentox.org/dev/apis/api-1.1/Algorithm), I am not totally clear how you envision the algorithm ontology. Here http://opentox.org/dev/apis/api-1.1/Algorithm you propose that a GET on /algorithm/{id} returns an algorithm_ontology_uri. Could you specify what I do get back from something like that: GET /algorithm_ontology/{id} Would this return the XML (or whatever we choose) representation of the algorithm? But if this works out, I basically agree with a simplified API (/algorithm/{id}) Regards, Tobias > as well as the feature > ontology from the features. This would lead to a single POST method for > all algorithms, that would work also for feature selection: > > POST /algorithm/{algorithm_id} > Parameters: dataset_uri, [optional algorithm parameters] > Returns: dataset_uri (e.g. feature calculation/selection) or model_uri > (model induction) > > No need for mime types, as only URIs are exchanged. > > Best regards, > Christoph Helma > > > > > > ***Posted parameters: dataset_uri (dataset URI to which feature > > selection will be applied), > > feature_definition (URI for the target feature_definition except this > > information is somehow included in the dataset) > > > > ***supported mime types: text/uri-list, text/plain > > > > ***Returns: URI list of (selected) feature definitions OR a URI for a > > created dataset (I think that sounds more reasonable). > > > > ***Status Codes: > > 200 : OK > > 202 : Accepted / Not completed > > 404 : Dataset URI of feature definition URI not found > > 400 : Bad request, Malformed URI for dataset or feature definition > > 500 and 503 : Server side errors. > > > > Best Regards, > > Pantelis > > > _______________________________________________ > Development mailing list > Development at opentox.org > http://www.opentox.org/mailman/listinfo/development -- Dipl.-Bioinf. Tobias Girschick Technische Universität München Institut für Informatik Lehrstuhl I12 - Bioinformatik Bolzmannstr. 3 85748 Garching b. München, Germany Room: MI 01.09.042 Phone: +49 (89) 289-18002 Email: tobias.girschick at in.tum.de Web: http://wwwkramer.in.tum.de/people/girschic
- Previous message: [OTDev] POST for feature selection
- Next message: [OTDev] POST for feature selection
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Development mailing list