Wilson Score Confidence interval

Not sure where I got this snipplet - most likely from reddit code or discussion.

from math import sqrt

def confidence_fixed(ups, downs):
    if ups == 0:
        return -downs
    n = ups + downs
    z = 1.64485 #1.0 = 85%, 1.6 = 95%
    phat = float(ups) / n
    return (phat+z*z/(2*n)-z ...
more ...

Estimating user lifetimes with PyMC - Corrected code

I was trying to follow this post, but github gists miss few variables, correct code shall be:

import pymc as mc
import numpy as np

N=20

#create some artificial data, like the data in the figure above.
lifetime = mc.rweibull( 2, 5, size = N )
birth = mc.runiform(0, 10 ...
more ...

Amazing examples of misuse of data mining in finance

From stupid Data Mining Tricks: Overfitting S&P 500:

"Norman Bloom, no doubt a champion of all data miners, went beyond trying to predict the stock market. Instead, he used the stock market, along with baseball scores, particularly those involving the New York Yankees, to “read the mind of God ...

more ...

Many/Multi objective optimisation

Last week I went to the lecture on Evolutionary Algorithms and Multi Objective optimisation, which my friend [Dr Evan Hughes]("http://www.evanhughes.org" Dr Evan Hughes) taught as part of much larger course ("Sensors and Data fusion?"). It is very interesting course and I wish I had an opportunity ...

more ...


Test of latex plugin, Pareto front definition

Definition: We say that a vector of decision variables $ \hat x^{*} \in F$ is Pareto optimal if there does not exist another $ \hat x \in F$ such that $ f(\hat x) \le f(\hat x^{*})$ for all $ i = 1, \hdots k $ and $ f_{j}(\hat x)< f_{j}(\hat x ...

more ...





Current internet trends

Visualization


If you remember movie "Minority report", you may be delighted to know that interface featured in this movie is available for linux and mac, see demo video on http://oblong.com/ . There is an ongoing work to move this interface into wearable devices, see presentation on TED http://bit ...

more ...

RF engineering today

I have a brand new cool piece of kit Anritsu MS2691A with optional signal generator inside. Apart from playing with it for the last two weeks, we spend half of the day with my prof trying to get the thing working. You will be surprised to know that in order ...

more ...

Prototyping and testing in scientific programming

What we often do in signal processing research is called prototyping. Commonly used tools for prototyping mathematical model is Matlab and Simulink, Mathematica and similar “bricks”.

Prototyping require a lot of thought and easy writing of “throw it away” code. Once prototype is finished we stick with a tool and ...

more ...

Croquet Consortium - future is here.

Tt's just not widely distributed yet. This is my favorite quote. Fellows real programmers Alex Ott and 13_49 pointed out to absolutely superb IDE for virtual worlds Croquet

I am just wondering how stable this platform on smalltalk is and applicable to researchers. It may be the thing to ...

more ...


Sharing scientific project: the way to the bright future

I recently had a chat with people who will be doing "portal" for our university, for sharing information between departments, may be even between groups of the researchers. Nice guys will be using ms sharepoint as back-end

I hope they know what they are doing, otherwise it will be yet ...

more ...