rh-aiservices-bu / fraud-detection

https://rh-aiservices-bu.github.io/fraud-detection/
Apache License 2.0
17 stars 56 forks source link

Adjust notebooks for Python 3.11 / Elyra 4 image #50

Closed caponetto closed 1 month ago

caponetto commented 1 month ago

This PR includes the necessary changes to run the Fraud Detection tutorial on a Python 3.11 based image with Elyra v4 (from ODH Notebooks repository).

cfchase commented 1 month ago

Looks like it's related to a bug in tf2onnx and tensorflow >= 2.16 https://github.com/onnx/tensorflow-onnx/issues/2348

cfchase commented 1 month ago

I removed the outputs from checking in. I added name='dense_input' which kept the input signature the same so we didn't need any further changes. I cleaned up the pandas/numpy/transform a bit. @caponetto and @RHRolun let me know what you think of the changes

caponetto commented 1 month ago

Thanks for the changes @cfchase! I've tested them and they worked as expected.