mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Create cml.yml
This commit is contained in:
parent
a31127c2bc
commit
7fb69aa414
1 changed files with 24 additions and 0 deletions
24
.github/workflows/cml.yml
vendored
Normal file
24
.github/workflows/cml.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: model-training
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- mlmodel
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
- uses: iterative/setup-cml@v1
|
||||
- name: Train model
|
||||
env:
|
||||
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
pip install -r requirements.txt
|
||||
ls
|
||||
cd model_data/simulation_system
|
||||
python3 training.py --train-filepath ./model_build_data/change_data/rdsap_full/train_validation_data.parquet --test-filepath ./model_build_data/change_data/rdsap_full/test_data.parquet
|
||||
|
||||
cd model_directory/RDSAP_CHANGE
|
||||
cat model_registry.csv >> report.md
|
||||
|
||||
Loading…
Add table
Reference in a new issue