@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix this: <http://purl.org/np/RACjQJQWiH_X0k3MIp3FOaElXbz_gg8PrbT2tDSl4XHp8> .
@prefix sub: <http://purl.org/np/RACjQJQWiH_X0k3MIp3FOaElXbz_gg8PrbT2tDSl4XHp8#> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix nt: <https://w3id.org/np/o/ntemplate/> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix orcid: <https://orcid.org/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
sub:Head {
  this: np:hasAssertion sub:assertion ;
    np:hasProvenance sub:provenance ;
    np:hasPublicationInfo sub:pubinfo ;
    a np:Nanopublication .
}
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)" .
  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%2Fns%2Fmls%23Algorithm&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 "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>." ;
    a nt:AssertionTemplate ;
    rdfs:label "Publishing the evaluation result of a Machine Learning experiment" ;
    nt:hasStatement sub:st10 , 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> ;
    nt:possibleValuesFromApi "http://purl.org/nanopub/api/find_signed_things?type=http%3A%2F%2Fwww.w3.org%2Fns%2Fmls%23EvaluationMeasure&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%)" .
  sub:run a nt:LocalResource ;
    rdfs:label "this run" .
  sub:st10 rdf:object <http://www.w3.org/ns/mls#Run> ;
    rdf:predicate rdf:type ;
    rdf:subject sub:run .
  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%2Fns%2Fmls%23Task&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" .
  rdfs:label rdfs:label "has the name" .
  <http://www.w3.org/ns/mls#Run> rdfs:label "run of a Machine Learning experiment" .
  <http://www.w3.org/ns/mls#achieves> rdfs:label "performs the task" .
  <http://www.w3.org/ns/mls#hasInput> rdfs:label "uses as input" .
  <http://www.w3.org/ns/mls#hasOutput> rdfs:label "has as output" .
  <http://www.w3.org/ns/mls#hasValue> rdfs:label "has the result value" .
  <http://www.w3.org/ns/mls#realizes> rdfs:label "executes an implementation that implements the algorithm" .
  <http://www.w3.org/ns/mls#specifiedBy> rdfs:label "measures" .
}
sub:provenance {
  sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 .
}
sub:pubinfo {
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCjDGQCS1S+SRnERDuYDXOugdYUP0efEquHJEEHAbU/uLzBVlga89zqrNPCS7fBE6lArBUWEmT8eLKdMapyqvAzI1J3jUWTMhDJF+XFBkUiuiFfNSc4vJJcmi0yujtnuzXsRIG202jyaP4f5ULoskFwaZOSBZJfiE0dsB3D7DTIAQIDAQAB" ;
    npx:hasSignature "DaPOAaMsf/mubfnbMDLAJyoxnuw14IkGeb6jfR8ILJqsJKsnVluRC+zmqGGP5XFC0H6tieXoHKCHjnk6ZgCp+V1OaLbUkV2OxfJMZkJkFe/xVonl/cxxtJN8whKBNivl1W8VqrhXr1uN+ugmcSNmygT0M+bGAtcaDOo4qXvzkJw=" ;
    npx:hasSignatureTarget this: .
  this: dcterms:created "2023-04-12T09:49:45.636Z"^^xsd:dateTime ;
    dcterms:creator orcid:0000-0002-1267-0234 ;
    npx:supersedes <http://purl.org/np/RAxoQEFSMjgX8RdtKySC2IHo27UAb773Z797udcTkxc44> ;
    nt:wasCreatedFromProvenanceTemplate <http://purl.org/np/RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM> ;
    nt:wasCreatedFromPubinfoTemplate <http://purl.org/np/RAA2MfqdBCzmz9yVWjKLXNbyfBNcwsMmOqcNUxkk1maIM> , <http://purl.org/np/RAjpBMlw3owYhJUBo3DtsuDlXsNAJ8cnGeWAutDVjuAuI> ;
    nt:wasCreatedFromTemplate <http://purl.org/np/RAkONP_jLqAbok3FgtutnKcLs4IHr9KiAuslQNnfEJIwY> .
}