bluesheeptoken / CPT

Compact Prediction Tree: A Lossless Model for Accurate Sequence Prediction (cython implementation)
https://cpt.readthedocs.io/en/latest/
MIT License
41 stars 7 forks source link

CPT version 1.0.1 issue #75

Closed uty07 closed 4 years ago

uty07 commented 4 years ago

from cpt.cpt import Cpt model = Cpt()

model.fit([['hello', 'world'], ['hello', 'this', 'is', 'me'], ['hello', 'me'] ])

model.predict([['hello'], ['hello', 'this']])

ERROR:

ModuleNotFoundError Traceback (most recent call last)

in () ----> 1 from cpt.cpt import Cpt 2 model = Cpt() 3 4 model.fit([['hello', 'world'], 5 ['hello', 'this', 'is', 'me'], **ModuleNotFoundError: No module named 'cpt'**
uty07 commented 4 years ago

Folder Structure:

drwxrwxr-x 2 ec2-user ec2-user 4096 Jun 11 17:57 cpt-1.0.1.dist-info

Folder Path

/home/ec2-user/anaconda3/envs/python3/lib/python3.6/site-packages

uty07 commented 4 years ago

Thansk Bluesheeptoken this issue is also resolved