OpenStructure
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes
ContactScorerResultICS Class Reference

Public Member Functions

 __init__ (self, n_trg_contacts, n_mdl_contacts, n_union, n_intersection)
 
 n_trg_contacts (self)
 
 n_mdl_contacts (self)
 
 precision (self)
 
 recall (self)
 
 ics (self)
 

Protected Attributes

 _n_trg_contacts
 
 _n_mdl_contacts
 
 _n_union
 
 _n_intersection
 

Detailed Description

Holds data relevant to compute ics

Definition at line 302 of file contact_score.py.

Constructor & Destructor Documentation

◆ __init__()

__init__ (   self,
  n_trg_contacts,
  n_mdl_contacts,
  n_union,
  n_intersection 
)

Definition at line 306 of file contact_score.py.

Member Function Documentation

◆ ics()

ics (   self)
 The Interface Contact Similarity score (ICS)

Combination of :attr:`precision` and :attr:`recall` using the F1-measure

:type: :class:`float`

Definition at line 355 of file contact_score.py.

◆ n_mdl_contacts()

n_mdl_contacts (   self)
 Number of contacts in model

:type: :class:`int`

Definition at line 321 of file contact_score.py.

◆ n_trg_contacts()

n_trg_contacts (   self)
 Number of contacts in target

:type: :class:`int`

Definition at line 313 of file contact_score.py.

◆ precision()

precision (   self)
 Precision of model contacts

The fraction of model contacts that are also present in target

:type: :class:`int`

Definition at line 329 of file contact_score.py.

◆ recall()

recall (   self)
 Recall of model contacts

The fraction of target contacts that are also present in model

:type: :class:`int`

Definition at line 342 of file contact_score.py.

Field Documentation

◆ _n_intersection

_n_intersection
protected

Definition at line 310 of file contact_score.py.

◆ _n_mdl_contacts

_n_mdl_contacts
protected

Definition at line 308 of file contact_score.py.

◆ _n_trg_contacts

_n_trg_contacts
protected

Definition at line 307 of file contact_score.py.

◆ _n_union

_n_union
protected

Definition at line 309 of file contact_score.py.


The documentation for this class was generated from the following file: