[OTDev] Java Example for parsing a dataset
Nina Jeliazkova nina at acad.bgThu Dec 10 16:19:44 CET 2009
- Previous message: [OTDev] Java Example for parsing a dataset
- Next message: [OTDev] Validation: classification statistics for non-binary class values
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Actually, there is a property that relates a model to a training dataset , ot:trainingDataset, with Model as a domain and Dataset as range , but is indeed missing from the code. It will look something like: rdf_model.addProperty(OT.trainingDataset, ds); Regards, Nina > Tobias Girschick wrote: > Hi Nina, > > thanks again for the Java examples. What I miss in the model RDF > representation is info about the dataset that is used to build the > model. I'd say we add those lines: > > //the dataset > OT.OTClass.Dataset.createOntClass(algo_model); > ds = algo_model.createIndividual(fileURI.toString(), > OT.OTClass.Dataset.getOntClass(algo_model)); > rdf_model.addProperty(OT.dataset, ds); > > Best regards, > Tobias > > > On Wed, 2009-12-09 at 23:21 +0200, Nina Jeliazkova wrote: > > >>> >>> >> Jena example at >> http://opentox.org/data/documents/development/RDF%20files/JavaOnly/JenaExamples/#section-22 >> >> Best regards, >> Nina >> > > >> _______________________________________________ >> Development mailing list >> Development at opentox.org >> http://www.opentox.org/mailman/listinfo/development >> > > >
- Previous message: [OTDev] Java Example for parsing a dataset
- Next message: [OTDev] Validation: classification statistics for non-binary class values
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Development mailing list