Last active
July 5, 2018 23:44
-
-
Save spicyramen/9f244fc574d8d5b650771ec5cb6340b4 to your computer and use it in GitHub Desktop.
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
from keras.models import Sequential | |
from keras.layers import Dense | |
import numpy | |
seed = 7 | |
numpy.random.seed(seed) | |
# Cargar el dataset de los indios Pima. | |
dataset = numpy.loadtxt("pima-indians-diabetes.csv", delimiter=",") | |
# Dividir los datos en features y label. | |
X = dataset[:, 0:8] | |
Y = dataset[:, 8] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment