VendorModel.py 511 B

1234567891011121314151617181920212223
  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
  15. def load_latest_prediction_model(self):
  16. raise NotImplementedError