diff options
author | Gregory Ditzler <gregory.ditzler@gmail.com> | 2014-10-20 04:13:30 -0700 |
---|---|---|
committer | Gregory Ditzler <gregory.ditzler@gmail.com> | 2014-10-20 04:13:30 -0700 |
commit | 719281d5f02872ad83bf1a6f206e10622a383976 (patch) | |
tree | cff905d1cec43db71ad4310633e6c2d7fa3bc342 | |
parent | a38c40a2c63a011f0c53599489a723a874a0ebf0 (diff) |
force col major
-rw-r--r-- | feast.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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") |