Update README.md
Browse files
README.md
CHANGED
@@ -11,3 +11,33 @@ license: mit
|
|
11 |
---
|
12 |
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
14 |
+
|
15 |
+
|
16 |
+
# Electricity Load Forecasting with Prophet
|
17 |
+
This project implements a forecasting model using the Prophet library to predict electricity demand based on historical time series data. The model incorporates various factors such as temperature and holidays to improve prediction accuracy.
|
18 |
+
|
19 |
+
- Overview
|
20 |
+
The forecasting model is built using the Prophet library in Python, which is developed by Facebook's Core Data Science team. Prophet is designed for forecasting time series data and is particularly adept at handling datasets with multiple seasonalities and missing data.
|
21 |
+
|
22 |
+
- Usage
|
23 |
+
The main script (main.py) contains the function predict_and_evaluate, which takes the following inputs:
|
24 |
+
|
25 |
+
csv_file: Path to the CSV file containing the time series data.
|
26 |
+
days_to_predict: Number of days to forecast into the future.
|
27 |
+
freq: Frequency of the data (e.g., "2H" for 2 hourly).
|
28 |
+
country_name: Country code for holiday consideration (e.g., "UK" or "DE").
|
29 |
+
The function returns evaluation metrics and a plot of the forecasted values.
|
30 |
+
|
31 |
+
- Example
|
32 |
+
|
33 |
+
predict_and_evaluate("data/merged_data.csv", 30, "2H", "UK")
|
34 |
+
|
35 |
+
- Interface
|
36 |
+
The project includes a Gradio interface for easy interaction. Upload your CSV file, specify the number of days to predict, data frequency, and country code, then click "Launch" to see the forecasted results.
|
37 |
+
|
38 |
+
- Contributing
|
39 |
+
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.
|
40 |
+
|
41 |
+
-License
|
42 |
+
This project is licensed under the MIT License - see the LICENSE file for details.
|
43 |
+
|