diff --git a/learnware/specification/base.py b/learnware/specification/base.py index 064173d..6b1c5f5 100644 --- a/learnware/specification/base.py +++ b/learnware/specification/base.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import copy import numpy as np from typing import Dict @@ -22,6 +24,9 @@ class BaseStatSpecification: def get_states(self): return {k: v for k, v in self.__dict__.items() if not k.startswith("_")} + def dist(self, stat_spec: BaseStatSpecification): + raise NotImplementedError("dist is not implemented") + def save(self, filepath: str): """Save the statistical specification into file in filepath