Skip to content

Instantly share code, notes, and snippets.


Diego Marinho dmoliveira

View GitHub Profile
View Anscombe's Quartet
import seaborn as sns
from scipy.optimize import curve_fit
# Function for linear fit
def func(x, a, b):
return a + b * x
# Seaborn conveniently provides the data for
# Anscombe's quartet.
df = sns.load_dataset("anscombe")
dmoliveira / gist:8827717
Last active Aug 29, 2015
Visualization Analysis Science and Technology
View gist:8827717
Termo científico chave: Visualization Analysis Science and Technology
Excelente conferência sobre o assunto:
Um curso inteiro de Data Visualization [HOT!] online ministrado
por uma professora da UFMG :-) :
dmoliveira / gist:8791780
Created Feb 3, 2014
Elasticsearch example
View gist:8791780
<VirtualHost *:80>
ProxyRequests Off
ProxyVia Off
ProxyPass /elasticsearch
ProxyPassReverse /elasticsearch