Open
Description
Similar to how it's done in the normQuant
function
backstory:
When a Pipeline object is used as a Param value in a ParamSet, the ParamSet method values_hash
fails to obtain a hash value. Inside the values_hash
function, hash_obj
is applied to a tuple of the ParamSet values, one of which is the Pipeline object. Currently hash_obj
treats tuples (and all other Sequences) by converting it to a string using pickle. The Pipeline object is not picklable so it fails.