Skip to content

Commit

Permalink
show how to import the model
Browse files Browse the repository at this point in the history
  • Loading branch information
radiradev committed May 6, 2024
1 parent 60ba199 commit 323602f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pip install flowmatching-bdt

```python
from sklearn.datasets import make_moons
from flowmatching_bdt import FlowMatchingBDT

data, _ = make_moons(n_samples=1000, noise=0.1, random_state=0)
model = FlowMatchingBDT()
Expand All @@ -35,6 +36,7 @@ If you'd like to do conditional generation:
```python
import numpy as np
from sklearn.datasets import make_moons
from flowmatching_bdt import FlowMatchingBDT

data, labels = make_moons(n_samples=1000, noise=0.1, random_state=42)
model = FlowMatchingBDT()
Expand Down

0 comments on commit 323602f

Please sign in to comment.