helayers
helayers copied to clipboard
can not use encode_encrypt_input_for_predict
i am running the tutorial on xgboost and i get this error using the function encode_encrypt_input_for_predict
It seems the error is due to mixing between versions. The code snippet you sent is from an older version of HElayers, and it's likely the pyhelayers version installed newer. I recommend that you load the most recent version using the links here: https://ibm.github.io/helayers/ Note that the helayers-pylab docker image contains both the demos and pyhelayers, and you can also install pyhelayer separately using 'pip install', and then run the demos from the image if they are from the same version.
Let us know if the problem persists.