Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #52306

Re: PEP 450 Adding a statistics module to Python

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <oscar.j.benjamin@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'root': 0.05; 'subject:Python': 0.06; '*not*': 0.07; 'subject:PEP': 0.07; 'x86': 0.07; 'methods,': 0.09; 'subject:module': 0.09; 'cc:addr:python- list': 0.11; 'atlas': 0.16; 'benjamin': 0.16; 'cleanly': 0.16; 'fallback': 0.16; 'iirc': 0.16; 'numerically': 0.16; 'optimised': 0.16; 'roy': 0.16; 'subject:Adding': 0.16; 'ubuntu,': 0.16; 'ubuntu.': 0.16; 'unavailable': 0.16; 'undesirable': 0.16; 'appropriate': 0.16; 'wrote:': 0.18; 'library': 0.18; 'work,': 0.20; 'preferred': 0.22; 'separate': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; "aren't": 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; "i've": 0.25; 'source': 0.25; 'possibly': 0.26; 'certain': 0.27; 'header:In-Reply-To:1': 0.27; 'point': 0.28; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'easier': 0.31; 'libraries': 0.31; 'operations': 0.35; 'point.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'accuracy': 0.36; 'ubuntu': 0.36; 'method': 0.36; 'should': 0.36; 'generic': 0.38; 'others.': 0.38; 'use.': 0.39; 'sure': 0.39; 'enough': 0.39; 'even': 0.60; 'skip:u 10': 0.60; 'easy': 0.60; 'free': 0.61; 'august': 0.61; 'providing': 0.61; 'kind': 0.63; 'provide': 0.64; 'smith': 0.68; 'default': 0.69; 'article': 0.77; 'apt-get': 0.84; 'oscar': 0.84; 'proves': 0.84; 'defeat': 0.91; 'differences': 0.93; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=HhUawy/54md++DqknMTY8g3/G9RJYx890Pj+T1Gd9FU=; b=zURlgjrmmLpD0NY8GCie2SY4JKK20lCWLWB7Pf0lqHcwB/owr3dzYY4t81xF63MazN kU0nvtIH8ZIg+QhJgxQ87TBz5nB4sBe5vFEuwR3LrRWitYuu5rFnKyNFPUEoL1mnBIbS xzmAeYO+L5qpC5t3yrqCd08514yhrB3IfbWyI7wzuX0hHqsUwzpXmXEt77z2DtszXPkO 4GFhRaYImVYpyZR9DZIxP2LHBwXudAlXS7cjiLoPaA1wzvDkJOQltrzPmmP3eRXFAo/t PK0qctuyAws14fV8Nf5Ti6IqJkSjWl7Ivp9kdZjoWy7jXWi/2A4Q+YR/py4vtwY6aljl gk0A==
X-Received by 10.52.24.111 with SMTP id t15mr6847844vdf.60.1376140653270; Sat, 10 Aug 2013 06:17:33 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <roy-E94514.08431810082013@news.panix.com>
References <520592f9$0$30000$c3e8da3$5496439d@news.astraweb.com> <mailman.417.1376104455.1251.python-list@python.org> <roy-AC630E.07502310082013@news.panix.com> <mailman.425.1376137459.1251.python-list@python.org> <roy-E94514.08431810082013@news.panix.com>
From Oscar Benjamin <oscar.j.benjamin@gmail.com>
Date Sat, 10 Aug 2013 14:17:13 +0100
Subject Re: PEP 450 Adding a statistics module to Python
To Roy Smith <roy@panix.com>
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.426.1376140994.1251.python-list@python.org> (permalink)
Lines 35
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1376140994 news.xs4all.nl 15988 [2001:888:2000:d::a6]:35829
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:52306

Show key headers only | View raw


