Skip to content

Commit e2a2549

Browse files
committed
des
1 parent 73a7434 commit e2a2549

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

Diff for: Code/Gadf.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@
1818
# Plot the Gramian angular fields
1919
fig, ax = plt.subplots(ncols=2, figsize=(12, 6))
2020
ax[0].imshow(X_gasf[0], cmap='rainbow', origin='lower')
21-
ax[0].set_title('Gramian Angular Summation Field')
22-
ax[1].imshow(X_gadf[0], cmap='rainbow', origin='lower')
23-
ax[1].set_title('Gramian Angular Difference Field')
21+
#ax[1].imshow(X_gadf[0], cmap='rainbow', origin='lower')
2422
plt.show()
2523

24+
'''
2625
fig.savefig('2000-03-06_1_day_1_GAF.png', dpi=300, bbox_inches='tight')
2726
2827
# Load the CSV file into a pandas dataframe
@@ -92,4 +91,5 @@
9291
ax[1].set_title('Gramian Angular Difference Field')
9392
plt.show()
9493
95-
fig.savefig('2000-03-06_1_day_5_GAF.png', dpi=300, bbox_inches='tight')
94+
fig.savefig('2000-03-06_1_day_5_GAF.png', dpi=300, bbox_inches='tight')
95+
'''

Diff for: software/SearchPage.py

-2
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,6 @@ def createCsv():
310310
for j in range(0, 3):
311311
csv = pd.DataFrame(columns=['Date', 'Open', 'High', 'Low', 'Close', 'Adj Close', 'Volume', 'Label'])
312312
list = [data.iloc[startIndex]]
313-
#rows = []
314313

315314
for i in range(startIndex + 1, endIndex):
316315
print(i)
@@ -321,7 +320,6 @@ def createCsv():
321320
'High': [highest], 'Low': [lowest], 'Close': [list[len(list) - 1].iloc[4]],
322321
'Adj Close': [list[len(list) - 1].iloc[5]], 'Volume': [sumVolume], 'Label' : [list[len(list) - 1].iloc[7]]}, columns=['Date', 'Open', 'High', 'Low', 'Close', 'Adj Close', 'Volume', 'Label'])
323322

324-
#rows.append(pd.DataFrame(row))
325323
csv = pd.concat([csv, row], ignore_index=True)
326324
list.pop(0)
327325

Diff for: software/__pycache__/SearchPage.cpython-39.pyc

100 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)