Fix MLProject
This commit is contained in:
parent
4be943832b
commit
d9ef5d11be
@ -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
13
environment.yml
Normal file
@ -0,0 +1,13 @@
|
||||
name: hp_model_env
|
||||
channels:
|
||||
- defaults
|
||||
dependencies:
|
||||
- python
|
||||
- pandas
|
||||
- numpy
|
||||
- scikit-learn
|
||||
- matplotlib
|
||||
- tensorflow
|
||||
- keras
|
||||
- mlflow
|
||||
- pip
|
Loading…
Reference in New Issue
Block a user