On 10 August 2013 13:43, Roy Smith <roy@panix.com> wrote:
>
> In article <mailman.425.1376137459.1251.python-list@python.org>,
>  Oscar Benjamin <oscar.j.benjamin@gmail.com> wrote:
>
>> You should use apt-get for numpy/scipy on Ubuntu. Although
>> unfortunately IIRC this doesn't work as well as it should since Ubuntu
>> doesn't install the appropriate BLAS/LAPACK libraries by default
>> (leaving you with numpy's fallback libraries).
>
> That really kind of proves my point.  It's *not* easy to install.
> Theres' a choice of methods, some of which work in some environments,
> some of which work in others.  And even if apt-get is the preferred
> install method on Ubuntu, it's a method which is unavailable to people
> without root access (and may be undesirable if you rely on virtualenv to
> keep multiple projects cleanly separated).
>
> And, what happens if you don't have the right libraries?  Do you end up
> with an install which is missing some functionality, or one where all
> the calls work, but they're slower, or numerically unstable, or what?

AFAIK not having separate BLAS/LAPACK libraries just means that
certain operations are a lot slower. If there are differences in
accuracy then they aren't significant enough that I've noticed.

I think that the reason Ubuntu doesn't install them by default is
because it's not sure which ones you want to use. Possibly the best
free setup comes from using ATLAS but this is optimised in a
CPU-specific way at build time. Ubuntu doesn't provide binaries for it
as using generic x86 executables would defeat much of the point of the
library (they do make it a lot easier by providing a source package
though).


Oscar

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PEP 450 Adding a statistics module to Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-10 01:10 +0000
  Re: PEP 450 Adding a statistics module to Python Skip Montanaro <skip@pobox.com> - 2013-08-09 22:14 -0500
    Re: PEP 450 Adding a statistics module to Python Roy Smith <roy@panix.com> - 2013-08-10 07:50 -0400
      Re: PEP 450 Adding a statistics module to Python Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-08-10 13:23 +0100
        Re: PEP 450 Adding a statistics module to Python Roy Smith <roy@panix.com> - 2013-08-10 08:43 -0400
          Re: PEP 450 Adding a statistics module to Python Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-08-10 14:17 +0100
  Re: PEP 450 Adding a statistics module to Python Ben Finney <ben+python@benfinney.id.au> - 2013-08-10 15:05 +1000
  Re: PEP 450 Adding a statistics module to Python Stefan Behnel <stefan_ml@behnel.de> - 2013-08-10 09:55 +0200
  Re: PEP 450 Adding a statistics module to Python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-08-10 16:19 -0400
  Re: PEP 450 Adding a statistics module to Python Skip Montanaro <skip@pobox.com> - 2013-08-11 06:50 -0500
    Re: PEP 450 Adding a statistics module to Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-11 13:33 +0000
    Re: PEP 450 Adding a statistics module to Python Roy Smith <roy@panix.com> - 2013-08-11 10:02 -0400
      Re: PEP 450 Adding a statistics module to Python duncan smith <buzzard@invalid.invalid> - 2013-08-11 16:44 +0100
  Re: PEP 450 Adding a statistics module to Python Nicholas Cole <nicholas.cole@gmail.com> - 2013-08-11 13:27 +0100
  Re: PEP 450 Adding a statistics module to Python Wolfgang Keller <feliphil@gmx.net> - 2013-08-13 20:14 +0200
    Re: PEP 450 Adding a statistics module to Python Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-08-13 19:44 +0100
    Re: PEP 450 Adding a statistics module to Python Steven D'Aprano <steve@pearwood.info> - 2013-08-14 06:21 +0000
  Re: PEP 450 Adding a statistics module to Python CM <cmpython@gmail.com> - 2013-08-14 21:26 -0700
    RE: PEP 450 Adding a statistics module to Python "Prasad, Ramit" <ramit.prasad@jpmorgan.com.dmarc.invalid> - 2013-08-16 19:17 +0000
  Re: PEP 450 Adding a statistics module to Python taldcroft@cfa.harvard.edu - 2013-08-16 08:50 -0700
    Re: PEP 450 Adding a statistics module to Python chris.barker@noaa.gov - 2013-08-16 09:31 -0700
      Re: PEP 450 Adding a statistics module to Python Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-08-16 18:15 +0100
        Re: PEP 450 Adding a statistics module to Python chris.barker@noaa.gov - 2013-08-16 12:00 -0700
          Re: PEP 450 Adding a statistics module to Python Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-08-16 20:41 +0100
      Re: PEP 450 Adding a statistics module to Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-16 18:51 +0000
        Re: PEP 450 Adding a statistics module to Python chris.barker@noaa.gov - 2013-08-16 12:48 -0700
    Re: PEP 450 Adding a statistics module to Python Roy Smith <roy@panix.com> - 2013-08-16 22:06 -0400
      Re: PEP 450 Adding a statistics module to Python Josef Pktd <josef.pktd@gmail.com> - 2013-08-17 05:13 -0700
  Re: PEP 450 Adding a statistics module to Python Jason Friedman <jsf80238@gmail.com> - 2013-08-17 21:57 -0600

csiph-web