Skip to content

Instantly share code, notes, and snippets.

Madhavun madvn

Block or report user

Report or block madvn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@madvn
madvn / entropy_benchmark.py
Last active Jul 1, 2019
Infotheory benchmarks - entropy
View entropy_benchmark.py
###############################################################################
# Entropy baseline
#
# Madhavun Candadai
# Dec, 2018
#
# Entropy of a coin flip for different probabilities of HEADS ranging from 0 to
# 1 should give an inverted-U shaped curve
###############################################################################
@madvn
madvn / mi_demo.cpp
Last active Jul 1, 2019
A C++ demonstration of using #infotheory to estimate mutual information between two variables
View mi_demo.cpp
//**************************************************************************//
// Infotheory demo to estimate MI between two 2D random vars
// https://github.com/madvn/infotheory
//
// C++ demo
//
// Madhavun Candadai
// Nov 2018
//
//**************************************************************************//
@madvn
madvn / mi_demo.py
Last active Feb 2, 2019
A Python demonstration of using ''infotheory'' to estimate mutual information under various conditions
View mi_demo.py
###############################################################################
# Mutual Information demo for Python package - infotheory
# https://github.com/madvn/infotheory
#
# Madhavun Candadai
# Dec, 2018
#
# Mutual information should be high for identical variables, slightly lower for
# noisy identical variables and low for random variables
###############################################################################
You can’t perform that action at this time.