Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README with usage notes and parameter adjustments #225

Merged
merged 3 commits into from
Mar 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,11 @@ from evox.metrics import igd
from evox.problems.numerical import DTLZ2
from evox.workflows import StdWorkflow, EvalMonitor

prob = DTLZ2(m=3)
prob = DTLZ2(m=2)
pf = prob.pf()
algo = RVEA(
pop_size=100,
n_objs=3,
n_objs=2,
lb=-torch.zeros(12),
ub=torch.ones(12)
)
Expand Down Expand Up @@ -307,6 +307,8 @@ workflow = StdWorkflow(
workflow.init_step()
for i in range(50):
workflow.step()

monitor.plot() # or monitor.plot().show() if you are using headless mode
```

<details>
Expand Down
6 changes: 4 additions & 2 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,11 @@ from evox.metrics import igd
from evox.problems.numerical import DTLZ2
from evox.workflows import StdWorkflow, EvalMonitor

prob = DTLZ2(m=3)
prob = DTLZ2(m=2)
pf = prob.pf()
algo = RVEA(
pop_size=100,
n_objs=3,
n_objs=2,
lb=-torch.zeros(12),
ub=torch.ones(12)
)
Expand Down Expand Up @@ -304,6 +304,8 @@ workflow = StdWorkflow(
workflow.init_step()
for i in range(50):
workflow.step()

monitor.plot() # 或者在终端模式下调用 monitor.plot().show()
```

<details>
Expand Down
49,034 changes: 20,617 additions & 28,417 deletions docs/source/example/so-algorithm.ipynb

Large diffs are not rendered by default.

Loading