seqgra package

seqgra schema and miscellaneous helper functions

Classes:
  • AnnotatedExample: (x, y, a) tuple - sequence window, label, annotation (data class)

  • AnnotatedExampleSet: (x, y, a) tuple - sequence windows, labels, annotations (named tuple)

  • AnnotationSet: (y, a) tuple - labels, annotations (named tuple)

  • Example: (x, y) tuple - sequence window, label (data class)

  • ExampleSet: (x, y) tuple - sequence windows, labels (named tuple)

  • Metrics: (loss, accuracy) tuple (named tuple)

  • ModelSize: (n1, n2) tuple - number of trainable parameters, number of non-trainable parameters (named tuple)

  • ProbabilisticToken: (t, p) tuple - token, probability (named tuple)

  • MiscHelper: miscellaneous helper functions

Subpackages