sub:assertion {
<
http://purl.obolibrary.org/obo/STATO_0000415>
rdfs:label "accuracy - in the context of binary classification, accuracy is defined as the proportion of true results (both true positives and true negatives) to the total number of cases examined (the sum of true positive, true negative, false positive and false negative). It can be understood as a measure of the proximity of measurement results to the true value." .
<
http://purl.obolibrary.org/obo/STATO_0000416>
rdfs:label "precision - precision or positive predictive value is defined as the proportion of the true positives against all the positive results (both true positives and false positives)" .
dcterms:description rdfs:label "is described by - connects a thing to a human-readable description of that thing." .
sub:algorithm a nt:GuidedChoicePlaceholder ;
rdfs:label "the used algorithm (e.g. Random Forest)" ;
nt:possibleValuesFromApi "http://purl.org/nanopub/api/find_signed_things?type=http%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23NamedIndividual&searchterm=" , "https://www.ebi.ac.uk/ols/api/select?fieldList=iri,label,description&q=" , "https://www.wikidata.org/w/api.php?action=wbsearchentities&language=en&format=json&limit=5&search=" .
sub:assertion dcterms:description "<p>Such a nanopublication describes the results of a Machine Learning experiment, such as the accuracy achieved by a applying a given ML technique on a given dataset. This template is based on <a href=\"https://ml-schema.github.io/documentation/ML%20Schema.html\">ML Schema</a>.</p>" ;
a nt:AssertionTemplate ;
rdfs:label "Publishing the evaluation result of a Machine Learning experiment" ;
nt:hasStatement sub:st10 ,
sub:st11 ,
sub:st12 ,
sub:st20 ,
sub:st30 ,
sub:st40 ,
sub:st50 ,
sub:st60 ,
sub:st70 ,
sub:st80 ;
nt:hasTag "Machine Learning" .
sub:dataset a nt:UriPlaceholder ;
rdfs:label "the URL of the used dataset" .
sub:dataset-label a nt:LiteralPlaceholder ;
rdfs:label "the name of the dataset" .
sub:evaluation a nt:LocalResource ;
rdfs:label "an evaluation" .
sub:evaluation-measure a nt:GuidedChoicePlaceholder ;
rdfs:label "the evaluation measure (e.g. Accuracy)" ;
nt:possibleValue <
http://purl.obolibrary.org/obo/STATO_0000415> , <
http://purl.obolibrary.org/obo/STATO_0000416> , <
https://www.wikidata.org/entity/Q6975395> ;
nt:possibleValuesFromApi "http://purl.org/nanopub/api/find_signed_things?type=http%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23NamedIndividual&searchterm=" , "https://www.ebi.ac.uk/ols/api/select?ontology=stato&fieldList=iri,label,description&q=" .
sub:evaluation-value a nt:LiteralPlaceholder ;
rdfs:label "value of the evaluation result (e.g. 0.81 if the accuracy is 81%)" ;
nt:hasRegex "[0-9]+(\\.[0-9]+)?" .
sub:run a nt:IntroducedResource ,
nt:LocalResource ;
rdfs:label "this run" .
sub:run-description a nt:LongLiteralPlaceholder ;
rdfs:label "textual description of the experiment run" .
sub:run-label a nt:LiteralPlaceholder ;
rdfs:label "name or label of the experiment run" .
sub:st10 rdf:object <
http://www.w3.org/ns/mls#Run> ;
rdf:predicate rdf:type ;
rdf:subject sub:run .
sub:st11 rdf:object sub:run-label ;
rdf:predicate rdfs:label ;
rdf:subject sub:run .
sub:st12 rdf:object sub:run-description ;
rdf:predicate dcterms:description ;
rdf:subject sub:run ;
a nt:OptionalStatement .
sub:st20 rdf:object sub:algorithm ;
rdf:predicate <
http://www.w3.org/ns/mls#realizes> ;
rdf:subject sub:run .
sub:st30 rdf:object sub:task ;
rdf:predicate <
http://www.w3.org/ns/mls#achieves> ;
rdf:subject sub:run .
sub:st40 rdf:object sub:dataset ;
rdf:predicate <
http://www.w3.org/ns/mls#hasInput> ;
rdf:subject sub:run .
sub:st50 rdf:object sub:dataset-label ;
rdf:predicate rdfs:label ;
rdf:subject sub:dataset ;
a nt:OptionalStatement .
sub:st60 rdf:object sub:evaluation ;
rdf:predicate <
http://www.w3.org/ns/mls#hasOutput> ;
rdf:subject sub:run .
sub:st70 rdf:object sub:evaluation-measure ;
rdf:predicate <
http://www.w3.org/ns/mls#specifiedBy> ;
rdf:subject sub:evaluation .
sub:st80 rdf:object sub:evaluation-value ;
rdf:predicate <
http://www.w3.org/ns/mls#hasValue> ;
rdf:subject sub:evaluation .
sub:task a nt:GuidedChoicePlaceholder ;
rdfs:label "the task performed (e.g. Spam Detection)" ;
nt:possibleValuesFromApi "http://purl.org/nanopub/api/find_signed_things?type=http%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23NamedIndividual&searchterm=" , "https://www.ebi.ac.uk/ols/api/select?fieldList=iri,label,description&q=" , "https://www.wikidata.org/w/api.php?action=wbsearchentities&language=en&format=json&limit=5&search=" .
rdf:type rdfs:label "is a - connects a thing (left) to a class it belongs to (right)" .
rdfs:label rdfs:label "has the label - connects a thing (left) to its human-readable label (right)" .
<
http://www.w3.org/ns/mls#Run>
rdfs:label "run of a Machine Learning experiment - Run is an execution of an implementation on a machine (computer). It is limited in time (has a start and end point), can be successful or failed." .
<
http://www.w3.org/ns/mls#achieves>
rdfs:label "performs the task - A relation between a run and a task, where the run achieves specifications formulated by the task." .
<
http://www.w3.org/ns/mls#hasInput>
rdfs:label "uses as input - A relation between a run and data that is taken as input to the run." .
<
http://www.w3.org/ns/mls#hasOutput>
rdfs:label "has as output - A relation between a run and either a model or model evaluation that is produced on it's output." .
<
http://www.w3.org/ns/mls#hasValue>
rdfs:label "has the result value - assigns a numerical value denoting the measured result of an evaluation" .
<
http://www.w3.org/ns/mls#realizes>
rdfs:label "executes an implementation of the algorithm - A relation between a run and an algorithm, where the run executes an implementation of the algorithm." .
<
http://www.w3.org/ns/mls#specifiedBy>
rdfs:label "measures - A relation between an entity and the information content entity that specifies it." .
<
https://www.wikidata.org/entity/Q6975395>
rdfs:label "F1 score - measure of a test's accuracy" .
}