.
Thanks,
--Hoyt
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoy...@gmail.com
++
___
NumPy-Discussion
, I don't know if I'm an expert in this area, but I rub
shoulders with a few and I'm glad to be of help.
-- Hoyt
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoy...@gmail.com
) has solvers for this problem and
has python bindings. It's under the boost license (is that ok?). It
might be a bit heavyweight for this, though, but it's great software.
-- Hoyt
+ Hoyt Koepke
+ University of Washington Department of Statistics
of implementations out there, as it's often a
standard coding project in undergrad algorithms courses.
http://en.wikipedia.org/wiki/Hungarian_algorithm has links to a few.
-- Hoyt
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http
be coded up
efficiently in a few hundred lines of code.
Hope that answers your questions :-).
--Hoyt
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoy...@gmail.com
a patch together for the distutils. However, I'd want
someone to review it since I'm not that confident in my knowledge of
the distutils code. I can also try to turn this into a more complete
description for the wiki.
-- Hoyt
+ Hoyt Koepke
wrong there?
Thanks!
-- Hoyt
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoy...@gmail.com
++
setupenv.sh
Description: Bourne shell script
the existing python
representations of the matlab objects. Discussion/comments on this
point are welcome.
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoy...@gmail.com
to my real work.
-- Hoyt
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoy...@gmail.com
++
___
NumPy
, 2011 at 2:30 PM, Pauli Virtanen p...@iki.fi wrote:
On Fri, 25 Mar 2011 13:46:41 -0700, Hoyt Koepke wrote:
[clip]
Also, I could still not get the CloughTocher2DInterpolator to not
segfault.
Backtrace would be useful here. It's probably best to recompile with
-O0 and some debug flags enabled
something could have gone wrong?
Thanks!
-- Hoyt
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoy...@gmail.com
++
build.log.gz
Description: GNU
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoy...@gmail.com
++
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http
what I was hoping for. I assume
in my case, I just need __array_priority__ 10 to gain priority over
a matrix (from reading
http://docs.scipy.org/doc/numpy/reference/arrays.classes.html). Is
that correct?
Thanks!
--Hoyt
+ Hoyt Koepke
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoy...@gmail.com
++
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org
at
optimizing that kind of thing too.
--Hoyt
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoy...@gmail.com
afterwards.
Quick and dirty, but should work.
--Hoyt
--
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ hoy...@gmail.com
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
--
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http
that it doesn't hang. I still get a
number of test failures, however (build + test logs attached).
Thanks a lot for the help!
--Hoyt
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ [EMAIL
-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
--
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ [EMAIL PROTECTED
, but they don't seem to be at first glance.
I've attached the full log. If there is anything more you want me to
do with this, I'd be happy to.
Thanks!
--Hoyt
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http
Sorry;
I also added '-fPIC' to the compile flags, though it may work without
having it there. I just got errors related to not having it and so
threw it at everything...
--Hoyt
On Wed, Nov 19, 2008 at 11:41 PM, Hoyt Koepke [EMAIL PROTECTED] wrote:
Attached.
I had a bunch of issues getting
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
--
+++
Hoyt Koepke
UBC Department of Computer Science
http://www.cs.ubc.ca/~hoytak/
[EMAIL PROTECTED
Excellent; thank you -- I will test it out soon.
-- Hoyt
On Sat, Oct 25, 2008 at 2:57 AM, David Cournapeau [EMAIL PROTECTED] wrote:
On Sun, Oct 19, 2008 at 7:57 PM, David Cournapeau [EMAIL PROTECTED] wrote:
The trunk requires some changes which are not released yet. It will be
in the next
Hello,
I'm trying to install the latest numpy using setupscons.py, but it
gives me an error that I can't track down. It's in the latest numpy
release (5946). with the latest numpyscons from the 0.9.3 branch.
Here's the last part of output:
is bootstrapping ? True
Executing scons command (pkg
a pointer as
to what it is?
Thanks in advance,
Matt
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
--
+++
Hoyt Koepke
UBC Department
--
+++
Hoyt Koepke
UBC Department of Computer Science
http://www.cs.ubc.ca/~hoytak/
[EMAIL PROTECTED]
+++
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy
Virtanen
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
--
+++
Hoyt Koepke
UBC Department of Computer Science
http://www.cs.ubc.ca/~hoytak
,:] and theta[1-curidx] with
theta[1-curidx, :]. (I may have missed some others.)
weave.blitz is currently limited to just array operations... it
doesn't really support the numpy functions.
Hope that helps a little
-- Hoyt
--
+++
Hoyt Koepke
UBC Department of Computer
, :])
wv.blitz(theta[curidx, :] = expfac_theta * theta[2-curidx] -
(1-expfac_theta))
idx_spk = np.where(v = theta)
S[n,idx_spk] = 1
theta[curidx, idx_spk] += b
# Flop to handle previous stuff
curidx = 2 - curidx
--
+++
Hoyt Koepke
UBC Department
then there is no copying.
What am I missing?
Actually, I think you are correct. My bad. I was mainly thinking in
terms of weave.blitz, where it would make a difference, then
translating back...
--Hoyt
+++
Hoyt Koepke
UBC Department of Computer Science
http://www.cs.ubc.ca
and then update the others only if the row you're updating has that
minimum value in it. Then, when scanning for the min dist, you only
need to scan O(n) rows.
Sorry, let me clarify -- Update the entries corresponding to entries
in the row you're updating if they are the same as the
is the distance matrix.
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
--
+++
Hoyt Koepke
UBC Department of Computer Science
http
-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
--
+++
Hoyt Koepke
UBC Department of Computer Science
http://www.cs.ubc.ca/~hoytak/
[EMAIL PROTECTED
report?
--Hoyt
On Mon, Apr 28, 2008 at 11:51 PM, Charles R Harris
[EMAIL PROTECTED] wrote:
On Tue, Apr 29, 2008 at 12:28 AM, Hoyt Koepke [EMAIL PROTECTED] wrote:
Hello,
I have a quick question that I'm hoping will improve my numpy
understanding. I noticed some behavior when using
/numpy-discussion
--
+++
Hoyt Koepke
UBC Department of Computer Science
http://www.cs.ubc.ca/~hoytak/
[EMAIL PROTECTED]
+++
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http
.
--Hoyt
On Mon, Apr 28, 2008 at 8:29 AM, Hoyt Koepke [EMAIL PROTECTED] wrote:
I may not understand what you are asking, Rich, but I'm not sure I
agree with Alan. A Gaussian fit to data x should fit exactly as well
as data fit to ax, a 0, just with a variance a^2 times the original.
The only
--
+++
Hoyt Koepke
UBC Department of Computer Science
http://www.cs.ubc.ca/~hoytak/
[EMAIL PROTECTED]
+++
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman
/index.html
[2] http://www.riverbankcomputing.co.uk/sip/index.php
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
--
+++
Hoyt Koepke
UBC
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
--
+++
Hoyt Koepke
UBC Department of Computer Science
http://www.cs.ubc.ca/~hoytak/
[EMAIL PROTECTED
In [1]: import numpy
In [2]: numpy.info('eigvals')
*** Found in numpy.linalg ***
eigvals(a)
Fair enough Don't know why I missed that, prob relied too much on
Google search :-)
Having it as part of iPython does make sense.
--Hoyt
___
If the rest of the matrix is already zeros and memory wasn't a
problem, you could just use
A_sym = A + A.T - diag(diag(A))
If memory was an issue, I'd suggest weave.inline (if that's a viable
option) or pyrex to do the loop, which would be about as fast as you
could get.
--Hoyt
On Wed, Mar
Try
result = A[1:] - A[:-1]
--Hoyt
On Fri, Mar 21, 2008 at 7:43 PM, Chris Withers [EMAIL PROTECTED] wrote:
Hi All,
Say I have an array like:
measurements = array([100,109,115,117])
What do I do to it to get:
array([9, 6, 2])
Is the following really the best way?
result =
This should be a really quick question. Is a RandomState object
thread safe? I'm wanting to use a common RandomState object in a
multithreaded program, and I need to know if it's necessary to protect
it with a lock (which wouldn't be difficult).
Thanks!
--Hoyt
Okay, thanks! I won't be using the multivariate_normal function in my
code, so this should work fine.
--Hoyt
On Tue, Mar 11, 2008 at 3:00 PM, Robert Kern [EMAIL PROTECTED] wrote:
On Tue, Mar 11, 2008 at 4:18 PM, Hoyt Koepke [EMAIL PROTECTED] wrote:
This should be a really quick question
I would definitely suggest using scipy's weave.inline for this. It
seems like this particular function can be translated into C code
really easily, which would give you a HUGE speed up. Look at some of
the examples in scipy/weave/examples to see how to do this. The numpy
book also has a section
45 matches
Mail list logo