EvalationResult.calculate_metrics() returns numpy.float32
instead of float
as metric value for SAS
#3590
Closed
1 task done
Labels
numpy.float32
instead of float
as metric value for SAS
#3590
Describe the bug
EvalutionResult.calculate_metrics()
returns sas metric asnumpy.float32
type and not asfloat
.Expected behavior
Return type is
float
as the type hint ofEvalutionResult.calculate_metrics()
.Additional context
numpy.float32
cannot be used for storage in databases, e.g. with sqlalchemy.To Reproduce
FAQ Check
System:
The text was updated successfully, but these errors were encountered: