ELBEPPI

class mowl.models.ELBEPPI(*args, **kwargs)[source]

Bases: ELBE

Example of ELBE for protein-protein interaction prediction.

This model customizes negative sampling to use only protein IDs from the evaluation classes instead of all ontology classes.

Attributes Summary

protein_ids

Get protein IDs from evaluation classes (cached).

Methods Summary

evaluate_ppi()

Convenience method to evaluate PPI prediction.

generate_negatives(gci_name, gci_dataset)

Generate negatives using only protein IDs for gci2.

get_negative_sampling_config()

Only do negative sampling for gci2 (not object_property_assertion).

Attributes Documentation

protein_ids

Get protein IDs from evaluation classes (cached).

Methods Documentation

evaluate_ppi()[source]

Convenience method to evaluate PPI prediction.

generate_negatives(gci_name, gci_dataset)[source]

Generate negatives using only protein IDs for gci2.

get_negative_sampling_config()[source]

Only do negative sampling for gci2 (not object_property_assertion).