• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
# vi: set ft=python sts=4 ts=4 sw=4 et:
import numpy as np
import os
 
 
filename = os.path.join(os.path.dirname(os.path.abspath(__file__)), "test_data.bin")
data = np.fromfile(filename, "<f8")
data.shape = (126,15)
 
y = data[:,0]
x = data[:,1:]