Top "Probability" questions

Consider if your question would be better at stats.

scikit-learn return value of LogisticRegression.predict_proba

What exactly does the LogisticRegression.predict_proba function return? In my example I get a result like this: [[ 4.65761066e-03 9.95342389e-01] [ 9.75851270…

python machine-learning scikit-learn probability logistic-regression
Probability of collision when using a 32 bit hash

I have a 10 character string key field in a database. I've used CRC32 to hash this field but I'm worry …

algorithm hash collision probability crc
How do I simulate flip of biased coin in python?

In unbiased coin flip H or T occurs 50% of times. But I want to simulate coin which gives H with …

python random probability coin-flipping
Select k random elements from a list whose elements have weights

Selecting without any weights (equal probabilities) is beautifully described here. I was wondering if there is a way to convert …

algorithm math random statistics probability
Defining a white noise process in Python

I need to draw samples from a white noise process in order to implement a particular integral numerically. How do …

python numpy scipy probability noise
Generate random number with given probability matlab

I want to generate a random number with a given probability but I'm not sure how to: I need a …

matlab math random probability
Confidence interval for binomial data in R?

I know that I need mean and s.d to find the interval, however, what if the question is: A …

r statistics probability confidence-interval
Getting Probability Density of Data

I need to analyze some data about internet sessions for a DSL Line. I wanted to have a look at …

r plot probability distribution data-analysis
How to get a classifier's confidence score for a prediction in sklearn?

I would like to get a confidence score of each of the predictions that it makes, showing on how sure …

python machine-learning scikit-learn probability prediction
How can I efficiently calculate the binomial cumulative distribution function?

Let's say that I know the probability of a "success" is P. I run the test N times, and I …

algorithm math probability binomial-cdf