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
# 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 |