-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(KTP-753): Added new baseline dazls model as dazls default mod…
…el. (#535) * feature(KTP-753): Added new baseline dazls model as dazls default model. Signed-off-by: Egor Dmitriev <[email protected]> * Format Python code with Black Signed-off-by: black <[email protected]> * chore(KTP-753): Removed old DAZLS models. Signed-off-by: Egor Dmitriev <[email protected]> * fix(KTP-753): Removed old DAZLS models. Fixed tests Signed-off-by: Egor Dmitriev <[email protected]> --------- Signed-off-by: Egor Dmitriev <[email protected]> Signed-off-by: black <[email protected]> Co-authored-by: black <[email protected]>
- Loading branch information
1 parent
be8f58e
commit 4ecc905
Showing
25 changed files
with
50 additions
and
200 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
openstef/data/dazls_model_3.2.49/dazls_stored_3.2.49.sav.license
This file was deleted.
Oops, something went wrong.
Binary file added
BIN
+1.26 KB
openstef/data/dazls_model_3.4.24/dazls_stored_3.4.24_baseline_model.z
Binary file not shown.
18 changes: 18 additions & 0 deletions
18
openstef/data/dazls_model_3.4.24/dazls_stored_3.4.24_model_card.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
# Model details : dazls\_model\_baseline\_model | ||
|
||
## Description | ||
**Model Name**: dazls\_model\_baseline\_model | ||
|
||
**Author**: KTP, Alliander | ||
|
||
**Model type**: Energy splitting model | ||
|
||
**Model Architecture**: LinearRegression | ||
|
||
**Date**: 2024-04-26 | ||
|
||
## Intended use | ||
This is a DAZLs model aimed at determining the energy splits for substations. | ||
Each of these splits are determined based on a set of features that are available in production, | ||
and in this case have their origin in the Dutch energy grid.******************** |
Binary file removed
BIN
-28.2 MB
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_adaptation_model.z
Binary file not shown.
3 changes: 0 additions & 3 deletions
3
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_adaptation_model.z.license
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-88 Bytes
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_adaptation_model_features.z
Binary file not shown.
3 changes: 0 additions & 3 deletions
3
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_adaptation_model_features.z.license
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-879 Bytes
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_adaptation_model_scaler.z
Binary file not shown.
3 changes: 0 additions & 3 deletions
3
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_adaptation_model_scaler.z.license
This file was deleted.
Oops, something went wrong.
Binary file not shown.
3 changes: 0 additions & 3 deletions
3
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_domain_model.z.license
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_domain_model_features.z
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_domain_model_features.z.license
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-1.15 KB
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_domain_model_scaler.z
Binary file not shown.
3 changes: 0 additions & 3 deletions
3
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_domain_model_scaler.z.license
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_model_card.md
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_model_card.md.license
This file was deleted.
Oops, something went wrong.
Binary file not shown.
3 changes: 0 additions & 3 deletions
3
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_target.z.license
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-686 Bytes
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_target_scaler.z
Binary file not shown.
3 changes: 0 additions & 3 deletions
3
openstef/data/dazls_model_3.4.7/dazls_stored_3.4.7_target_scaler.z.license
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
|
||
# Set the path for the Dazls stored model | ||
DAZLS_STORED = str( | ||
PROJECT_ROOT / "openstef" / "data" / "dazls_model_3.4.7" / "dazls_stored_3.4.7_" | ||
PROJECT_ROOT / "openstef" / "data" / "dazls_model_3.4.24" / "dazls_stored_3.4.24_" | ||
) | ||
|
||
|
||
|
@@ -113,24 +113,7 @@ def create_components_forecast_pipeline( | |
# Save and load the model as .sav file (or as .z file) | ||
# For the code contact: [email protected] | ||
dazls_model = Dazls() | ||
dazls_model.domain_model = joblib.load(DAZLS_STORED + "domain_model.z") | ||
dazls_model.domain_model_scaler = joblib.load( | ||
DAZLS_STORED + "domain_model_scaler.z" | ||
) | ||
dazls_model.domain_model_input_columns = joblib.load( | ||
DAZLS_STORED + "domain_model_features.z" | ||
) | ||
|
||
dazls_model.adaptation_model = joblib.load(DAZLS_STORED + "adaptation_model.z") | ||
dazls_model.adaptation_model_scaler = joblib.load( | ||
DAZLS_STORED + "adaptation_model_scaler.z" | ||
) | ||
dazls_model.adaptation_model_input_columns = joblib.load( | ||
DAZLS_STORED + "adaptation_model_features.z" | ||
) | ||
|
||
dazls_model.target_columns = joblib.load(DAZLS_STORED + "target.z") | ||
dazls_model.target_scaler = joblib.load(DAZLS_STORED + "target_scaler.z") | ||
dazls_model.model_ = joblib.load(DAZLS_STORED + "baseline_model.z") | ||
|
||
logger.info("DAZLS model loaded", dazls_model=str(dazls_model)) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters