ctgk / PRML

PRML algorithms implemented in Python
MIT License
11.43k stars 3.25k forks source link

How to install "prml"? Thanks #4

Open 4Statistics opened 6 years ago

4Statistics commented 6 years ago

How to install "prml"? Thanks

Tesla-H commented 6 years ago

after git clone, find the setup.py,then try "python setup.py install"

zhuyanshuo commented 6 years ago

File "C:\Program Files\Python35\lib\site-packages\prml-0.0.1-py3.5.egg\prml\feature_extractions\autoencoder.py", line 11 self.parameter[f"w_encode{i}"] = nn.Parameter(np.random.randn(args[i], args[i + 1])) ^ SyntaxError: invalid syntax

hahahahaha320 commented 6 years ago

I met the problem too when I used python V3.5. I resolved the problem by using python V3.6.5.

zhangp14 commented 6 years ago

step1: open command line (windows users), open the folder which contains setup.py (e.g. cd PRML-master). step2: python setup.py build step3: python setup.py install

githubWangHC commented 5 years ago

t

step1: cd PRML-master). step2: python setup.py build step3: python setup.py install

step4: cd notebooks step5: ipython notebook ch02_Probability_Distributions.ipynb it still report error: ImportError: No module named 'prml'

vonshareen commented 5 years ago

I attempt to run the code on my laptop as following steps: step1: cd PRML-master). step2: python3 setup.py build step3: python3 setup.py install step4: cd notebooks step4: ipython3 notebook ch01_introduction.ipynb there is no response with [*]

claire-caicai commented 2 years ago

Can Mac users offer some guideline?

said-ml commented 8 months ago

clone the repository on you terminal commad of you IDE , run the following code git clone https://github.com/ctgk/PRML if you want to work online check out the link https://colab.research.google.com/drive/1OtBevAIJZsm-kZOjS_G-z7Czc3T6xHYe#scrollTo=U-pTAGoXla5e