Skip to content

Instantly share code, notes, and snippets.

import jax.numpy as jnp
import jax.random as jrnd
import jax.scipy.stats.norm as normal
from jax.scipy.special import logsumexp
from jax.example_libraries import optimizers
from jax import vmap, grad, jit
import matplotlib.pyplot as plt
from matplotlib import cm
@magnusross
magnusross / title_page.tex
Created April 1, 2020 10:20
Report Title Page
\begin{titlepage}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % Defines a new command for the horizontal lines, change thickness here
\center % Center everything on the page
%----------------------------------------------------------------------------------------
% HEADING SECTIONS
%----------------------------------------------------------------------------------------
@magnusross
magnusross / cost_func_investigation.ipynb
Created June 14, 2019 10:31
Looking into loss functions that penalise False positives
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env python
# coding: utf-8
# In[1]:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt