http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#Head
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI
http://www.nanopub.org/nschema#hasAssertion
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#assertion
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI
http://www.nanopub.org/nschema#hasProvenance
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#provenance
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI
http://www.nanopub.org/nschema#hasPublicationInfo
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#pubinfo
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.nanopub.org/nschema#Nanopublication
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#assertion
http://purl.org/np/RALZS6hhNMVP9J0q4eQAuc489tuhR1SBxk9hJtejopce4#step
http://purl.org/net/p-plan#isStepOfPlan
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#_plan
http://purl.org/np/RALZS6hhNMVP9J0q4eQAuc489tuhR1SBxk9hJtejopce4#step
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#precedes
http://purl.org/np/RAWJkDcvleP6PZZnNPAuQPXXfqI9KWvJUhdfCqe3cr_fs#step
http://purl.org/np/RALZS6hhNMVP9J0q4eQAuc489tuhR1SBxk9hJtejopce4#step
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#precedes
http://purl.org/np/RAvbVOxcdKbQlmUc0qWx-D2dblBF53vUZFTT-wcjHYR_E#step
http://purl.org/np/RAWJkDcvleP6PZZnNPAuQPXXfqI9KWvJUhdfCqe3cr_fs#step
http://purl.org/net/p-plan#isStepOfPlan
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#_plan
http://purl.org/np/RAWJkDcvleP6PZZnNPAuQPXXfqI9KWvJUhdfCqe3cr_fs#step
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#precedes
http://purl.org/np/RAhukEBzlnknLUj-2pu4nvkIiGdW9vihe2aCli-YgZa4c#step
http://purl.org/np/RAWJkDcvleP6PZZnNPAuQPXXfqI9KWvJUhdfCqe3cr_fs#step
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#precedes
http://purl.org/np/RAvbVOxcdKbQlmUc0qWx-D2dblBF53vUZFTT-wcjHYR_E#step
http://purl.org/np/RA_NlCf_CuL3kPKdJBkZlGtYBvJ7HNangOryjPUM0QRBE#step
http://purl.org/net/p-plan#isStepOfPlan
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#_plan
http://purl.org/np/RA_NlCf_CuL3kPKdJBkZlGtYBvJ7HNangOryjPUM0QRBE#step
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#precedes
http://purl.org/np/RAWJkDcvleP6PZZnNPAuQPXXfqI9KWvJUhdfCqe3cr_fs#step
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#_LinguisticSystem
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
https://schema.org/ComputerLanguage
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#_LinguisticSystem
http://www.w3.org/2000/01/rdf-schema#label
python
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#_LinguisticSystem
http://www.w3.org/2000/01/rdf-schema#seeAlso
https://www.wikidata.org/wiki/Q28865
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#_LinguisticSystem
http://www.w3.org/2002/07/owl#versionInfo
3.9.15.final.0
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#_plan
http://purl.org/dc/terms/description
@is_fairworkflow(label='My model training workflow')
def training_workflow(n_jobs: int):
# 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
loaded_model = save_model(
model,
"models/my_model",
sample_data=data,
scores=scores,
hyper_params=hyper_params,
)
return loaded_model
# Optionally you can save other files (dataframes, JSON objects) in the data/ folder
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#_plan
http://purl.org/dc/terms/language
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#_LinguisticSystem
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#_plan
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.org/net/p-plan#Plan
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#_plan
http://www.w3.org/2000/01/rdf-schema#label
My model training workflow
http://purl.org/np/RAhukEBzlnknLUj-2pu4nvkIiGdW9vihe2aCli-YgZa4c#step
http://purl.org/net/p-plan#isStepOfPlan
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#_plan
http://purl.org/np/RAhukEBzlnknLUj-2pu4nvkIiGdW9vihe2aCli-YgZa4c#step
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#precedes
http://purl.org/np/RAvbVOxcdKbQlmUc0qWx-D2dblBF53vUZFTT-wcjHYR_E#step
http://purl.org/np/RAvbVOxcdKbQlmUc0qWx-D2dblBF53vUZFTT-wcjHYR_E#step
http://purl.org/net/p-plan#isStepOfPlan
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#_plan
http://www.example.org/unpublished-evaluate#out1
http://purl.org/net/p-plan#bindsTo
http://www.example.org/unpublished-save_model#scores
http://www.example.org/unpublished-fit_classifier#out1
http://purl.org/net/p-plan#bindsTo
http://www.example.org/unpublished-evaluate#model
http://www.example.org/unpublished-fit_classifier#out1
http://purl.org/net/p-plan#bindsTo
http://www.example.org/unpublished-save_model#model
http://www.example.org/unpublished-load_data#out1
http://purl.org/net/p-plan#bindsTo
http://www.example.org/unpublished-fit_classifier#data
http://www.example.org/unpublished-load_data#out1
http://purl.org/net/p-plan#bindsTo
http://www.example.org/unpublished-save_model#sample_data
http://www.example.org/unpublished-load_data_y#out1
http://purl.org/net/p-plan#bindsTo
http://www.example.org/unpublished-fit_classifier#y
http://www.example.org/unpublished-save_model#out1
http://purl.org/net/p-plan#bindsTo
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#_result
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#provenance
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#assertion
http://www.w3.org/ns/prov#generatedAtTime
2023-01-10T11:00:47.239704
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#pubinfo
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#sig
http://purl.org/nanopub/x/hasAlgorithm
RSA
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#sig
http://purl.org/nanopub/x/hasPublicKey
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlKZel+uM9w+JiWuhs0NHtaXdRrGkGAjvnnLFQL2nmgZDGIjX+is2YJBd6R2kBkr67lYiUDWdtih0F0yqUlAW5GdYUihk1MBiWyLe4RNt7I5iC/5wwK/i5vV6/YKa6Zwf4oymwChpdXddlKc6d73StgFqOafQPeNeBUHTZbkmUKFAqGXf0nAclB23DEeN5qVl6XRa1qqtL91AKW+UxTvlZR3pFNFn8xKTfbOSgmuAkYSUwJrp84rNI92qXYtOJ12oH0oT/enzcThxcfPLomGc9BMd+QBCj08LdrtuAArHzcivMKDzreDCD+haZ/GdObRWHpQ5O4bEWIx3dZVQq7t0KQIDAQAB
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#sig
http://purl.org/nanopub/x/hasSignature
iQD+mD3+UwR7sZ/wPN8IsJDpAHkspv1TQaYTACrG5BAKPl6HqD6fw31vw/u9sSSwCPBVO449lYSIXRn7CQIlwnunW0EpWnnjUHWXf3EbgLaQp1zigwlHxsg1Cmmz1gwVLcqx97BIEgJoswT/OswxcjHpZ5RCNwxEYb6aOX9GkVLPfXoAlLOnUwO8fw81YoM8qjT/2b4/F8Mmje1kbvmvb0zoWSiLjinBoExYJNTU91FXlSmdQIa9nuFNXA7wnbNwjZ+LYCPHcxRqPnjfrsh2V2o+lZ92ZZnAwzQxeHqZGmAHv/yigxFn33Ge2MaKy74LIazgelYMTHvOeMq1M2OtWw==
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI#sig
http://purl.org/nanopub/x/hasSignatureTarget
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI
http://purl.org/np/RAfrof2MH-ETZaBhPWkQTCoBFbhuId9EorRqkb_Y-e5sI
http://www.w3.org/ns/prov#wasAttributedTo
https://orcid.org/0000-0000-0000-0000