Closed
Description
Whatever the data type that it receives, the pm.Data
constructor turns it into a float, using pm.model.pandas_to_array
which, in turn, calls pm.floatX
. @ferrine says there's a substitute function, pm.theanof.smartfloatX
that would be appropriate to substitute.
I need to clear a couple of existing PRs before I can do anything with this. If anyone else would like to grab it in the meantime, that would be great.
Note that we need to check pm.set_data()
to see if it does the same thing. I don't understand the other functions in pm.data.py
that deal with DataFrames, etc., so it's possible something lurks in there, as well.