Fix MLProject

This commit is contained in:
PawelDopierala 2024-05-16 04:54:53 +02:00
parent 4be943832b
commit d9ef5d11be
2 changed files with 17 additions and 5 deletions

View File

@ -1,15 +1,14 @@
name: HousePriceModel
docker_env:
image: paweldopierala/ium:2.0.0
conda_env: environment.yml
entry_points:
main:
parameters:
epochs: {type: int, default: 20}
learning_rate: {type: float, default: 0.001}
batch_size: {type: int, default: 20}
command: "python train.py {epochs} {learning_rate} {batch_size}"
batch_size: {type: int, default: 32}
command: "python create_model.py {epochs} {learning_rate} {batch_size}"
test:
command: "python test.py"
command: "python evaluate.py"

13
environment.yml Normal file
View File

@ -0,0 +1,13 @@
name: hp_model_env
channels:
- defaults
dependencies:
- python
- pandas
- numpy
- scikit-learn
- matplotlib
- tensorflow
- keras
- mlflow
- pip