From 719281d5f02872ad83bf1a6f206e10622a383976 Mon Sep 17 00:00:00 2001 From: Gregory Ditzler Date: Mon, 20 Oct 2014 04:13:30 -0700 Subject: force col major --- feast.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'feast.py') 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") -- cgit v1.2.3