Skip to content

Commit

Permalink
Shorten thesis ❌ (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
KarelZe authored May 21, 2023
1 parent e21be41 commit 746b4b8
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 29 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ git clone https://github.com/KarelZe/thesis.git --depth=1
# set up consts for wandb + gcp
nano prod.env

# set up virtual env and instal requirements
# set up virtual env and install requirements
cd thesis

python -m venv thesis
source thesis/bin/activate
python -m pip instal .
python -m pip install .

# run training script
python src/otc/models/train_model.py --trials=100 --seed=42 --model=gbm --dataset=fbv/thesis/ise_supervised_log_standardised:latest --features=classical-size --pretrain
2022-11-18 10:25:50,920 - __main__ - INFO - Connecting to weights & biases. Downloading artefacts. 📦
2022-11-18 10:25:56,180 - __main__ - INFO - Start loading artefacts locally. 🐢
python src/otc/models/train_model.py --trials=100 --seed=42 --model=gbm --dataset=fbv/thesis/ise_supervised_log_standardized:latest --features=classical-size --pretrain
2022-11-18 10:25:50,920 - __main__ - INFO - Connecting to weights & biases. Downloading artifacts. 📦
2022-11-18 10:25:56,180 - __main__ - INFO - Start loading artifacts locally. 🐢
2022-11-18 10:26:07,562 - __main__ - INFO - Start with study. 🦄
...
```
Expand Down Expand Up @@ -80,10 +80,10 @@ nano slurm-21614924.out
## Development

### Set up git pre-commit hooks 🐙
Pre-commit hooks are pre-cheques to avoid committing error-prone code. The tests are defined in the [`.pre-commit-config.yaml`](https://github.com/KarelZe/thesis/blob/main/.pre-commit-config.yaml). Instal them using:
Pre-commit hooks are pre-checks to avoid committing error-prone code. The tests are defined in the [`.pre-commit-config.yaml`](https://github.com/KarelZe/thesis/blob/main/.pre-commit-config.yaml). Install them using:
```shell
pip instal .[dev]
pre-commit instal
pip install .[dev]
pre-commit install
pre-commit run --all-files
```
### Run tests🧯
Expand Down
Loading

0 comments on commit 746b4b8

Please sign in to comment.