Skip to content

Instantly share code, notes, and snippets.

@wiso
wiso / newton optimization.py
Last active June 6, 2017 18:19 — forked from rajarsheem/newton optimization.py
Newton's optimization method for multivariate function in tensorflow (updated to tf 1.1.0)
import numpy as np
import tensorflow as tf
# Newton's optimization method for multivariate function in tensorflow
def cons(x):
return tf.constant(x, dtype=tf.float32)
def compute_hessian(fn, vars):
mat = []
@wiso
wiso / correlation.ipynb
Created February 4, 2016 18:22 — forked from anonymous/correlation.ipynb
Correlation energy scale
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wiso
wiso / Resistances.ipynb
Created January 15, 2016 15:24 — forked from anonymous/Resistances.ipynb
Example of correlated and uncorrelated systematics error, computed with pseudo-experiments (toys) or with analytical formula using numpy and sympy
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.