Pārlūkot izejas kodu

feat: add FeatureExtractor interface

or at least what passes for an interface in python
main
Rob Hallam pirms 4 mēnešiem
vecāks
revīzija
5bcb115162
1 mainītis faili ar 15 papildinājumiem un 0 dzēšanām
  1. +15
    -0
      pipeline/feature_extractors.py

+ 15
- 0
pipeline/feature_extractors.py Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt