After more than 4 years of development, we are proud to announce the
release of DEAP 1.0.0. You can download a copy of this release at the
following web page.
https://pypi.python.org/pypi/deap
DEAP (Distributed Evolutionary Algorithms in Python) is a novel evolutionary
computation framework
algorithms
using Python?
Depends on what you mean by foundational...
Since Python has dynamic lists and dictionaries, I suspect you won't
find any textbook focusing on linked-list or hashed lookup algorithms
using Python.
You can probably implement them
On Fri, 21 Sep 2012, Dennis Lee Bieber wrote:
On Fri, 21 Sep 2012 14:26:04 +0530, Mayuresh Kathe mayur...@kathe.in
declaimed the following in gmane.comp.python.general:
Is there a good book on foundational as well as advanced algorithms
using Python?
Depends on what you mean
Is there a good book on foundational as well as advanced algorithms
using Python?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, Sep 21, 2012 at 4:56 AM, Mayuresh Kathe mayur...@kathe.in wrote:
Is there a good book on foundational as well as advanced algorithms using
Python?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
There is one on Apress that I've seen
http://www.amazon.com/Python
On Fri, Sep 21, 2012 at 1:45 PM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
You can probably implement them, but they're not going to be very
efficient. (And never remove an element from the linked-list
implementation because Python would shift all the other elements, hence
your
On 09/21/2012 02:45 PM, Dennis Lee Bieber wrote:
On Fri, 21 Sep 2012 14:26:04 +0530, Mayuresh Kathe mayur...@kathe.in
declaimed the following in gmane.comp.python.general:
Is there a good book on foundational as well as advanced algorithms
using Python?
Depends on what you mean
On Fri, 21 Sep 2012 17:14:14 -0400, Dennis Lee Bieber wrote:
On Fri, 21 Sep 2012 14:07:01 -0600, Ian Kelly ian.g.ke...@gmail.com
declaimed the following in gmane.comp.python.general:
It seems to work fine to me.
You are working with dynamically allocated memory for the nodes;
I have continued my research in literature algorithms in Python. The
algorithms in Knuth's volumes 1 -- 3 either have been incorporated
into Python, or they can be easily implemented with Python. Quite as
John Nagle said here. However, the Fascicles in Vol. 4 to my opinion
contain nontrivially
carried out a search
procedure -- and found two good sources of algorithms for the Python
programmer:
1) Cormen-Leiserson-Rivest-Stein: Introduction to Algorithms, 2nd
edition, ISBN 0-262-53196-8. The 3rd edition has been published, I
don't know which one is the most recent one.
2) Atallah-Blanton
Hi everyone,
We are proud to annouce the release of DEAP 0.8, a library for doing
Distributed Evolutionary Algorithms in Python. You can download a copy
of this release at the following web page.
http://deap.googlecode.com
This release includes :
- compatibility with Python 3
On Thu, Jan 26, 2012 at 2:22 AM, Martin Schöön martin.sch...@gmail.com wrote:
On 2012-01-25, Chetan Harjani chetan.harj...@gmail.com wrote:
Thanks Alec for the link. U know I wanted to read this book by Simon
Singh - The Code Book, I hear its good.
It indeed is. I only remember one error, an
Is there any book or site on python algorithms which asks more and
teaches less, I don't want to get bored, and at the same time I want
to learn and act more. I use ubuntu. (just in case if its needed).
#ALGORITHMS
--
Chetan H Harjani
IIT Delhi
--
http://mail.python.org/mailman/listinfo/python
The thing about algorithms is they are applicable to many programming
languages (in general).
Read http://en.wikipedia.org/wiki/Turing_machine
On Wed, Jan 25, 2012 at 9:06 PM, Chetan Harjani
chetan.harj...@gmail.com wrote:
Is there any book or site on python algorithms which asks more
2012/1/25 Chetan Harjani chetan.harj...@gmail.com:
Is there any book or site on python algorithms which asks more and
teaches less, I don't want to get bored, and at the same time I want
to learn and act more. I use ubuntu. (just in case if its needed).
#ALGORITHMS
There is a Stanford online
I assume you have seen this book?
http://www.apress.com/9781430232377
Thijs
On Wed, Jan 25, 2012, at 15:36, Chetan Harjani wrote:
Is there any book or site on python algorithms which asks more and
teaches less, I don't want to get bored, and at the same time I want
to learn and act more. I
/1/25 Chetan Harjani chetan.harj...@gmail.com
Is there any book or site on python algorithms which asks more and
teaches less, I don't want to get bored, and at the same time I want
to learn and act more. I use ubuntu. (just in case if its needed).
#ALGORITHMS
--
Chetan H Harjani
IIT Delhi
Thanks Alec for the link. U know I wanted to read this book by Simon
Singh - The Code Book, I hear its good.
Thanks Nizamov for the link, I am really looking forward to join the
class, and since its free, it is totally an asset.
Yes Thijs I have seen this book, and since its such a big book, I
On 2012-01-25, Chetan Harjani chetan.harj...@gmail.com wrote:
Thanks Alec for the link. U know I wanted to read this book by Simon
Singh - The Code Book, I hear its good.
It indeed is. I only remember one error, an error every Scandinavian
would have spotted.
His book on Fermat's theorem is
Hi everyone,
We are proud to annouce the release of DEAP 0.7, a library for doing
Distributed Evolutionary Algorithms in Python.
You can download a copy of this release at the following web page.
http://deap.googlecode.com
For those who wouldn't already know about the project, it is built
Hi everyone,
We are proud to announce the first public release of EAP, a library
for doing Evolutionary Algorithms in Python. You can download a copy
of this open source project at the following web page.
http://deap.googlecode.com
EAP has been built using the Python and UNIX programming
I'm not an expert on this, but wouldn't it be more dependent on the platform
than python version? Perhaps it is Windows 7 that is very slow. Perhaps my
processor architecture. Not sure...
Here are some for 3.1.2x64
import timeit
timeit.timeit('Lock()', 'from threading import Lock')
On Mon, 28 Jun 2010 16:46:41 -0700
Zac Burns zac...@gmail.com wrote:
In my experience it is far more expensive to allocate a lock in python then
it is the types that use them. Here are some examples:
timeit.timeit('Lock()', 'from threading import Lock')
1.4449114807669048
In my experience it is far more expensive to allocate a lock in python then
it is the types that use them. Here are some examples:
timeit.timeit('Lock()', 'from threading import Lock')
1.4449114807669048
timeit.timeit('dict()')
0.2821554294221187
timeit.timeit('list()')
0.17358153222312467
On Mon, 2010-06-28 at 16:46 -0700, Zac Burns wrote:
In my experience it is far more expensive to allocate a lock in python
then it is the types that use them. Here are some examples:
timeit.timeit('Lock()', 'from threading import Lock')
1.4449114807669048
timeit.timeit('dict()')
Sure, but I think you're timing the wrong thing here. You would only
allocate the lock relatively rarely - it's the overhead of *acquiring*
the lock that's the real problem.
r...@durian:~$ python -m timeit -s from threading import Lock; l =
Lock() l.acquire(); l.release()
100
On Mon, 2010-06-28 at 18:27 -0700, Zac Burns wrote:
I've managed to avoid locking in some cases by using
dict.setdefault() as a kind of atomic test-and-set operation.
It's not a full compare-and-swap but you could implement a
simple locking scheme
Many lockless algorithms that I have looked at thusfar require a
Compare and Swap operation. Does python have an equivalent to this?
Is python high level enough that it has something better than this or
it simply doesn't need it?
Python does have a GIL, and contrary to the title, this
Many lockless algorithms that I have looked at thusfar require a
Compare and Swap operation. Does python have an equivalent to this?
Is python high level enough that it has something better than this or
it simply doesn't need it?
Python does have a GIL, and contrary to the title, this
On Mon, 2010-06-28 at 19:45 -0700, sturlamolden wrote:
Many lockless algorithms that I have looked at thusfar require a
Compare and Swap operation. Does python have an equivalent to this?
Is python high level enough that it has something better than this or
it simply doesn't need it?
On 29 Jun, 05:11, Ryan Kelly r...@rfk.id.au wrote:
Very interesting idea. Will it work if accessed through ctypes?
ticker = ctypes.c_int.in_dll(ctypes.pythonapi,_Py_Ticker)
ticker.value = 0x7fff
Or does ctypes muck with the GIL in a way that would break this idea?
Hello,
Anyone using Python for coding up genetic algorithms? If
so, would you share your favorite modules/libraries/tools?
Thanks,
Esmail
--
http://mail.python.org/mailman/listinfo/python-list
I have done something in this direction. I will be happy to share my
experience. However, my code is not generic and needs many things to be
manually introduced. My GA is standard (selection by roulette wheel or
tournament, single point cross). Let me know if you are interested!
On Wed, Apr 8,
Hello Mohammed,
Yes, that would great. While I am comfortable with GAs,
I'm still rather inexperienced with Python so seeing some
implementation examples would be very useful.
Thanks,
Esmail
--
Date: Wed, 8 Apr 2009 17:08:48 +0200
Subject: Re: genetic algorithms in Python?
From: medmedi
Esmail esmail...@gmail.com wrote:
Hello Mohammed,
Yes, that would great. While I am comfortable with GAs,
I'm still rather inexperienced with Python so seeing some
implementation examples would be very useful.
A google for 'python genetic algorithms' turns up a number
of interesting hits
Esmail wrote:
Hello,
Anyone using Python for coding up genetic algorithms? If
so, would you share your favorite modules/libraries/tools?
Search 'Python genetic algorithm' on Google or elsewhere.
--
http://mail.python.org/mailman/listinfo/python-list
R. David Murray wrote:
Esmail esmail...@gmail.com wrote:
Hello Mohammed,
Yes, that would great. While I am comfortable with GAs,
I'm still rather inexperienced with Python so seeing some
implementation examples would be very useful.
A google for 'python genetic algorithms' turns up a number
Terry Reedy wrote:
Esmail wrote:
Hello,
Anyone using Python for coding up genetic algorithms? If
so, would you share your favorite modules/libraries/tools?
Search 'Python genetic algorithm' on Google or elsewhere.
Hi Terry,
I did that first, and I came up with a number of hits. The
Is anyone aware of Python code for Optimal Control Algorithms based on
Pontryagin's Maximum Principle? Thanks in advance for any leads on this.
--
http://mail.python.org/mailman/listinfo/python-list
Not exactly but I am aware of Python code for nonlinear optimization
algorithms. Check the nlpy project at http://nlpy.sf.net It is
specifically targeted at finite-dimensional problems. However the
current trend in optimal control algorithms is to use grid-refinement
and iteratively solve
40 matches
Mail list logo