sidhomj / DeepTCR

Deep Learning Methods for Parsing T-Cell Receptor Sequencing (TCRSeq) Data
https://sidhomj.github.io/DeepTCR/
MIT License
113 stars 40 forks source link

Wrong sklearn version #17

Closed choosehappy closed 5 years ago

choosehappy commented 5 years ago

requirements.txt states 0.19.1

but OneHotEncoder in that version doesn't have a "categories" named variable:

https://scikit-learn.org/0.19/modules/generated/sklearn.preprocessing.OneHotEncoder.html#sklearn.preprocessing.OneHotEncoder

which is used here:

https://github.com/sidhomj/DeepTCR/blob/eb58a950939ce26b57f710994fc3e1cac35b3496/DeepTCR/DeepTCR.py#L324

This wasn't introduced until version 0.20

sidhomj commented 5 years ago

thank you for letting me know! will update the requirements soon!