[Feature] Legacy API (#224)

Co-authored-by: Tim Lorsbach <tim@lorsba.ch>
Reviewed-on: enviPath/enviPy#224
This commit is contained in:
2025-11-19 20:45:16 +13:00
parent 89c194dcca
commit 67b1baa5b0
6 changed files with 737 additions and 64 deletions

View File

@ -65,7 +65,7 @@ class PredictionResult(object):
return iter(self.product_sets)
def __repr__(self):
return f"--{self.probability}/{self.rule}--> {self.product_sets}"
return f"--{self.probability:.2f}/{self.rule}--> {self.product_sets}"
class FormatConverter(object):