Hi David,
Forgot to answer last week, I was under a fair bit of pressure time wise,
but thanks for your input. I sorted it all in the end and just in time, but
the main issue here was the change from numarray to numpy. Previously where
a typecode of 'f' was used in numarray, the calculation was pe
2008/9/8 xiaojf <[EMAIL PROTECTED]>:
> Hi all,
>
> I'm trying to replace matlab with python in my daily work and I have
> several problems now.
>
> 1) Which one should I use, numpy or scipy ? I found that numpy and
> scipy have many overlap functions and modules, such as numpy.linalg
> and scipy.li
On Tue, Sep 9, 2008 at 6:55 AM, Sebastian Stephan Berg
<[EMAIL PROTECTED]> wrote:
> Yeah, I memory wise it doesn't matter to sum to a double, but just
> trying around it seems that the mixing of float and double is very slow
Yes, the memory argument explains why you would float32 data vs
float64 d
You can find PLS in pychem and MDP (Modular data processing)
Nadav.
-הודעה מקורית-
מאת: [EMAIL PROTECTED] בשם Charles R Harris
נשלח: ג 09-ספטמבר-08 07:05
אל: Discussion of Numerical Python
נושא: Re: [Numpy-discussion] numpy or scipy ?
On Mon, Sep 8, 2008 at 9:03 PM, xiaojf <[EMAIL PRO
On Mon, 2008-09-08 at 17:12 -0700, Jarrod Millman wrote:
> Now that 1.2.0 is almost finalized, I wanted to ask everyone to start
> thinking about what they plan to work on for the next minor release:
> http://scipy.org/scipy/numpy/milestone/1.3.0
>
> We have been gradually moving toward a more tim
On Mon, 2008-09-08 at 22:05 -0600, Charles R Harris wrote:
>
>
> On Mon, Sep 8, 2008 at 9:03 PM, xiaojf <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm trying to replace matlab with python in my daily work and
> I have
> several problems now.
>
>
Jarrod Millman wrote:
> So if there is something that you would like to work on during this
> release cycle, please bring it up now.
Anyone want to help with improvements to fromfile() for text files?
See some notes from me about it on this list in the last month or so.
-CHB
--
Christopher B
On Mon, Sep 8, 2008 at 9:03 PM, xiaojf <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm trying to replace matlab with python in my daily work and I have
> several problems now.
>
> 1) Which one should I use, numpy or scipy ? I found that numpy and
> scipy have many overlap functions and modules, such
Hi all,
I'm trying to replace matlab with python in my daily work and I have
several problems now.
1) Which one should I use, numpy or scipy ? I found that numpy and
scipy have many overlap functions and modules, such as numpy.linalg
and scipy.linaly.
Maybe I should use numpy in some occasions a
Now that 1.2.0 is almost finalized, I wanted to ask everyone to start
thinking about what they plan to work on for the next minor release:
http://scipy.org/scipy/numpy/milestone/1.3.0
We have been gradually moving toward a more time-based release
schedule over the last several months. In this vei
On Mon, Sep 8, 2008 at 18:46, jinbo wang <[EMAIL PROTECTED]> wrote:
> Hi guys,
> I am new to python, and still wondering around to solve a simple problem.
> I have an array A, and want to save it to a binary data file with
> 'float64' and 'big-endian' specified. I searched online, but still don't
On Mon, Sep 8, 2008 at 18:45, Jarrod Millman <[EMAIL PROTECTED]> wrote:
> Hello,
>
> There have been a few updates to the 1.2.x branch that resolve some
> issues with the last release candidate:
> - a loadtxt regression: http://projects.scipy.org/scipy/numpy/changeset/5790
> - a knownfailureif d
Hi guys,
I am new to python, and still wondering around to solve a simple problem.
I have an array A, and want to save it to a binary data file with
'float64' and 'big-endian' specified. I searched online, but still don't
know how to do it. I appreciate your help!
regards,
Jinbo Wang
Hello,
There have been a few updates to the 1.2.x branch that resolve some
issues with the last release candidate:
- a loadtxt regression: http://projects.scipy.org/scipy/numpy/changeset/5790
- a knownfailureif decorator was added:
http://projects.scipy.org/scipy/numpy/changeset/5792
- and us
If numpy is installed, then f2py will be too. On the windows environment,
there is a file called f2py.py that you can call from the command line. It
should be in the 'scripts' directory of your Python installation.
Try something like this:
python c:\python25\scripts\f2py.py
(of course change to
Jarrod Millman wrote:
> However, this doesn't work for SciPy due to a mixed-EOL issue:
> https://bugs.launchpad.net/launchpad-cscvs/+bug/256050
>
> Colin Watson has recently volunteered to look into fixing this issue
> and was asking if anyone had a preference about how this should be
> solved.
I
On Mon, Sep 8, 2008 at 18:26, Blubaugh, David A. <[EMAIL PROTECTED]> wrote:
> Pauli,
>
>
> Yes, I am utilizing the windows environment. I cannot install f2py.
>
> I obtain the following error when I try to execute the setup.py file
> within the f2py folder located within the numpy master folder:
Pauli,
Yes, I am utilizing the windows environment. I cannot install f2py.
I obtain the following error when I try to execute the setup.py file
within the f2py folder located within the numpy master folder:
Warning: Assuming default configuration
(lib\parser/{setup_parser,setup}.py was not
I have been trying to get Launchpad to do continuous imports of the
SciPy subversion repository into Bazaar:
https://code.launchpad.net/~vcs-imports/scipy/trunk
This works fine for NumPy:
https://code.launchpad.net/~vcs-imports/numpy/trunk
However, this doesn't work for SciPy due to a mixed-EOL is
Robert Kern wrote:
> Hmm. That file shouldn't be there. It's not in the 1.2.0rc1 tag in SVN.
OK. I cleaned out everything numpy from site-packages, re-installed, and
presto:
Ran 1721 tests in 12.736s
OK (SKIP=1)
>>>
It must have been left over from a previous install -- I should have
though
On Mon, Sep 8, 2008 at 17:33, Christopher Barker <[EMAIL PROTECTED]> wrote:
>> Jarrod Millman wrote:
>>> Here is the universal Mac binary:
>>> https://cirl.berkeley.edu/numpy/numpy-1.2.0rc1-py2.5-macosx10.5.dmg
>
>>> Please test this release ASAP
>
> OS-X 10.4.11 dual G5 PPC
>
> looks OK to me, exc
> Jarrod Millman wrote:
>> Here is the universal Mac binary:
>> https://cirl.berkeley.edu/numpy/numpy-1.2.0rc1-py2.5-macosx10.5.dmg
>> Please test this release ASAP
OS-X 10.4.11 dual G5 PPC
looks OK to me, except:
ERROR: Failure: ImportError (No module named scipy)
-
Yeah, I memory wise it doesn't matter to sum to a double, but just
trying around it seems that the mixing of float and double is very slow
(at least on my comp) while if the starting array is already double
there is almost no difference for summing. Generally double precision
calculations should be
On Mon, Sep 8, 2008 at 15:14, Mark Miller <[EMAIL PROTECTED]> wrote:
> Just for my own benefit, I am curious about this.
>
> I am running into problems because I need to archive the result (tuple)
> returned by a numpy.where statement. Pickle does not seem to like to deal
> with numpy scalars, and
Just for my own benefit, I am curious about this.
I am running into problems because I need to archive the result (tuple)
returned by a numpy.where statement. Pickle does not seem to like to deal
with numpy scalars, and numpy's archiving functions (memmap) can't work on
the tuple that gets return
Matthieu Brucher wrote:
> People are concerned by memory consumption, so if you use more memory
> than what you think, you can encounter bugs. Least surprise is always
> better ;)
sure, but I'm a bit confused -- there is a tiny amount of memory
involved in the accumulator -- isn't it a single num
Hi,
Mon, 08 Sep 2008 13:35:20 -0400, Blubaugh, David A. wrote:
> Has anyone worked with the F2PY generator? This is something that is
> supposedly built within numpy and scipy. I was wondering if anyone has
> had any issues with this environment?
I haven't had any problems with it, and I'm usin
To All,
Has anyone worked with the F2PY generator? This is something that is
supposedly built within numpy and scipy. I was wondering if anyone has
had any issues with this environment?? It is important for my current
employment!!
Thanks,
David Blubaugh
This e-mail transmission contains
Damian Eads wrote:
> Emanuele Olivetti wrote:
>> ...
>> [*] : ||x - x'||_w = (\sum_{i=1...N} (w_i*|x_i - x'_i|)**p)**(1/p)
>
> This feature could be implemented easily. However, I must admit I'm not
> very familiar with weighted p-norms. What is the reason for raising w
> to the p instead of w_i
Emanuele Olivetti wrote:
> Hi,
>
> I'm trying to compute the distance matrix (weighted p-norm [*])
> between two sets of vectors (data1 and data2). Example:
>
> import numpy as N
> p = 3.0
> data1 = N.random.randn(100,20)
> data2 = N.random.randn(80,20)
> weight = N.random.rand(20)
> distance_mat
30 matches
Mail list logo