Pattern_Recognition_School+Conf_2006:Deadline

2006-04-14 Thread heather
PATTERN RECOGNITION EVENTS THIS SUMMER, 2006
___
4TH INTERNATIONAL SUMMER SCHOOL ON PATTERN RECOGNITION (ISSPR, 2006), 23-28 
JULY, UK
WWW.PatternRecognitionSchool.com
The 4th International Summer School on Pattern Recognition will be organised at 
the University of Plymouth, UK (23-28 July, 2006). The  school programme is 
listed below. Please pass on this email to your interested colleagues and 
students. This is a  great summer school which I would recommend for everyone 
to attend. 
DEADLINE: Register BEFORE 01 MAY, 2006 through the website to get a discount on 
the fee. More than 100 participants in 2005!

Speakers at the Summer School (ISSPR'2006)
Dr. Sam Roberts Mathworks, UK (Introduction to Matlab)
Prof. Wojtek Krzanowski University of Exeter, UK (Multivariate Statistics: Data 
Description)
Dr. Mike Tipping, Microsoft Research, UK (Bayesian Pattern Recognition: 
Principles and Practice)
Prof. Chris Bishop, Microsoft Research, UK (Latent Variables, Mixture Models 
and EM)
Dr. Richard Everson, University of Exeter, UK (Dimensionality Reduction)
Dr. Peter Tino  University of Birmingham, UK (Probabilistic framework for 
model-based topographic map formation)
Prof. Chris Williams, University of Edinburgh, UK (Neural Networks and Kernel 
Machines) 
Dr. Colin Campbell, University of Bristol, UK (Support Vector Machines and 
Kernel Methods: An Introduction and  Review)
Prof. John Shawe- Taylor, University of Southampton, UK (Kernel Based Methods)
Dr. Steve Gunn, University of Southampton, UK (Matlab for Support Vector 
Machines)
Prof. Mahesan Niranjan, University of Sheffield, UK (Classifier Performance 
Particle Filters for Tracking and  Sequential Problems) 
Dr. Andrew Webb Qinetiq, UK (Decision TreesData Clustering)
Prof. Xin Yao, University of Birmingham, UK (A Gentle Introduction to 
Evolutionary Computation; ATutorial on  Evolutionary Multi-objective 
Optimisation) 
Dr. Richard Deardon, University of Birmingham, UK (Sequential Decision Making; 
Markov Chains Monte Carlo Methods)
Dr. Jeremy Wyatt, University of Birmingham, UK (An Introduction to 
Reinforcement Learning)
Dr. Ludmila Kuncheva, University of Wales, UK   (Classifier Combination)
Prof. Joseph Kittler, University of Surrey, UK  (Feature Selection and 
Extraction)
Prof. Sameer Singh, Loughborough University, UK (Multiresolution Pattern 
Recognition)
Prof. Susan Craw, Robert Gordon University, UK  (Case Based Reasoning)
SUPPORTED BY: Microsoft, Springer, British Computer Society, and Mathworks. 
___
IEEE CVPR CONFERENCE
www.CVPR.org/2006
17-22 June, 2006
___
18th INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION 
www.comp.hkbu.edu.hk/~icpr06
August 20-24, 2006
__
ICIAR CONFERENCE
www.iciar.uwaterloo.ca/iciar06
18-20 September, 2006
__
Please see the event websites to get FULL information.
Compiled by: Dr. Heather McLelland
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: How do you copy files from one location to another?

2011-06-17 Thread Heather Brown

On 01/-10/-28163 02:59 PM, John Salerno wrote:

Based on what I've read, it seems os.rename is the proper function to
use, but I'm a little confused about the syntax. Basically I just want
to write a simple script that will back up my saved game files when I
run it. So I want it to copy a set of files/directories from a
location on my C:\ drive to another directory on my E:\ drive. I don't
want to rename or delete the originals, just move them. I also want
them to automatically overwrite whatever already happens to be in the
location on the E:\ drive.

Is os.rename the proper function for this? Mainly I was because the
Module Index says this:

"On Windows, if dst already exists, OSError will be raised even if it
is a file.."

so it sounds like I can't move the files to a location where those
file names already exist.



You keep saying 'move' when you want 'copy.'  Even if os.rename would 
work across drives (it doesn't, on Windows), it still would be removing 
the original.  Similarly with move.


As Greg mentioned, you want shutil.copy(), not move nor rename.

DaveA

--
http://mail.python.org/mailman/listinfo/python-list


Re: Re: Python fails on math

2011-02-25 Thread Heather Brown

On 01/-10/-28163 02:59 PM, Grant Edwards wrote:

On 2011-02-25, Steven D'Aprano  wrote:


C double *variables* are, but as John suggests, C compilers are allowed
(to my knowledge) to keep intermediate results of an expression in the
larger-precision FPU registers. The final result does get shoved back
into a 64-bit double when it is at last assigned back to a variable or
passed to a function that takes a double.


So...

(1) you can't rely on it, because it's only "allowed" and not mandatory;

(2) you may or may not have any control over whether or not it happens;

(3) it only works for calculations that are simple enough to fit in a
 single expression; and


  



In 1975, I was writing the arithmetic and expression handling for an 
interpreter.  My instruction primitives could add two bytes;  anything 
more complex was done in my code.  So I defined a floating point format 
(decimal, of course) and had extended versions of it available for 
intermediate calculations.  I used those extended versions, in logs for 
example, whenever the user of our language could not see the 
intermediate results.


When faced with the choice of whether to do the same inside explicit 
expressions, like  (a*b) - (c*d), I deliberately chose *not* to do such 
optimizations, in spite of the fact that it would improve both 
performance and (sometimes) accuracy.


I wrote down my reasons at the time, and they had to do with 'least 
surprise."  If a computation for an expression gave a different result 
than the same one decomposed into separate variables, the developer 
would have a hard time knowing when results might change, and when they 
might not.  Incidentally, the decimal format also assured "least 
surprise," since the times when quantization error entered in were 
exactly the same times as if one were doing the calculation by hand.


I got feedback from a customer who was getting errors in a complex 
calculation (involving trig), and wanted help in understanding why. 
While his case might have been helped by intermediate values having 
higher accuracy, the real solution was to reformulate the calculation to 
avoid subtracting two large numbers that differed by very little.  By 
applying a little geometry before writing the algorithm, I was able to 
change his accuracy from maybe a millionth of an inch to something 
totally unmeasurable.


I still think the choice was appropriate for a business language, if not 
for scientific use.


DaveA
--
http://mail.python.org/mailman/listinfo/python-list


Re: Finding keywords

2011-03-08 Thread Heather Brown

On 01/-10/-28163 02:59 PM, Cross wrote:

Hello

I have got a project in which I have to extract keywords given a URL. I
would like to know methods for extraction of keywords. Frequency of
occurence is one; but it seems naive. I would prefer something more
robust. Please suggest.

Regards
Cross

--- news://freenews.netfront.net/ - complaints: [email protected] ---



The keywords are an attribute in a tag called , in the section 
called .  Are you having trouble parsing the xhtml to that point?


Be more specific in your question, and somebody is likely to chime in. 
Although I'm not the one, if it's a question of parsing the xhtml.


DaveA
--
http://mail.python.org/mailman/listinfo/python-list


Considering python - have a few questions.

2005-02-12 Thread Heather Stovold
Hi all...

I am looking at writing a little program for my own use, and probably for a
bunch of other people too, and I am trying to decide what would be the best
language to use.

I am a "retired" programmer, that started in the DOS world.  (Well, I guess
I started pre-DOS...).  I learned C++ (for DOS), and Pascal (for DOS) when I
was in school - and programmed for several years in Basic.  (Ok - it wasn't
my choice - but it was what I was hired to program in - and each single-user
license was around $7,000 - so who was I to argue!)   I later did some stuff
in Visual Basic, and did some OOP in it.

HOWEVER - I have not programmed a single darned thing for over 5 years.
And although I do remember how to program in general, I don't seem to
remember Visual Basic that well...  so I'm looking around.  (After all, If
I'm going to have to relearn a language - might as well be worth while!)

I am wondering how hard it is to do what I want in python, however.

I need to make a GUI interface.  Some of the screens need to be dynamically
created, with the screen information in a database. Included in the database
will be pictures (.gif or .jpg) that need to be displayed.  A second
database would hold the user's data.   I would also need to be able to print
reports made in a similar fashion.

I would want the program to run in Windows for sure.  If it could work on a
Mac and other systems, that would be a plus.  I would really love it to be
able to also be able to be run on the internet (allowing more than one
person access to the data), but I've never done anything other than basic
web pages with a web page editor (dreamweaver.)

btw - I have the database designed (and the program info database filled) in
Access

I don't mind working hard to learn how to do it   I just want to know if
Python is a good choice or not!

Thanks for your patience!




-- 
http://mail.python.org/mailman/listinfo/python-list


find which Python libraries are most influential in scientific research

2015-11-09 Thread Heather Piwowar
Today's scientists often turn to Python to run analysis, simulation, and other 
sciency tasks.

That makes us wonder: which Python libraries are most influential in scientific 
research? 

We just released a tool (built in Python, of course) to answer that question. 
It's called Depsy [1], it's funded by the US National Science Foundation, and 
we'd love your comments.

For more information, see our blog post [2] and paper [3].  The 
scientific/engineering tag is a great place to start exploring [4].

Heather Piwowar and Jason Priem

1. http://depsy.org
2. http://blog.impactstory.org/introducing-depsy 
3. 
https://github.com/Impactstory/depsy-research/blob/master/introducing_depsy.md
4. http://depsy.org/tag/scientific%252Fengineering
-- 
https://mail.python.org/mailman/listinfo/python-list


So many things that need to be decided....

2005-05-02 Thread Heather Stovold
Wow - deciding to program in python sure requires a lot of decisions!

So far:

I've decided on python for the programming language.
I've decided on wxpython for the GUI
I've decided on DrPython for the Editor

I still need to decide on a database   I've really only used Access,
and my SQL skills aren't that great.  It would also need to be free
Any suggestions??

Am I going to need a program/package for a report writer?  or that might
depend on the database I use?

I've never had to make so many decisions to program in my life, because I've
generally only had a couple of options, or those options were decided by
other people.

I really appreciate the help this newsgroup has provided - both for my
previous post - and for the reading of other posts I've done.   I'm sure
I'll have a million more questions soon!

Thanks for the help!

Heather




-- 
http://mail.python.org/mailman/listinfo/python-list


Re: So many things that need to be decided....

2005-05-03 Thread Heather Stovold

> > I've decided on DrPython for the Editor
>
> An editor for each language? Is that the kind of tower you get when
> you start using IDEs? I just kept right on using the same text editor
> I'd been using for the last 20 (now 30) years.

I have programmed in the past with a plain text editor too did it for
years. - but I much prefer programming with tools that have syntax coloring,
code completion, and the ability to run from the editor. Debugging tools are
a bonus too.


>
> > I still need to decide on a database   I've really only used
Access,
> > and my SQL skills aren't that great.  It would also need to be free
> > Any suggestions??
>
> Access is just a way of talking to a database. Which is what most
> Python database tools are - ways to talk to a back-end database.  If

MS Access is also a file-based relational-database program in Windows, which
you can access the database files either through the program, or the
database directly through other tools - including most MS programming
languages.

> You might be better off with something that doesn't require a separate
> server. Gadfly appears to qualify. There are probably other packages
> that give you a DB-API or SQL interace to an internal database that
> will serve your purpose.

At this point, it would be the best to not require a seperate server.  There
will be only 1 or a handful of people accessing the database at once.

> That won't depend on the database. It will depend on what you want
> your applications to do when it comes to generating reports - assuming
> you generate any at all.

Some reports are a definate requirement.


Thank you

Heather


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: So many things that need to be decided....

2005-05-03 Thread Heather Stovold
> I really don't see why you should lay everything in stone before you
> start. Things may or may not fall into place. Worry about it when it
> worries you.
>

Well, my program is going to require all these things.  Information required
to even build the screen is being stored in the database.  (That is,
information about the program is going to be in a database, not just the
user data) - so I need to determine the database.  It is a GUI program - so
I need some sort of ability to program a GUI interface, etc

Thanks




-- 
http://mail.python.org/mailman/listinfo/python-list


Re: So many things that need to be decided....

2005-05-03 Thread Heather Stovold
> My personal suggestion would be to go with SQLite because it's a
> standard database which can be used with large number of other tools and
> languages.
>
> As for report generating features, I don't know of any free report
> generators that are as easy to use like the one in Access (e.g.
> point-and-click). Same goes for GUI tools.


Thank you - I'll check them out!


-- 
http://mail.python.org/mailman/listinfo/python-list


PyRun_String does not appear to handle EInvalidOp exceptions

2005-06-06 Thread Heather Korns
Here's a snippet of code that demonstrates my problem:

  result = PyRun_String ("import math", Py_file_input, pdict,pdict);
  result = PyRun_String ("math.sqrt(-1)", Py_file_input, pdict,pdict);
  result = PyRun_String ("math.pow(2,1024)", Py_file_input,
pdict,pdict);


Other types of exceptions seem to be handled properly by PyRun_String;
however, EInvalidOp or EOverflow exceptions do not seem to be handled.
My application is unable to recover gracefully after this exception
occurs.

Has anyone else run into this problem?

Thanks.

-- 
http://mail.python.org/mailman/listinfo/python-list


python script help

2008-08-06 Thread Heather Cole
Hello all,

not sure if anyone will get this, I did register, but haven't yet received a 
confimation.

I am a 100% newbie when it comes to python script, but I think what I want to 
do is relatively straight forward. I have a table with many species and 
coordinate points, for each species, I want to make a buffer around the points, 
then generate random samples (within a polygon).

I know how to do all of these in ARCmap, but don't know how to automate it for 
my hundreds of species?

Any help or advice on how hard or easy it would be to write a script to do this 
would be greatly appreciated!

thanks!



  --
http://mail.python.org/mailman/listinfo/python-list

Re: Re: 64 bit memory usage

2010-12-09 Thread Heather Brown

On 01/-10/-28163 02:59 PM, Dennis Lee Bieber wrote:

On Wed, 8 Dec 2010 14:44:30 +, Rob Randall
declaimed the following in gmane.comp.python.general:


I am trying to understand how much memory is available to a 64 bit python
process running under Windows XP 64 bit.

When I run tests just creating a series of large dictionaries containing
string keys and float values I do not seem to be able to grow the process
beyond the amount of RAM present.

For example, on a box with 2GB RAM and 3 GB pagefile the process stalls at
around 2GB.

On another machine with 16GB RAM and 24GB pagefile the process stalls at
16GB.



Probably need to ask M$, but I can understand this behavior as a
hypothetical...

The page file can be larger than physical memory because it contains
memory "images" for multiple processes. However, all those "images" have
to map into the physically addressable memory -- so a process is likely
limited to physical memory, but you can have multiple processes adding
up to physical + pagefile in total.


It's plausible that MS did that, but it's not reasonable.  An 
application's entire data space is never in physical memory, except for 
trivial applications.  When new pages are needed, old ones are swapped 
out, in an LRU manner.  If the application is the only thing "running," 
it'll eventually be mapped into most of physical memory, but even then, 
the swapper keeps some back.


The limit in 32bit world was 4gb, not whatever RAM happened to be in the 
machine.  That limit came from the address space (or linear space, as MS 
calls it), not from the amount of RAM.  It's only in recent years that 
those numbers have tended to be close.


DaveA
--
http://mail.python.org/mailman/listinfo/python-list