Search Mailing List Archives
[farmshare-discuss] Problem submitting python code
aseishas at stanford.edu
Wed Jun 7 12:37:51 PDT 2017
The version of python-sklearn on barley differed from that on corn, which is the latest currently available (0.18.1) from the NeuroDebian repository. I’m updating the package on barley now, but please note that you can install and upgrade Python packages yourself, in your home directory, without waiting for system packages to be updated:
pip install --user --upgrade scikit-learn
Research Computing Specialist
Stanford | University IT
aseishas at stanford.edu<mailto:aseishas at stanford.edu> · 650.725.7490<tel:6507257490>
On Jun 7, 2017, at 11:58 AM, Enguerrand Marie Yves Nicolas Horel <ehorel at stanford.edu<mailto:ehorel at stanford.edu>> wrote:
I tried to submit a python code that is running well on my computer on barley and I got the following error message:
Traceback (most recent call last):
File "testDerivatives.py", line 40, in <module>
mlp_boot = neural_network.MLPRegressor(hidden_layer_sizes=(30,20), activation='logistic', solver='adam',
AttributeError: 'module' object has no attribute 'MLPRegressor'
It seems that the sklearn python module that contains the object MLPRegressor is not up to date.
farmshare-discuss mailing list
farmshare-discuss at lists.stanford.edu<mailto:farmshare-discuss at lists.stanford.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the farmshare-discuss