Skip to content

Instantly share code, notes, and snippets.

import talos as ta
from keras.models import Sequential
from keras.layers import Dense
def minimal():
x, y = ta.templates.datasets.iris()
p = {'activation':['relu', 'elu'],
'optimizer': ['Nadam', 'Adam'],
library(UsingR)
library(scales)
ggplot(ceo2013, aes(x=base_salary, y=(cash_bonus + option_awards))) +
geom_text(aes(label=ticker), size=3) +
facet_wrap(~ industry, scales="free") +
labs(x="Base Salary ($)", y="Bonus + Options ($)") +
scale_x_continuous(labels=comma) +
scale_y_continuous(labels=comma) +
theme_bw()