Skip to content

Commit

Permalink
[RM] Synspective from revenue and ebitda plots
Browse files Browse the repository at this point in the history
  • Loading branch information
hollydinkel committed Sep 2, 2024
1 parent a6b5c5d commit 9f8f88b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Binary file modified images/ebitda_separate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/revenue_separate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions src/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ def generate_next_quarters(start_date, n):
fig14, ax14 = plt.subplots(figsize=(10, 7), dpi=300)
fig15, ax15 = plt.subplots(figsize=(10, 7), dpi=300)
fig16, ax16 = plt.subplots(figsize=(10, 7), dpi=300)
fig17, ax17 = plt.subplots(1, 6, figsize=(55, 10), dpi=300)
fig18, ax18 = plt.subplots(1, 6, figsize=(55, 10), dpi=300)
fig17, ax17 = plt.subplots(1, 5, figsize=(55, 10), dpi=300)
fig18, ax18 = plt.subplots(1, 5, figsize=(55, 10), dpi=300)

for i, company in enumerate(companyMetadata):
print("COMPANY: ", company)
Expand Down Expand Up @@ -230,8 +230,7 @@ def generate_next_quarters(start_date, n):
plotPredictions(fig17, ax17[i], company, companyMetadata, filteredData["Quarter"], inSamplePredictions1, outSamplePredictions1, transformedData["Revenue_USD"], "Revenue $ (USD)", split, plotEverything=True)
plotPredictions(fig18, ax18[i], company, companyMetadata, filteredData["Quarter"], inSamplePredictions2, outSamplePredictions2, transformedData["EBITDA_USD"], "EBITDA $ (USD)", split, plotEverything=True)
else:
plotPredictions(fig17, ax17[i], company, companyMetadata, plotEverything=True)
plotPredictions(fig18, ax18[i], company, companyMetadata, plotEverything=True)
pass

plot_acf(transformedData["Total_Assets_USD"], lags=3, title=company, ax = ax21[i//3, i%3], color = 'red')
plot_pacf(transformedData["Total_Assets_USD"], lags=2, title=company, ax = ax22[i//3, i%3], color = 'red')
Expand Down

0 comments on commit 9f8f88b

Please sign in to comment.