cobra icon indicating copy to clipboard operation
cobra copied to clipboard

143 serialization deserialization bug

Open joostneuj opened this issue 1 year ago • 0 comments

143 serialization deserialization bug

[143 serialization deserialization bug] (https://github.com/PythonPredictions/cobra/issues/143)

Changes made

Added check in target_encoder.py to include multiple types of floating numbers.

How does the solution address the problem

A parameter in the target encoder was lost during the (de)serialization process. By extending an if-statement to take into different kinds of floating number types, all necessary info is kept.

Linked issues

joostneuj avatar Jun 16 '23 16:06 joostneuj