Skip to content

Commit 51a5cbc

Browse files
authored
Add files via upload
This file was just created to open the .mat files to check the headers required for the load_data() segment of the KNN and RF codes
1 parent 86ae4f9 commit 51a5cbc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

matFileOpen.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import scipy.io as sio
2+
data_path = 'paviaU_7gt.mat'
3+
mat_data = sio.loadmat(data_path)
4+
print(mat_data.keys())

0 commit comments

Comments
 (0)