Upload README.md
Browse files
README.md
CHANGED
|
@@ -12,9 +12,12 @@ tags:
|
|
| 12 |
|
| 13 |
# ArrowFM Base
|
| 14 |
|
| 15 |
-
|
| 16 |
|
| 17 |
-
Given a numeric dataset,
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
## Usage
|
| 20 |
|
|
@@ -30,8 +33,7 @@ Run inference:
|
|
| 30 |
import torch
|
| 31 |
from arrowfm import ArrowPredictor
|
| 32 |
|
| 33 |
-
predictor = ArrowPredictor
|
| 34 |
-
|
| 35 |
x = torch.randn(100, 10)
|
| 36 |
adj = predictor.predict_adjacency(x)
|
| 37 |
```
|
|
@@ -44,12 +46,6 @@ To also return edge probabilities:
|
|
| 44 |
adj, p_hat = predictor.predict_adjacency(x, return_p_hat = True)
|
| 45 |
```
|
| 46 |
|
| 47 |
-
## Notes
|
| 48 |
-
|
| 49 |
-
- Inputs are standardized internally before inference.
|
| 50 |
-
- The model is intended for research and exploratory causal discovery.
|
| 51 |
-
- Predicted graphs should be treated as hypotheses, not definitive causal claims.
|
| 52 |
-
|
| 53 |
## Citation
|
| 54 |
|
| 55 |
```bibtex
|
|
|
|
| 12 |
|
| 13 |
# ArrowFM Base
|
| 14 |
|
| 15 |
+
Arrow is a zero-shot foundation model for causal discovery from observational tabular data.
|
| 16 |
|
| 17 |
+
Given a numeric dataset, Arrow predicts edge-existence probabilities and node-order scores, then decodes them into a directed acyclic graph (DAG).
|
| 18 |
+
|
| 19 |
+
- Paper: [Arrow: A Foundation Model for Causal Discovery](https://arxiv.org/abs/2605.07204)
|
| 20 |
+
- Code: [github.com/ryan-thompson/arrowfm](https://github.com/ryan-thompson/arrowfm)
|
| 21 |
|
| 22 |
## Usage
|
| 23 |
|
|
|
|
| 33 |
import torch
|
| 34 |
from arrowfm import ArrowPredictor
|
| 35 |
|
| 36 |
+
predictor = ArrowPredictor()
|
|
|
|
| 37 |
x = torch.randn(100, 10)
|
| 38 |
adj = predictor.predict_adjacency(x)
|
| 39 |
```
|
|
|
|
| 46 |
adj, p_hat = predictor.predict_adjacency(x, return_p_hat = True)
|
| 47 |
```
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
## Citation
|
| 50 |
|
| 51 |
```bibtex
|