- Ubuntu 20.04
- CUDA 10.2
- Docker Latest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Source: | |
| https://www.kaggle.com/nasa/astronaut-yearbook | |
| */ | |
| CREATE TABLE astronauts( | |
| Name TEXT PRIMARY KEY, | |
| Year INTEGER, | |
| GroupNum INTEGER, | |
| Status TEXT, | |
| Birth_Date TEXT, | |
| Birth_Place TEXT, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE TABLE pokemon( | |
| Number INTEGER, | |
| Name TEXT PRIMARY KEY, | |
| Type_1 TEXT, | |
| Type_2 TEXT, | |
| Total INTEGER, | |
| HP INTEGER, | |
| Attack INTEGER, | |
| Defense INTEGER, | |
| Sp_Atk INTEGER, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Require Import Coq.Lists.List. | |
| Require Import Coq.Bool.Bool. | |
| Import ListNotations. | |
| Lemma negb_existsb_nth_error {A} (ls : list A) (f : A -> bool) (H : existsb f ls = false) n v (H' : nth_error ls n = Some v) | |
| : f v = false. | |
| Proof. | |
| revert dependent n; induction ls, n; cbn in *; intros; try congruence. | |
| all: repeat first [ progress subst | |
| | rewrite orb_false_iff in * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import matplotlib.pyplot as plt | |
| def draw_neural_net(ax, left, right, bottom, top, layer_sizes): | |
| ''' | |
| Draw a neural network cartoon using matplotilb. | |
| :usage: | |
| >>> fig = plt.figure(figsize=(12, 12)) | |
| >>> draw_neural_net(fig.gca(), .1, .9, .1, .9, [4, 7, 2]) | |
This is just a quick list of resourses on TDA that I put together for @rickasaurus after he was asking for links to papers, books, etc on Twitter and is by no means an exhaustive list.
Both Carlsson's and Ghrist's survey papers offer a very good introduction to the subject
- Topology and Data by Gunnar Carlsson
- Barcodes: The Persistent Topology of Data by Robert Ghrist
- Extracting insights from the shape of complex data using topology A good introductory paper in Nature on the
Mapperalgorithm.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Comparing adagrad, adadelta and constant learning in gradient descent(the seddle point function y^2 - x^2) | |
| Reference: | |
| 1. comparison on several learning rate update scheme: http://ml.memect.com/archive/2014-12-12/short.html#3786866375172817 | |
| 2. Saddle point, http://en.wikipedia.org/wiki/Saddle_point | |
| """ | |
| import numpy as np | |
| import theano |
How to use Pelican on GitHub Pages 
Author: Josef Jezek
sudo apt-get install python-setuptools
