Top "Probability" questions

Consider if your question would be better at stats.

Using the gaussian probability density function in C++

First, is this the correct C++ representation of the pdf gaussian function ? float pdf_gaussian = ( 1 / ( s * sqrt(2*M_PI) ) ) * exp( …

c++ distribution probability gaussian normal-distribution
Create Bayesian Network and learn parameters with Python3.x

I'm searching for the most appropriate tool for python3.x on Windows to create a Bayesian Network, learn its parameters …

python-3.x machine-learning scikit-learn probability bayesian-networks
Simple binary logistic regression using MATLAB

I'm working on doing a logistic regression using MATLAB for a simple classification problem. My covariate is one continuous variable …

matlab classification probability confidence-interval logistic-regression
How do I assess the hash collision probability?

I'm developing a back-end application for a search system. The search system copies files to a temporary directory and gives …

language-agnostic md5 probability estimation
Generate random integers with probabilities

I'm a bit confused about how to generate integer values with probabilities. As an example, I have four integers with …

javascript random probability
Predict function error for probabilities in glmnet?

I am trying to predict probabilities in a dataset using glmnet. My code reads: bank <- read.table("http://…

r probability prediction glmnet
How to incrementally sample without replacement?

Python has my_sample = random.sample(range(100), 10) to randomly sample without replacement from [0, 100). Suppose I have sampled n such numbers …

python algorithm statistics probability sample
Probability distribution in Python

I have a bunch of keys that each have an unlikeliness variable. I want to randomly choose one of these …

python algorithm random distribution probability
Distributed probability random number generator

I want to generate a number based on a distributed probability. For example, just say there are the following occurences …

c# random probability probability-theory
Implementation of sequential monte carlo method (particle filters)

I'm interested in the simple algorithm for particles filter given here: http://www.aiqus.com/upfiles/PFAlgo.png It seems …

c++ probability montecarlo inference particle-filter