Tagged Questions
-2
votes
1answer
70 views
Separating signal chunks, better algorithm desired
This is my current challenge. I am looking for a good algorithm.
http://i.stack.imgur.com/Q6b9z.gif
from 0 to about 1480 you have values below 100. My goal is to separate those two big areas of ...
23
votes
8answers
2k views
Is the algorithm more important than the programming language?
During the current (2013) Google Code Jam contest, there was a problem that took C++ and Java people 200+ lines of code as compared to Python people that solved the same problem only using 40 lines of ...
5
votes
5answers
445 views
Fastest way to find the closest point
I have a list in Python 2.7 of about 10000 point co-ordinates, like
[(168, 245), (59, 52), (61, 250), ... (205, 69), (185, 75)]
Is there a faster way to search for all the points in a bounding box, ...
3
votes
1answer
141 views
Implementing Glicko Rating in Python
Recently, I've been trying to implement some working version of the Glicko Rating System for fun.
However, I fail to understand how to programmatically isolate R in Step 2. As you can see R appears ...
6
votes
1answer
171 views
Algorithms to Determine How Much A Factor Contributes to A Total Value
Lets say that I have hundreds/thousands of objects(entries) in a database and each object contains 10 attributes. I have a way to quantitatively measure each attribute where a higher number implies ...
20
votes
3answers
712 views
How do I express subtle relationships in my data?
"A" is related to "B" and "C". How do I show that "B" and "C" might, by this context, be related as well?
Example:
Here are a few headlines about a recent Broadway play:
David Mamet's Glengarry ...
8
votes
10answers
1k views
Preferring Python over C for Algorithmic Programming
I've been studying a bit of algorithms and have been looking at sites like SPOJ.pl TopCoder etc. I've seen that programmers prefer C or C++ usually for most algorithmic programming contests.
Now ...
7
votes
7answers
682 views
What would be an appropriate algorithm to factorise numbers in the range of a few billion?
I'm learning Python at the moment and to give me reasons to apply what i'm learning I'm having a crack at some of the problems on Project Euler
I'm currently on number 3, which is to determine the ...
6
votes
2answers
184 views
What are the common techniques to handle user-generated HTML modified differently by different browsers?
I am developing a website updater. The front end uses HTML, CSS and JavaScript, and the backend uses Python.
The way it works is that <p/>, <b/> and some other HTML elements can be ...
10
votes
2answers
286 views
How to select a most probable option from the list based on user text Input
I am working over a OCR Application where I need to select a option based on user text input.
Ex:
Available Options:
["python", "ruby", "java", "clojure", "haskell"]
Input: kava
Output: java
Input: ...
3
votes
3answers
607 views
Parsing scripts that use curly braces
To get an idea of what I'm doing, I am writing a python parser that will parse directx .x text files.
The problem I have deals with how the files are formatted. Although I'm writing it in python, I'm ...
2
votes
4answers
1k views
What algorithms would be useful for designing a stock market simulator?
We are in the process of building a stock market simulation game. The frontend design is ready but we are clueless about how exactly the back-end algorithms are to be designed.
What algorithms should ...
16
votes
9answers
3k views
Is it essential to learn algorithms to be a real programmer?
I'm a PHP programmer, and until now I have not needed to learn algorithms...
Now I'm start learning Python (a real programming language), because I need to use matplotlib. Does it make sense to start ...

