{{ message }}

Instantly share code, notes, and snippets.

# Chase Coleman cc7768

Created Apr 14, 2020
View tf_gather_v_no_gather.py
 import numpy as np import tensorflow as tf nobs = 100 alpha = 1.0 beta = np.array([0.0, 0.5, 0.25]) L = np.array([[1.0, 0.0, 0.0], [0.25, 1.1, 0.0], [0.2, 0.2, 1.25]]) X = np.random.randn(nobs, 3) @ L
Last active May 30, 2019
automatic update by http://atom.io/packages/sync-settings
View init.coffee
Created Nov 9, 2016
View RepeatedGamesNotebook.ipynb
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Created Dec 10, 2015
View foo.json
 { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "We begin by importing some packages called by the code that we will be using in this notebook." ] }, {
Created Oct 7, 2015
View PicturesForDave.ipynb
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
 // Use Gists to store code you would like to remember later on console.log(window); // log the "window" object to the console
Created Jan 9, 2015
View selctgex.jl
 n = 10 srand(42) ad = randn(n, n) bd = randn(n, n) ac = randn(n, n) + randn(n, n)im bc = randn(n, n) + randn(n, n)im # This is the "not sorted" schur
Created Nov 3, 2014
Homework 3 Notebook for Tim Cogley's course
View HW3Notebook
 { "metadata": { "celltoolbar": "Slideshow", "language": "Julia", "name": "", "signature": "sha256:48c93e55dd13e85a8b1e797778a71d47dfe8f59cbe53a02778db64f6eacaad7a" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [
Created Aug 21, 2014
This is an example of how to use numba to really speed up optimization
View New_Bisection_Example.py
 import numpy as np import types from scipy.optimize import bisect from numba import f8, jit, njit #---------------------------------------------------------------------# # Thank you to Stan Seibert from the Numba team for help with this #---------------------------------------------------------------------# def root_func(x):
Created Aug 21, 2014
Example of numba loops
View test.py
 import numpy as np from numba import jit def f_original(x, y): n = x.size m = y.size z = np.empty((n, m))