cobra
cobra copied to clipboard
143 serialization deserialization bug
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.