Sfoglia il codice sorgente

feat: add FeatureExtractor interface

or at least what passes for an interface in python
main
Rob Hallam 3 mesi fa
parent
commit
5bcb115162
1 ha cambiato i file con 15 aggiunte e 0 eliminazioni
  1. +15
    -0
      pipeline/feature_extractors.py

+ 15
- 0
pipeline/feature_extractors.py Vedi File

@@ -0,0 +1,15 @@
from abc import ABC
import logging
logger = logging.getLogger(__name__)

class FeatureExtractor(ABC):
"""Feature extractor interface."""
# TODO: #API -- decide if .features will be a member variable
def setup(self):
pass

def run(self):
pass

def teardown(self):
pass

Caricamento…
Annulla
Salva