@prefix bpmn: <http://dkm.fbk.eu/index.php/BPMN2_Ontology#> .
@prefix dc1: <http://purl.org/dc/terms/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix orcid: <https://orcid.org/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix pplan: <http://purl.org/net/p-plan#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <https://schema.org/> .
@prefix sub: <http://purl.org/np/RASL6xPm7Lho_gRIEsqGrTfb7im94jHSUXBWaIZnruqBs#> .
@prefix this: <http://purl.org/np/RASL6xPm7Lho_gRIEsqGrTfb7im94jHSUXBWaIZnruqBs> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
sub:Head {
  this: np:hasAssertion sub:assertion ;
    np:hasProvenance sub:provenance ;
    np:hasPublicationInfo sub:pubinfo ;
    a np:Nanopublication .
}
sub:assertion {
  sub:_LinguisticSystem a schema:ComputerLanguage ;
    rdfs:label "python" ;
    rdfs:seeAlso <https://www.wikidata.org/wiki/Q28865> ;
    owl:versionInfo "3.9.15.final.0" .
  sub:_data a pplan:Variable ;
    rdfs:comment "None" ;
    rdfs:label "data" .
  sub:_hyper_params a pplan:Variable ;
    rdfs:comment "None" ;
    rdfs:label "hyper_params" .
  sub:_out1 a pplan:Variable ;
    rdfs:comment "None" ;
    rdfs:label "out1" .
  sub:_step dc1:description """@is_fairstep(label='Load data y', is_script_task=True)
def fit_classifier(hyper_params, data, y):
    clf = RandomForestClassifier(
        n_jobs=hyper_params['n_jobs'],
        random_state=hyper_params['random_state'],
    )
    clf.fit(data, y)
    return clf
""" ;
    dc1:language sub:_LinguisticSystem ;
    pplan:hasInputVar sub:_data , sub:_hyper_params , sub:_y ;
    pplan:hasOutputVar sub:_out1 ;
    a bpmn:ScriptTask , pplan:Step ;
    rdfs:label "Load data y" .
  sub:_y a pplan:Variable ;
    rdfs:comment "None" ;
    rdfs:label "y" .
}
sub:provenance {
  sub:assertion prov:generatedAtTime "2022-12-21T14:40:57.181341"^^xsd:dateTime .
}
sub:pubinfo {
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlKZel+uM9w+JiWuhs0NHtaXdRrGkGAjvnnLFQL2nmgZDGIjX+is2YJBd6R2kBkr67lYiUDWdtih0F0yqUlAW5GdYUihk1MBiWyLe4RNt7I5iC/5wwK/i5vV6/YKa6Zwf4oymwChpdXddlKc6d73StgFqOafQPeNeBUHTZbkmUKFAqGXf0nAclB23DEeN5qVl6XRa1qqtL91AKW+UxTvlZR3pFNFn8xKTfbOSgmuAkYSUwJrp84rNI92qXYtOJ12oH0oT/enzcThxcfPLomGc9BMd+QBCj08LdrtuAArHzcivMKDzreDCD+haZ/GdObRWHpQ5O4bEWIx3dZVQq7t0KQIDAQAB" ;
    npx:hasSignature "Ce4hyyODJQeY5iEq2MXUr7Br5aJAObMa93Q5p1vnSMciROKJS3xO1jF9zKsjrSMHLBApAruaHmms9LlGV2gkje9VoP+1DGuV5+d+1eYxSlPheDHju6YVPosX1/QxnitSbFfoINYr/C+iBFOcbpe/WRKzsR88nGqxHZIBAkrD1ZdMxYXkovjXb491QSxmo8UxsQl6CcpZt5Pe+pKnarZJ9dV0zUYzRuj4L74oXVIutBL9tiVaHgPOSursT8ija1ULem5QeLlIG9xaHcZbK/hTwaTzaGy0b1c0tE7nfYs7ItgAwjx72XhbsogooTqASsZYJHyLJ2AM6XIQCO5+WfimbQ==" ;
    npx:hasSignatureTarget this: .
  this: prov:wasAttributedTo orcid:0000-0000-0000-0000 .
}