Skip to content

Instantly share code, notes, and snippets.

@spicyramen
Last active July 5, 2018 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spicyramen/9f244fc574d8d5b650771ec5cb6340b4 to your computer and use it in GitHub Desktop.
Save spicyramen/9f244fc574d8d5b650771ec5cb6340b4 to your computer and use it in GitHub Desktop.
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