ComfyUI Node
Formula Data Generator
A ComfyUI node in d2l/Datasets with 9 inputs and 3 outputs.
Formula Data Generator
- model
- X
- y
- dataset
◄formula2 + 3*x0 - 1.5*x1 + 0.5*sin(6*x0)►
◄num_examples1000►
◄x_min-3.0►
◄x_max3.0►
◄samplinguniform►
◄noisegaussian►
◄noise_std0.10►
◄seed0►
Categoryd2l/Datasets
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| formula | STRING | 2 + 3*x0 - 1.5*x1 + 0.5*sin(6*x0) | — |
| num_examples | INT | 10001–1000000 | — |
| x_min | FLOAT | -3.0-1000000–1000000 | — |
| x_max | FLOAT | 3.0-1000000–1000000 | — |
| sampling | COMBO | uniform | 2 options: uniform, normal |
| noise | COMBO | gaussian | 3 options: none, gaussian, uniform |
| noise_std | FLOAT | 0.100–1000 | — |
| seed | INT | 00–99999 | — |
| modelopt | nn_model | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| X | TENSOR | — |
| y | TENSOR | — |
| dataset | DATASET | — |