typo
This commit is contained in:
parent
45a07c620a
commit
95209a5c9d
@ -26,7 +26,7 @@ class Classifier:
|
|||||||
def __validate_array_prediction_format(self, prediction):
|
def __validate_array_prediction_format(self, prediction):
|
||||||
if not len(prediction) == len(self._classes):
|
if not len(prediction) == len(self._classes):
|
||||||
raise UnexpectedPredictionFormat(
|
raise UnexpectedPredictionFormat(
|
||||||
f"Received fewer probabilities ({len(prediction)}) than classes were specified ({len(self._classes)}."
|
f"Received fewer probabilities ({len(prediction)}) than classes were specified ({len(self._classes)})."
|
||||||
)
|
)
|
||||||
|
|
||||||
def __validate_int_prediction_format(self, prediction):
|
def __validate_int_prediction_format(self, prediction):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user