databricks-industry-solutions / customer-lifetime-value

Ingest sample retail data, build visualizations to explore past purchase behavior and use machine learning to predict the likelihood of future purchases
https://www.databricks.com/solutions/accelerators/customer-lifetime-value
Other
13 stars 6 forks source link

BUG: RCG CLV accelerator sporadically fails with NotImplementedError: Cannot apply ufunc <ufunc 'hyp2f1'> to mixed DataFrame and Series inputs #1

Closed dbbnicole closed 1 year ago

dbbnicole commented 2 years ago

This is a bug in an external dependency package that is no longer actively maintained. See https://github.com/pandas-dev/pandas/issues/46138#

coreyabs-db commented 1 year ago

I worked around this in getting the solution accelerator ready for a conference by simply taking the .values of the Series objects we pass to the fitters. If that works for a fix here feel free to assign it to me and I'll clean it up and apply it after the conference.

dbbnicole commented 1 year ago

Thanks @coreyabs-db ! We have updated this accelerator to use btyd instead. Will monitor the stability of this accelerator and see if this flakey issue reappears.