-
I am trying to use differential evolution for a problem where the function to minimize is of the form f(x,p) where x is the vector of constrained variables to change during evolution to optimize f, an…
-
The regexp below works with rstr.xeger but with xeger it raises "KeyError: CATEGORY_DIGIT".
In [44]: re = r'(1[0-2]|0[1-9])(:[0-5]\d){2} (A|P)M'
In [45]: rstr.xeger(re)
Out[45]:…
-
Currently if you want to remove all messages which where delivered you need todo first a `xinfo` to get all groups. Get from every group the `last-delivered-id` and use the oldest one to do a xtrim on…
-
```
Not sure if this is already doable, but some docs on that usage case would be
great. I.e like the
scipy-cluster vq function, given a feature vector which cluster does it fall in.
Thank,
Loki
``…
-
Hi,
while calculating covariance matrix in logs, i have modified the **_reestimateMixtures()** method in the file **_ContinuousHMM.py** as follows.
` numer = numpy.matrix(numpy.zero…
-
```
What steps will reproduce the problem?
import PyV8
import eventlet
class Global(PyV8.JSClass):
def sleep(self, seconds):
eventlet.sleep(seconds)
def run(n):
with PyV8.JSContext(G…
-
```
What steps will reproduce the problem?
import os, gc
import PyV8
def get_mem():
a = os.popen('ps -p %d -o %s | tail -1' % (os.getpid(),"vsize,rss,pcpu")).read()
a = a.split()
return (…
-
Nacho,
One things that would be helpful would be if for each async command, we were returned the sequence number used to send the command. While I can't build my callback functions directly with the …
-
```
What steps will reproduce the problem?
import os, gc
import PyV8
def get_mem():
a = os.popen('ps -p %d -o %s | tail -1' % (os.getpid(),"vsize,rss,pcpu")).read()
a = a.split()
return (…
-
```
What steps will reproduce the problem?
import PyV8
import eventlet
class Global(PyV8.JSClass):
def sleep(self, seconds):
eventlet.sleep(seconds)
def run(n):
with PyV8.JSContext(G…