r region. The
function you want is scipy.stats.mvn.mvndst(). See the FORTRAN source for the
arguments:
https://github.com/scipy/scipy/blob/master/scipy/stats/mvndst.f#L78-L118
You will have to call this once for each Gaussian component in the mixture and
then do the appropriately-weighted sum.
-
cibility problem ("this").
> by encoding thread identifiers into
> the charcteristic polynomials in such a way that they are "relatively prime
> to each other". That means that each thread gets an independent stream of
> random numbers. Since there is one Mersenne Twi
ns as
> the state is smaller than MT (a key per thread + a counter) and with
> the inclusion of such functions in current processors, you get values
> faster than MT.
--
Robert Kern
--
Start Your Social Networ
pplication.
It looks like liblinear just uses rand() to do Fisher-Yates shuffles
in some of its coordinate descent solvers. I *suspect* that
independence is not a strictly necessary property here, but
reproducibility is.
--
Robert Kern
ur slide
(anyone getting your slide PDFs will thank you for it anyways), and I
think you will have satisfied the desires of the authors when they
contributed them under the BSD license (n.b. I am not one of them, so
take that for what it
On Mon, Dec 2, 2013 at 3:21 PM, Nelle Varoquaux
wrote:
>
> On 2 December 2013 16:11, Gael Varoquaux
wrote:
> > On Mon, Dec 02, 2013 at 02:50:45PM +0000, Robert Kern wrote:
> >> > +1. "Import *" is a really really bad habit. And hacked up
interactive
> &
> proper and find that Python is not very systematic in what it does.
I know you are addressing a comment from the original proposal, but I think
these arguments are in *favor* of the proposal, in general. "api" modules
are very useful without "import *". Proper use of
ould you handle this case?
Check .f_contiguous and .c_contiguous. If neither is True, use
np.ascontiguousarray() to get a C-contiguous array. Or np.asfortranarray()
to get a Fortran-contiguous array if that's more convenient. np.asarray()
will not ensure either contiguity, just ndarray-nes
onsider any program broken that doesn't grok it.
Setting aside the editor issue, the actual technical problem is that you
are using UTF-8 characters in byte string literals rather than unicode
literals for the docstrings. If you used unicode literals (u""" """),
MATLAB(TM) Signal Processing
Toolbox(TM) _Learning Toolbox_.
Good luck in your search.
--
Robert Kern
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The pl
t (where the local
> gradients are aggregated, a gradient step taken on the master and the weight
> vector rebroadcast) - see
> http://faculty.utpa.edu/reillycf/courses/CSCI6175-F11/papers/nips2010mannetal.pdf
> for som
ested eye on the Spark project for a while
now. Can you share any sklearn+Spark examples that you've worked up so
far?
--
Robert Kern
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows
to store data, thought I never had problems on my personal computers.
> Saving as txt is more reliable.
The NPY file format only uses pickle for object arrays, which this
isn't. Otherwise, it records floats in standard IEEE-754 binary format
with enough header information to reconstruct i
ely accepted as a legal practice, at least in the US, is
to split up into two teams: one that reads the original software and
writes documentation and test cases and one that takes the
documentation and tests to write the new implementation.
--
Robert Kern
--
variance itself, in order to get
unit variance. Remember that variance has units of [data]**2 not
[data]. Whether you treat that square root as a separate parameter
with an estimator that has properties worth caring about (like
biasedn
umpy, "ddof", is somewhat cryptic,
> though.
Sorry about that. All of the less cryptic choices were lies.
--
Robert Kern
--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, up
On Sat, Oct 27, 2012 at 10:39 PM, Joseph Turian wrote:
> How does jnius compare with jpype?
It isn't dead, mostly.
More seriously, with active developers and Cython underpinnings, they
might accept some PRs to add efficient numpy support.
--
Rob
You may also want to consider jnius:
http://pypi.python.org/pypi/jnius/
--
Robert Kern
--
WINDOWS 8 is here.
Millions of people. Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your
On Tue, Oct 23, 2012 at 10:18 PM, didier vila wrote:
> All
>
> the website of Scikit Learn doesn t work. Is it normal ?
Is it hosted on Sourceforge? All Sourceforge-hosted project websites
are down for me right now.
--
Ro
asymptotically closer to the "sill" value (the prior
variance over the whole domain, or the uncertainty of a point
infinitely far away from point X given the value at point X). The
variogram can be estimated from the data, and one can use empirical
variograms more or less directly. It's a bit
++ project) to use
Jython. This should be fixable by writing a C++->Python
embedding/wrapping.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
ccelerate
framework is just an old version ATLAS with the serial numbers filed
off (literally; they removed some of the APIs that identify the
specific version of ATLAS used). I don't think they've updated it
particularly vigorously in recent years, but I could be wrong.
--
Robert Kern
"I
On Wed, Oct 19, 2011 at 22:48, Gael Varoquaux
wrote:
> On Wed, Oct 19, 2011 at 10:43:52PM +0100, Robert Kern wrote:
>> I recommend Tempita, a tiny but well-featured templating engine that
>> can be dropped into your codebase:
>
>> http://pythonpaste.org/tempita/
>
umpy has a similar mechanism, though probably not as pretty.
> It can be found in numpy.distutils.conv_template. It's very rough, but it
> may suit our needs without adding a dependency.
I recommend Tempita, a tiny but well-featured templating engine that
can be dropped into your codebase:
http://pythonpaste
as talking about
fixing the example to run correctly under Windows. That's what I meant
about it being a teaching opportunity; the example should show how to
correctly structure a script to use a parallel grid search on all
platforms.
I would additionally suggest that the test-running script
On Tue, Sep 20, 2011 at 02:49, Olivier Grisel wrote:
> 2011/9/20 Robert Kern :
>> The fix is straightforward on sklearn's part: move the code into a
>> function and call that function under an "if __name__ == '__main__':"
>> test. Or just move eve
ing at the top level, all of the child
processes will execute the same code as if they were the main process
and creating an explosion of processes.
The fix is straightforward on sklearn's part: move the code into a
function and call that function under an "if __name__ == '__main__':&
27 matches
Mail list logo