VendorModel.py 432 B

1234567891011121314151617181920
  1. """
  2. All vendor models must extend this class.
  3. """
  4. class VendorModel:
  5. def get_src2month(self):
  6. raise NotImplementedError
  7. def get_vendor_dir(self):
  8. raise NotImplementedError
  9. def unifySrcName(self, name):
  10. raise NotImplementedError
  11. def gen_model_opinion_set(self, filename, month, norm_param):
  12. raise NotImplementedError
  13. def performTests(self):
  14. raise NotImplementedError