aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Ditzler <gregory.ditzler@gmail.com>2014-10-20 04:13:30 -0700
committerGregory Ditzler <gregory.ditzler@gmail.com>2014-10-20 04:13:30 -0700
commit719281d5f02872ad83bf1a6f206e10622a383976 (patch)
treecff905d1cec43db71ad4310633e6c2d7fa3bc342
parenta38c40a2c63a011f0c53599489a723a874a0ebf0 (diff)
force col major
-rw-r--r--feast.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/feast.py b/feast.py
index 06b6782..ca8ce4a 100644
--- a/feast.py
+++ b/feast.py
@@ -467,5 +467,5 @@ def check_data(data, labels):
if len(data) != len(labels):
raise Exception("data and labels must be the same length")
-
- return 1.0*data, 1.0*labels
+
+ return 1.0*np.array(data, order="F"), 1.0*np.array(labels, order="F")