- Read every row in the table
- No reading of index. Reading from indexes is also expensive.
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
This file contains 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
""" | |
Uses C++ map containers for fast dict-like behavior with keys being | |
integers, and values float. | |
""" | |
# Author: Gael Varoquaux | |
# License: BSD | |
# XXX: this needs Cython 17.1 or later. Elsewhere you will get a C++ compilation error. | |
import numpy as np |
This file contains 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
# Stop all containers | |
docker stop `docker ps -qa` | |
# Remove all containers | |
docker rm `docker ps -qa` | |
# Remove all images | |
docker rmi -f `docker images -qa ` | |
# Remove all volumes |
This file contains 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
""" | |
We implement additional hyperparameter optimization methods not present in | |
https://scikit-optimize.github.io/. | |
Gist: https://gist.github.com/Deepblue129/2c5fae9daf0529ed589018c6353c9f7b | |
""" | |
import math | |
import logging | |
import random |
This file contains 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
%Make sure to have \usepackage{tikz} | |
%https://tex.stackexchange.com/a/45815/140440 - for grid | |
%https://tex.stackexchange.com/a/381175/140440 - for alignment in equation | |
% This function draws a matrix. | |
\newcommand{\mat}[2]{% cols, rows | |
\vcenter{\hbox{ %Vertical alignment | |
\begin{tikzpicture}[scale=0.3, align=center] |