Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Saethox committed Dec 11, 2024
1 parent 2048b47 commit 330ba38
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,22 @@ Tested with Python 3.12.
pip install git+https://github.com/Saethox/iracepy-tiny#egg=irace
```

### Usage

```python
from irace import irace, ParameterSpace, Scenario, Experiment


def target_runner(experiment: Experiment, scenario: Scenario) -> float:
...


parameter_space = ParameterSpace(...)
scenario = Scenario(...)

result = irace.irace(target_runner, parameter_space)
```

## Examples

See the [examples](./examples) directory.

0 comments on commit 330ba38

Please sign in to comment.