jfloff / pywFM

pywFM is a Python wrapper for Steffen Rendle's factorization machines library libFM
https://pypi.python.org/pypi/pywFM
MIT License
250 stars 42 forks source link

python3 compatibility. #23

Closed k1ochiai closed 6 years ago

k1ochiai commented 6 years ago

For print statement/function compatibility, line 275 is modified.

When I used pywFM on python3, some function returns byte type. For example, c_githash is b'91f8504a15120ef6815d6e10cc7dee42eebaab0f' So, I converted it to str type by using .decode("utf-8").

I only tested python3.