[Tutor] Using the Nimblenet Library in Python 3.6
Evapcoop, Evapcoop
evapcoop.evapcoop at dana.com
Wed Apr 4 11:10:18 EDT 2018
Hello,
I am running into some trouble when trying to import certain modules; I wanted to know if it is possible to use Nimblenet and all it's associated packages with Python3.6. From what I have read, that library is compatible with Python2.7.
Some how I was able to successfully import Nimblenet on through the Conda prompt. But when I try to import some associated packages, it errors out. Here is an example:
from nimblenet.activation_functions import tanh_function
from nimblenet.learning_algorithms import scaled_conjugate_gradient
from nimblenet.cost_functions import sum_squared_error
from nimblenet.data_structures import Instance
from nimblenet.neuralnet import NeuralNet
import numpy as np
import time
import cPickle as pickle
import logging
from tabulate import tabulate
import database_operations as dbo
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-31-fdf95e07126a> in <module>()
3 from __future__ import print_function
4 from nimblenet.activation_functions import tanh_function
----> 5 from nimblenet.learning_algorithms import scaled_conjugate_gradient
6 from nimblenet.cost_functions import sum_squared_error
7 from nimblenet.data_structures import Instance
C:\Anaconda3\lib\site-packages\nimblenet\learning_algorithms\__init__.py in <module>()
1 #from generalized_hebbian import *
----> 2 from scaled_conjugate_gradient import scaled_conjugate_gradient
3 from resilient_backpropagation import resilient_backpropagation
4 from scipyoptimize import scipyoptimize
5
ModuleNotFoundError: No module named 'scaled_conjugate_gradient'
I would appreciate any help I can get!
Thank you,
Christine
________________________________
This e-mail, and any attachments, is intended solely for use by the addressee(s) named above. It may contain the confidential or proprietary information of Dana Incorporated, its subsidiaries, affiliates or business partners. If you are not the intended recipient of this e-mail or are an unauthorized recipient of the information, you are hereby notified that any dissemination, distribution or copying of this e-mail or any attachments, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender by reply e-mail and permanently delete the original and any copies or printouts.
Computer viruses can be transmitted via email. The recipient should check this e-mail and any attachments for the presence of viruses. Dana Incorporated accepts no liability for any damage caused by any virus transmitted by this e-mail.
English, Fran?ais, Espa?ol, Deutsch, Italiano, Portugu?s:
http://www.dana.com/corporate-pages/Email
________________________________
More information about the Tutor
mailing list