Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

CodeCutTech/hydra-demo

Repository files navigation

View the Article

Set up the environment

  1. Installuv
  2. Set up the environment:
uv sync

Download the data

  1. Download the dataset fromKaggle

  2. Move the downloaded file todata/raw/

Run the scripts

Run the data processing script:

uv run src/process.py

Run the model training script:

uv run src/train_model.py

Both scripts use Hydra for configuration management. The default configurations are in theconf/main.yaml file. You can override any configuration parameter using the command line. For example:

# Override test size in process.pyuv run src/process.py process.test_size=0.3# Override hyperparameters in train_model.pyuv run src/train_model.py train.hyperparameters.svm__C=10

To see all available configuration options, you can use the--help flag:

# View configuration options for process.pyuv run src/process.py --help# View configuration options for train_model.pyuv run src/train_model.py --help

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp