Fix MLProject
This commit is contained in:
parent
4be943832b
commit
d9ef5d11be
@ -1,15 +1,14 @@
|
|||||||
name: HousePriceModel
|
name: HousePriceModel
|
||||||
|
|
||||||
docker_env:
|
conda_env: environment.yml
|
||||||
image: paweldopierala/ium:2.0.0
|
|
||||||
|
|
||||||
entry_points:
|
entry_points:
|
||||||
main:
|
main:
|
||||||
parameters:
|
parameters:
|
||||||
epochs: {type: int, default: 20}
|
epochs: {type: int, default: 20}
|
||||||
learning_rate: {type: float, default: 0.001}
|
learning_rate: {type: float, default: 0.001}
|
||||||
batch_size: {type: int, default: 20}
|
batch_size: {type: int, default: 32}
|
||||||
command: "python train.py {epochs} {learning_rate} {batch_size}"
|
command: "python create_model.py {epochs} {learning_rate} {batch_size}"
|
||||||
|
|
||||||
test:
|
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