Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
% Built based on https://tikz.net/3d-plane-and-normal-vector/ | |
\documentclass[crop,tikz]{standalone} | |
\usepackage{tikz} | |
\usepackage{tikz-3dplot} | |
\usetikzlibrary{matrix,math,tikzmark,intersections,through,backgrounds,shadows,scopes,fit,calc,patterns,quotes,arrows.meta,positioning, shapes.geometric} | |
\definecolor{clr1}{RGB}{228,26,28} | |
\definecolor{clr2}{RGB}{55,126,184} | |
\definecolor{clr3}{RGB}{77,175,74} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Got absmax : 2.6663 after 100 iters and 0.00 secs | |
Got absmax : 2.8621 after 200 iters and 0.00 secs | |
Got absmax : 3.0409 after 600 iters and 0.00 secs | |
Got absmax : 3.3918 after 700 iters and 0.00 secs | |
Got absmax : 3.3950 after 1000 iters and 0.00 secs | |
Got absmax : 3.6232 after 1100 iters and 0.00 secs | |
Got absmax : 3.7237 after 2900 iters and 0.01 secs | |
Got absmax : 3.8769 after 4200 iters and 0.01 secs | |
Got absmax : 4.0837 after 13400 iters and 0.04 secs | |
Got absmax : 4.1979 after 71500 iters and 0.17 secs |
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
""" experiment on whether we can make a more intuitive interface | |
for paths by (ab)using metaclasses :D | |
result : | |
s = DotPath.myfolder | |
versus: | |
s = os.path.join('home','user','myfolder')""" | |
import os | |
import codecs | |
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
#!/bin/bash | |
total_commands=0 | |
count_one_dash=0 | |
count_two_dash=0 | |
commands_only_one_dash=0 | |
for command in bash gcc java python perl gunzip unzip less cat vi nano pico ls who find locate rm cp | |
do | |
((total_commands++)) | |
eval "$command -version" > /dev/null 2>&1 | |
ret_code=$? |
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
drow.so: | |
g++ -Wall -shared -fPIC -o drow.so drow.cpp -std=c++0x -lboost_python -I/usr/include/python2.7 |
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
""" module for dataset stuff """ | |
import pandas as pd | |
def text_counts(filename, label_col): | |
"""Get counts for how many texts there are for each type of author | |
:labels: The different classes the data belongs to | |
:returns: list of numbers of counts | |
""" |
NewerOlder