Skip to content

Instantly share code, notes, and snippets.

View sushant1727's full-sized avatar

Sushant Tyagi sushant1727

View GitHub Profile
# Sample code for building a multi-layer perceptron
# that predicts the brightness of a light bulb based
# on the month, weekday, hour and minute.
import numpy as np
from keras.models import Sequential
from keras.layers.core import Dense, Activation
from keras.utils import np_utils
from sklearn import preprocessing