You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to solve it on my local PC adding a "onehot_encode" in the init file (protlearn/protlearn/preprocessing/init.py), but not works for me. Do you have any suggestion of wot to deal with it?
Thanks for you attetnion :)
The text was updated successfully, but these errors were encountered:
Hi Thomas!!!
Thank you so much for ProtLearn, is very useful. I installed it on google Colab (and local on my PC) using:
pip install protlearn
pip install --upgrade protlearn
And then tried to apply one hot encoding as the example provided in the documentation:
from protlearn.preprocessing import onehot_encode
seqs = ['ARKLY', 'EERNPAA', 'QEPGPGLLLK']
enc = onehot_encode(seqs, padding=True)
enc.shape
But the next error appears:
TypeError Traceback (most recent call last)
in
1 from protlearn.preprocessing import onehot_encode
2 seqs = ['ARKLY', 'EERNPAA', 'QEPGPGLLLK']
----> 3 enc = onehot_encode(seqs, padding=True)
4 enc.shape
TypeError: 'module' object is not callable
I tried to solve it on my local PC adding a "onehot_encode" in the init file (protlearn/protlearn/preprocessing/init.py), but not works for me. Do you have any suggestion of wot to deal with it?
Thanks for you attetnion :)
The text was updated successfully, but these errors were encountered: