http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#Head http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA http://www.nanopub.org/nschema#hasAssertion http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#assertion http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA http://www.nanopub.org/nschema#hasProvenance http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#provenance http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA http://www.nanopub.org/nschema#hasPublicationInfo http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#pubinfo http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.nanopub.org/nschema#Nanopublication http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#assertion http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_LinguisticSystem http://www.w3.org/1999/02/22-rdf-syntax-ns#type https://schema.org/ComputerLanguage http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_LinguisticSystem http://www.w3.org/2000/01/rdf-schema#label python http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_LinguisticSystem http://www.w3.org/2000/01/rdf-schema#seeAlso https://www.wikidata.org/wiki/Q28865 http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_LinguisticSystem http://www.w3.org/2002/07/owl#versionInfo 3.9.15.final.0 http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_model http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/net/p-plan#Variable http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_model http://www.w3.org/2000/01/rdf-schema#comment None http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_model http://www.w3.org/2000/01/rdf-schema#label model http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_out1 http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/net/p-plan#Variable http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_out1 http://www.w3.org/2000/01/rdf-schema#comment None http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_out1 http://www.w3.org/2000/01/rdf-schema#label out1 http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_step http://purl.org/dc/terms/description @is_fairstep(label='Evaluate the trained model') def evaluate(model): # Evaluate the quality of your model using custom metrics # cf. https://scikit-learn.org/stable/modules/model_evaluation.html return { 'precision': 0.85, 'recall': 0.80, 'accuracy': 0.85, 'roc_auc': 0.90, 'f1': 0.75, 'average_precision': 0.85, } http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_step http://purl.org/dc/terms/language http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_LinguisticSystem http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_step http://purl.org/net/p-plan#hasInputVar http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_model http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_step http://purl.org/net/p-plan#hasOutputVar http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_out1 http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_step http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dkm.fbk.eu/index.php/BPMN2_Ontology#ScriptTask http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_step http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/net/p-plan#Step http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#_step http://www.w3.org/2000/01/rdf-schema#label Evaluate the trained model http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#provenance http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#assertion http://www.w3.org/ns/prov#generatedAtTime 2023-02-07T17:05:05.545809 http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#pubinfo http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#sig http://purl.org/nanopub/x/hasAlgorithm RSA http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#sig http://purl.org/nanopub/x/hasPublicKey MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlKZel+uM9w+JiWuhs0NHtaXdRrGkGAjvnnLFQL2nmgZDGIjX+is2YJBd6R2kBkr67lYiUDWdtih0F0yqUlAW5GdYUihk1MBiWyLe4RNt7I5iC/5wwK/i5vV6/YKa6Zwf4oymwChpdXddlKc6d73StgFqOafQPeNeBUHTZbkmUKFAqGXf0nAclB23DEeN5qVl6XRa1qqtL91AKW+UxTvlZR3pFNFn8xKTfbOSgmuAkYSUwJrp84rNI92qXYtOJ12oH0oT/enzcThxcfPLomGc9BMd+QBCj08LdrtuAArHzcivMKDzreDCD+haZ/GdObRWHpQ5O4bEWIx3dZVQq7t0KQIDAQAB http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#sig http://purl.org/nanopub/x/hasSignature bheWIy0Lvhno2K52ShTurXG0LA0zBOA4Yq0m6hOaIuSJOP6tzMhc44uPSyzSyDmVBTDibVRwSNCxxzOJjvUfIjlgVoisQn+IP3RNH0bTL21wB93KHj7KKgG3y45tGyMorJ3aaxbnxQEmBunke6sreiWuD0APi8K5RJaIESC6FA698atYzocOfwLnmroqEj1ivKq5tTiU6Id52xHmovsH1CzM/eeE98v9kwv/dAchnqLkf2DCXGFMcNIvAxe59nxUsVgfCUaCq3G7qHzK0auYWOhzkLcaYi3TjzpMe9Jt74KPrIdL+IGX0wfe+8yYfixwYPvRm+qH+qNEmBc//y6A3g== http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA#sig http://purl.org/nanopub/x/hasSignatureTarget http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA http://purl.org/np/RAY68ZZPNUvBFof847Z4TUKOKxOdUFp9GFr88OBR0IOQA http://www.w3.org/ns/prov#wasAttributedTo https://orcid.org/0000-0000-0000-0000