Преглед на файлове

feat: add FeatureExtractor interface

or at least what passes for an interface in python
main
Rob Hallam преди 3 месеца
родител
ревизия
5bcb115162
променени са 1 файла, в които са добавени 15 реда и са изтрити 0 реда
  1. +15
    -0
      pipeline/feature_extractors.py

+ 15
- 0
pipeline/feature_extractors.py Целия файл

@@ -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

Зареждане…
Отказ
Запис