duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
(if window-system | |
(tool-bar-mode -1) | |
(menu-bar-mode -1)) | |
(when (eq window-system 'ns) | |
(add-to-list 'default-frame-alist '(height . 80)) | |
(add-to-list 'default-frame-alist '(width . 132))) | |
(require 'package) | |
(setq package-enable-at-startup nil) | |
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) |
""" Poisson-loss Factorization Machines with Numba | |
Follows the vanilla FM model from: | |
Steffen Rendle (2012): Factorization Machines with libFM. | |
In: ACM Trans. Intell. Syst. Technol., 3(3), May. | |
http://doi.acm.org/10.1145/2168752.2168771 | |
See also: https://github.com/coreylynch/pyFM | |
""" |
Zotero: In browser integration mean that its a single click to save citation information (and a full-text PDF if available)
...but I'm using Trello to stay on top of tasks, and my "to-read" list needs to have a presence in my "to-do" list, as Trello gives a better single view of my work than zotero.
Cards for new "to-read" articles in Trello, automatically - without cut + paste.
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |
import os | |
from subprocess import check_call | |
def post_save(model, os_path, contents_manager): | |
"""post-save hook for converting notebooks to .py and .html files.""" | |
if model['type'] != 'notebook': | |
return # only do this for notebooks | |
d, fname = os.path.split(os_path) | |
check_call(['jupyter', 'nbconvert', '--to', 'script', fname], cwd=d) | |
check_call(['jupyter', 'nbconvert', '--to', 'html', fname], cwd=d) |
from IPython.display import display, HTML | |
display(HTML(data=""" | |
<style> | |
div#notebook-container { width: 95%; } | |
div#menubar-container { width: 65%; } | |
div#maintoolbar-container { width: 99%; } | |
</style> | |
""")) |