sub:assertion {
<
http://purl.org/np/RA17HtLD4h2L4UoSSubSlMLY0kDw91z8-DPvcy39lfA-M#step>
pplan:isStepOfPlan sub:_plan ;
dul:precedes <
http://purl.org/np/RAUAhDn7lna4QyY29CgO8jJXXTi0D13YxqM0zItqSX-xE#step> .
<
http://purl.org/np/RACHYcBOHh2fISkpmp9v3pDbQVzeDyW1yi60F9-rsOThM#step>
pplan:isStepOfPlan sub:_plan .
<
http://purl.org/np/RANp9csd_AUQTtcUHVqMabS6UnYKErTbRn2BYQRMvtMWo#step>
pplan:isStepOfPlan sub:_plan ;
dul:precedes <
http://purl.org/np/RACHYcBOHh2fISkpmp9v3pDbQVzeDyW1yi60F9-rsOThM#step> .
<
http://purl.org/np/RAUAhDn7lna4QyY29CgO8jJXXTi0D13YxqM0zItqSX-xE#step>
pplan:isStepOfPlan sub:_plan ;
dul:precedes <
http://purl.org/np/RACHYcBOHh2fISkpmp9v3pDbQVzeDyW1yi60F9-rsOThM#step> , <
http://purl.org/np/RANp9csd_AUQTtcUHVqMabS6UnYKErTbRn2BYQRMvtMWo#step> .
<
http://purl.org/np/RAiCOlFeHFuiyz0WbqQud1jMoSL-5foq84Uv_3DPKO0cU#step>
pplan:isStepOfPlan sub:_plan ;
dul:precedes <
http://purl.org/np/RACHYcBOHh2fISkpmp9v3pDbQVzeDyW1yi60F9-rsOThM#step> , <
http://purl.org/np/RAUAhDn7lna4QyY29CgO8jJXXTi0D13YxqM0zItqSX-xE#step> .
sub:_LinguisticSystem a schema:ComputerLanguage ;
rdfs:label "python" ;
rdfs:seeAlso <
https://www.wikidata.org/wiki/Q28865> ;
owl:versionInfo "3.9.15.final.0" .
sub:_plan dc1:description """@is_fairworkflow(label='My model training workflow')
def training_workflow(n_jobs):
# Define models hyper params
hyper_params = {
'n_jobs': n_jobs,
'random_state': 42
}
data = load_data()
y = load_data_y()
# Train model (here we use a stub dataset just to make the example clear)
model = fit_classifier(hyper_params, data, y)
# Evaluate the model using your own metrics
scores = evaluate(model)
# Save the model generated to the models/ folder
path = save(
model,
\"models/my_model\",
sample_data=data,
scores=scores,
hyper_params=hyper_params,
)
return path
# Optionally you can save other files (dataframes, JSON objects) in the data/ folder
""" ;
dc1:language sub:_LinguisticSystem ;
a pplan:Plan ;
rdfs:label "My model training workflow" .
<
http://www.example.org/unpublished-evaluate#out1>
pplan:bindsTo <
http://www.example.org/unpublished-save#scores> .
<
http://www.example.org/unpublished-fit_classifier#out1>
pplan:bindsTo <
http://www.example.org/unpublished-evaluate#model> , <
http://www.example.org/unpublished-save#model> .
<
http://www.example.org/unpublished-load_data#out1>
pplan:bindsTo <
http://www.example.org/unpublished-fit_classifier#data> , <
http://www.example.org/unpublished-save#sample_data> .
<
http://www.example.org/unpublished-load_data_y#out1>
pplan:bindsTo <
http://www.example.org/unpublished-fit_classifier#y> .
<
http://www.example.org/unpublished-save#out1>
pplan:bindsTo sub:_result .
}
sub:pubinfo {
sub:sig npx:hasAlgorithm "RSA" ;
npx:hasPublicKey "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlKZel+uM9w+JiWuhs0NHtaXdRrGkGAjvnnLFQL2nmgZDGIjX+is2YJBd6R2kBkr67lYiUDWdtih0F0yqUlAW5GdYUihk1MBiWyLe4RNt7I5iC/5wwK/i5vV6/YKa6Zwf4oymwChpdXddlKc6d73StgFqOafQPeNeBUHTZbkmUKFAqGXf0nAclB23DEeN5qVl6XRa1qqtL91AKW+UxTvlZR3pFNFn8xKTfbOSgmuAkYSUwJrp84rNI92qXYtOJ12oH0oT/enzcThxcfPLomGc9BMd+QBCj08LdrtuAArHzcivMKDzreDCD+haZ/GdObRWHpQ5O4bEWIx3dZVQq7t0KQIDAQAB" ;
npx:hasSignature "D/FYrrhUzAdKdren57hS3UYwxm0K7m1YJEXngVpUuMK4GxU2kamUV/uN5BGAEAvq06EaUNvstVkBM8rZBP6r8hghvP/UHLv5lYeH3XO9k7dJjHeSxDF0zhjf5Pn1XDjQs9YWDSUzeLLMXx2L7T8/8ZlMR2X/0WGBB6uWkFwrGC7ArIGC1FXN9+I38APkywE1YMqV0f9KN2zvXdatqu8kxUxVWyP7QfKIaovak+0Omy7t23jvyXM2tjYuerv7GMm+mDW95amoDoInWNNRoV1ILdt/ZwEjeyZMXPXnIQ8RrJF8xN+FLHRVrbqe9KxhdvzmU1j+iPoU2BH7BZZrURzX6Q==" ;
npx:hasSignatureTarget this: .
this: prov:wasAttributedTo orcid:0000-0000-0000-0000 .
}