Skip to content

Commit 104915a

Browse files
committed
change diagram
1 parent e345d09 commit 104915a

File tree

1 file changed

+24
-14
lines changed

1 file changed

+24
-14
lines changed

README.md

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -154,20 +154,30 @@ Best params: {'x': 0.1, 'y': 0.1}
154154

155155
## Core Concepts
156156

157-
```
158-
OPTIMIZATION LOOP
159-
160-
+--------------+ +--------------+ +--------------+
161-
| Optimizer |--->| Search |--->| Objective |
162-
| (Algorithm) | | Space | | Function |
163-
+--------------+ +--------------+ +--------------+
164-
| | |
165-
| | |
166-
v v v
167-
+----------------------------------------------------+
168-
| Search Data |
169-
| (positions, scores, metadata) |
170-
+----------------------------------------------------+
157+
```mermaid
158+
flowchart LR
159+
O["Optimizer
160+
━━━━━━━━━━
161+
21 algorithms"]
162+
163+
S["Search Space
164+
━━━━━━━━━━━━
165+
NumPy arrays"]
166+
167+
F["Objective
168+
━━━━━━━━━━
169+
f(params) → score"]
170+
171+
D[("Search Data
172+
━━━━━━━━━━━
173+
history")]
174+
175+
O -->|propose| S
176+
S -->|params| F
177+
F -->|score| O
178+
179+
O -.-> D
180+
D -.->|warm start| O
171181
```
172182

173183
**Optimizer**: Implements the search strategy. Choose from 21 algorithms across four categories: local search, global search, population-based, and sequential model-based.

0 commit comments

Comments
 (0)