Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

logistic_sgd module, where to find it?

doing a deep learning tutorial and my python cannot find that module.

from logistic_sgd import LogisticRegression, load_data
ImportError: No module named logistic_sgd

How can i install it ?

like image 876
hmmmbob Avatar asked Mar 14 '23 01:03

hmmmbob


2 Answers

Download and Save logistic_sgd.py from the following link:

http://deeplearning.net/tutorial/code/logistic_sgd.py

Store it in the working directory. That's it!

like image 194
Hitanshu Tiwari Avatar answered Mar 25 '23 10:03

Hitanshu Tiwari


Actually, you should download all the code from the following link, it contains all the dependencies you need. Here is the source code: http://deeplearning.net/tutorial/code/

like image 31
Shuai.Z Avatar answered Mar 25 '23 09:03

Shuai.Z