mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
Merge pull request #111 from Hestia-Homes/sap-dev-package
Sap dev package
This commit is contained in:
commit
8adfa72036
9 changed files with 43 additions and 13 deletions
9
.dockerignore
Normal file
9
.dockerignore
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
modules/ml-pipeline/src/pipeline/data/predictions
|
||||
modules/ml-pipeline/src/pipeline/data/fit_predictions
|
||||
modules/ml-pipeline/src/pipeline/data/prepared_data
|
||||
modules/ml-pipeline/src/pipeline/data/model/allmodels
|
||||
modules/ml-pipeline/src/pipeline/metrics
|
||||
modules/ml-pipeline/src/pipeline/__pycache__
|
||||
modules/ml-pipeline/src/pipeline/.dvc
|
||||
modules/ml-pipeline/src/pipeline/analysis
|
||||
modules/ml-pipeline/src/pipeline/metrics
|
||||
|
|
@ -1,4 +1,9 @@
|
|||
modules/ml-pipeline/src/pipeline/data/predictions*
|
||||
modules/ml-pipeline/src/pipeline/data/prepared_data*
|
||||
modules/ml-pipeline/src/pipeline/data/model/allmodels*
|
||||
modules/ml-pipeline/src/pipeline/metrics*
|
||||
modules/ml-pipeline/src/pipeline/data/predictions
|
||||
modules/ml-pipeline/src/pipeline/data/fit_predictions
|
||||
modules/ml-pipeline/src/pipeline/data/prepared_data
|
||||
modules/ml-pipeline/src/pipeline/data/model/allmodels
|
||||
modules/ml-pipeline/src/pipeline/metrics
|
||||
modules/ml-pipeline/src/__pycache__
|
||||
modules/ml-pipeline/src/.dvc
|
||||
modules/ml-pipeline/src/analysis
|
||||
modules/ml-pipeline/src/metrics
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
pipeline/data/predictions*
|
||||
pipeline/data/prepared_data/train.parquet*
|
||||
pipeline/data/model/allmodels*
|
||||
pipeline/metrics*
|
||||
pipeline/data/predictions
|
||||
pipeline/data/fit_predictions
|
||||
pipeline/data/prepared_data/train.parquet
|
||||
pipeline/data/fit_predictions
|
||||
pipeline/data/model/allmodels
|
||||
pipeline/metrics
|
||||
pipeline/.dvc
|
||||
pipeline/analysis
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Dockerfile that can be used to test loading a model to generate a prediction (part of CI/CD flow)
|
||||
FROM python:3.10.12-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y libgomp1
|
||||
RUN apt-get update && apt-get install -y libgomp1 gcc python3-dev
|
||||
|
||||
COPY pipeline/requirements/predictions/requirements.txt requirements.txt
|
||||
|
||||
|
|
|
|||
|
|
@ -78,6 +78,18 @@ def generate_scenario_predictions(
|
|||
|
||||
scenario_data = pd.DataFrame()
|
||||
|
||||
# If we have no scenario data, we can save empty dataframes
|
||||
if scenario_data_filepaths is None:
|
||||
logger.info("No scenario data filepaths provided")
|
||||
output_dataclient.save_data(
|
||||
obj=scenario_data, location=comparison_output_filepath, save_config=None
|
||||
)
|
||||
|
||||
output_dataclient.save_data(
|
||||
obj=scenario_data, location=metrics_output_filepath, save_config=None
|
||||
)
|
||||
return
|
||||
|
||||
# Can have multiple scenario data files
|
||||
for scenario_data_filepath in scenario_data_filepaths:
|
||||
scenario_data = pd.concat(
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
joblib==1.3.2
|
||||
boto3==1.28.17
|
||||
pandas==2.1.4
|
||||
autogluon==1.0.0
|
||||
autogluon.tabular[all]==1.0.0
|
||||
dynaconf==3.2.1
|
||||
pyarrow==13.0.0
|
||||
pre-commit==3.3.3
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
joblib==1.3.2
|
||||
boto3==1.28.17
|
||||
pandas==2.1.4
|
||||
autogluon==1.0.0
|
||||
autogluon.tabular[all]==1.0.0
|
||||
dynaconf==3.2.1
|
||||
pyarrow==13.0.0
|
||||
PyYAML==6.0.1
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
joblib==1.3.2
|
||||
boto3==1.28.17
|
||||
pandas==2.1.4
|
||||
autogluon==1.0.0
|
||||
autogluon.tabular[all]==1.0.0
|
||||
ray==2.6.3
|
||||
dynaconf==3.2.1
|
||||
alibi==0.9.5
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
boto3==1.28.41
|
||||
pandas==2.1.4
|
||||
autogluon==1.0.0
|
||||
autogluon.tabular[all]==1.0.0
|
||||
dynaconf==3.2.1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue