π Pushed SARIMA model and card for SAP SE
Browse files- README.md +60 -0
- config.json +78 -0
- sarima_sap_model.pkl +3 -0
README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: TurnoverForecasting
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: red
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 5.22.0
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
+
short_description: Forecasting SAP SE Revenue with AI
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# π AI-Powered Turnover Forecasting for SAP SE
|
| 15 |
+
|
| 16 |
+
## π Project Overview
|
| 17 |
+
|
| 18 |
+
This project delivers **AI-driven revenue forecasting** for **SAP SE** using a **univariate SARIMA model**.
|
| 19 |
+
It shows how accurate forecasts can be built from limited data (just historical turnover).
|
| 20 |
+
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
## π’ Why SAP SE?
|
| 24 |
+
|
| 25 |
+
- SAP SE is a **global leader in enterprise software**
|
| 26 |
+
- Revenue forecasts support **strategic planning & growth**
|
| 27 |
+
- Perfect case for **AI-powered financial forecasting**
|
| 28 |
+
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
## π§ Model Details
|
| 32 |
+
|
| 33 |
+
- **Model type**: SARIMA (Seasonal ARIMA)
|
| 34 |
+
- **Trained on**: SAP SE revenue from Top 12 German Companies Dataset (Kaggle)
|
| 35 |
+
- **SARIMA Order**: (3, 1, 5)
|
| 36 |
+
- **Seasonal Order**: (0, 1, 0, 12)
|
| 37 |
+
- **Evaluation Metric**: MAE (Mean Absolute Error)
|
| 38 |
+
- **Validation**: Walk-forward validation with test set (last 10%)
|
| 39 |
+
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
## βοΈ How to Use
|
| 43 |
+
|
| 44 |
+
```python
|
| 45 |
+
import pickle
|
| 46 |
+
|
| 47 |
+
with open("sarima_sap_model.pkl", "rb") as f:
|
| 48 |
+
model = pickle.load(f)
|
| 49 |
+
|
| 50 |
+
forecast = model.forecast(steps=4)
|
| 51 |
+
print(forecast)
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
## π Intended Use & Limitations
|
| 55 |
+
β
Forecast SAP SE revenue for next 1β6 quarters
|
| 56 |
+
π Great for univariate, seasonal time series
|
| 57 |
+
π« Not suitable for multivariate or non-seasonal data
|
| 58 |
+
β οΈ Requires careful preprocessing (e.g., stationarity)
|
| 59 |
+
|
| 60 |
+
π¨βπ» Author: Pranav Sharma
|
config.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"sklearn": {
|
| 3 |
+
"columns": [
|
| 4 |
+
"Period",
|
| 5 |
+
"Company",
|
| 6 |
+
"Revenue",
|
| 7 |
+
"Net Income",
|
| 8 |
+
"Liabilities",
|
| 9 |
+
"Assets",
|
| 10 |
+
"Equity",
|
| 11 |
+
"ROA (%)",
|
| 12 |
+
"ROE (%)",
|
| 13 |
+
"Debt to Equity"
|
| 14 |
+
],
|
| 15 |
+
"environment": [
|
| 16 |
+
"pandas",
|
| 17 |
+
"statsmodels",
|
| 18 |
+
"scikit-learn"
|
| 19 |
+
],
|
| 20 |
+
"example_input": {
|
| 21 |
+
"Assets": [
|
| 22 |
+
65782612977,
|
| 23 |
+
23437806831,
|
| 24 |
+
55383211771
|
| 25 |
+
],
|
| 26 |
+
"Company": [
|
| 27 |
+
"SAP SE",
|
| 28 |
+
"SAP SE",
|
| 29 |
+
"SAP SE"
|
| 30 |
+
],
|
| 31 |
+
"Debt to Equity": [
|
| 32 |
+
0.393327841,
|
| 33 |
+
0.930170072,
|
| 34 |
+
2.717704304
|
| 35 |
+
],
|
| 36 |
+
"Equity": [
|
| 37 |
+
47212587750,
|
| 38 |
+
12142871334,
|
| 39 |
+
14897153522
|
| 40 |
+
],
|
| 41 |
+
"Liabilities": [
|
| 42 |
+
18570025227,
|
| 43 |
+
11294935497,
|
| 44 |
+
40486058249
|
| 45 |
+
],
|
| 46 |
+
"Net Income": [
|
| 47 |
+
719090971.2,
|
| 48 |
+
744873003.7,
|
| 49 |
+
1997618536.0
|
| 50 |
+
],
|
| 51 |
+
"Period": [
|
| 52 |
+
"2017-03-31",
|
| 53 |
+
"2017-06-30",
|
| 54 |
+
"2017-09-30"
|
| 55 |
+
],
|
| 56 |
+
"ROA (%)": [
|
| 57 |
+
1.093132271,
|
| 58 |
+
3.17808321,
|
| 59 |
+
3.606902655
|
| 60 |
+
],
|
| 61 |
+
"ROE (%)": [
|
| 62 |
+
1.523091628,
|
| 63 |
+
6.134241097,
|
| 64 |
+
13.40939753
|
| 65 |
+
],
|
| 66 |
+
"Revenue": [
|
| 67 |
+
6568715630,
|
| 68 |
+
6644029236,
|
| 69 |
+
18227487487
|
| 70 |
+
]
|
| 71 |
+
},
|
| 72 |
+
"model": {
|
| 73 |
+
"file": "sarima_sap_model.pkl"
|
| 74 |
+
},
|
| 75 |
+
"model_format": "pickle",
|
| 76 |
+
"task": "tabular-regression"
|
| 77 |
+
}
|
| 78 |
+
}
|
sarima_sap_model.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f342e2356bfffc11f45e62ce62b3de32c257f41330eccd4e06871cc84b1f9cdb
|
| 3 |
+
size 2088916
|