forked from gihanjayatilaka/BCI-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemp.py
More file actions
23 lines (17 loc) · 721 Bytes
/
temp.py
File metadata and controls
23 lines (17 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import random
print('python ./FDA.py 40 750 300',end=' ')
fileNames=[]
for x in range(250):
fileNames.append('./threeClasses/ec'+str(x)+'train.txt 0')
fileNames.append('./threeClasses/eo'+str(x)+'train.txt 1')
fileNames.append('./threeClasses/rf'+str(x)+'train.txt 2')
while(len(fileNames))>0:
r=random.randint(0,len(fileNames)-1)
print(fileNames.pop(r),end=' ')
for x in range(100):
fileNames.append('./threeClasses/ec'+str(x)+'test.txt 0')
fileNames.append('./threeClasses/eo'+str(x)+'test.txt 1')
fileNames.append('./threeClasses/rf'+str(x)+'test.txt 2')
while(len(fileNames))>0:
r=random.randint(0,len(fileNames)-1)
print(fileNames.pop(r),end=' ')