Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ahmetozlu/232fc761623e345ac4cde2b4f68eec4e to your computer and use it in GitHub Desktop.
Save ahmetozlu/232fc761623e345ac4cde2b4f68eec4e to your computer and use it in GitHub Desktop.
# Read data from csv file for training and validation data
TrainingSet = numpy.genfromtxt("./training.csv", delimiter=",", skip_header=True)
ValidationSet = numpy.genfromtxt("./validation.csv", delimiter=",", skip_header=True)
# Split into input (X) and output (Y) variables
X1 = TrainingSet[:,0:6]
Y1 = TrainingSet[:,6]
X2 = ValidationSet[:,0:6]
Y2 = ValidationSet[:,6]
@ManDesh
Copy link

ManDesh commented Feb 27, 2022

How to get training.csv data file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment