Giter Site home page Giter Site logo

python 3.4 issue about elm HOT 6 OPEN

andompesta avatar andompesta commented on August 30, 2024
python 3.4 issue

from elm.

Comments (6)

kmachnicki avatar kmachnicki commented on August 30, 2024

I have also encountered the same problem while running this script with the Python 3.5, resulting in the following error:

File "/usr/lib/python3.5/site-packages/elm/elmk.py", line 489, in search_param
param_kernel=param_ranges[1])
File "/usr/lib/python3.5/site-packages/optunity/api.py", line 212, in minimize
pmap=pmap)
File "/usr/lib/python3.5/site-packages/optunity/api.py", line 245, in optimize
solution, report = solver.optimize(f, maximize, pmap=pmap)
File "/usr/lib/python3.5/site-packages/optunity/solvers/CMAES.py", line 139, in optimize
sigma=self.sigma)
File "/usr/lib/python3.5/site-packages/deap/cma.py", line 84, in init
self.dim = len(self.centroid)
TypeError: len() of unsized object

Even the provided tests crash with the same error. Unfortunately, I think that the developer is not supporting this script anymore, which is a shame.

from elm.

brunialti avatar brunialti commented on August 30, 2024

Hi. I've opened an issue for the kmaknicki error, before reading your item.
Unfortunately I'm a newby of python and I'm not able to fix it by my own.
Let me know if you have fixes... or can you suggest any other elm module (working with python 3.x.x= as well?

from elm.

kmachnicki avatar kmachnicki commented on August 30, 2024

Hello. You can, as for now, use the other Python ELM module which I have adjusted to work under Python 3: https://github.com/kmachnicki/Python-ELM

from elm.

brunialti avatar brunialti commented on August 30, 2024

Hi Kamil.

Thanks a lot. Do you have any suggestion about a primer introduction to the libs?

Roberto

Da: Kamil Machnicki [mailto:[email protected]]
Inviato: lunedì 15 agosto 2016 22.46
A: acba/elm [email protected]
Cc: roberto brunialti [email protected]; Comment [email protected]
Oggetto: Re: [acba/elm] python 3.4 issue (#1)

Hello. You can, as for now, use the other Python ELM module which I have adjusted to work under Python 3: https://github.com/kmachnicki/Python-ELM


You are receiving this because you commented.
Reply to this email directly, view it on GitHub #1 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/ABgAbIhnsvEAgK1IvfwKDVOb-IdO4Ma4ks5qgNASgaJpZM4F6vK6 . https://github.com/notifications/beacon/ABgAbFbe5fvIN2JQDjZRlytHly2Fpkc1ks5qgNASgaJpZM4F6vK6.gif

Nessun virus nel messaggio.
Controllato da AVG - www.avg.com http://www.avg.com
Versione: 2016.0.7752 / Database dei virus: 4647/12817 - Data di rilascio: 16/08/2016

from elm.

kmachnicki avatar kmachnicki commented on August 30, 2024

All documentation about the specific lib is always located with its source, and if not, you can always read the source code to check what exactly every class or function is responsible of and what parameters it expects. Tests (if any) along with the code are also a great way to check how to use the lib.

from elm.

summerCassidi avatar summerCassidi commented on August 30, 2024

Hi @kmachnicki
Can you provide an example implementing your ELM library? This will be much helpful for me as I am new in machine learning using python. How can I load a dataset using your library?

from elm.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.