Crates.io | ffgen |
lib.rs | ffgen |
version | 0.3.5 |
source | src |
created_at | 2021-11-30 11:21:54.180777 |
updated_at | 2022-01-05 10:24:58.618242 |
description | A fast fake feature generator |
homepage | https://github.com/oom-ai/ffgen |
repository | https://github.com/oom-ai/ffgen |
max_upload_size | |
id | 489742 |
size | 69,882 |
A fast fake feature generator
$ ffgen group account -r fraud_detection.yaml | csview
+------+----------------+--------------+------------------+-------------------+
| user | state | credit_score | account_age_days | has_2fa_installed |
+------+----------------+--------------+------------------+-------------------+
| 1 | North Carolina | 619 | 1082 | true |
| 2 | Virginia | 686 | 596 | true |
| 3 | Oregon | 576 | 960 | false |
| 4 | Nevada | 540 | 1049 | false |
| 5 | Massachusetts | 535 | 229 | true |
| 6 | West Virginia | 537 | 462 | false |
| 7 | New York | 665 | 156 | false |
| 8 | Idaho | 706 | 891 | false |
| 9 | Arizona | 667 | 1068 | true |
| 10 | South Carolina | 526 | 541 | true |
+------+----------------+--------------+------------------+-------------------+
Integration with oomstore
$ ffgen schema -r driver_stats.yaml | oomcli apply -f /dev/stdin
2021/11/30 18:55:26 applied
$ ffgen group account -r fraud_detection.yaml | oomcli import -g account --input-file /dev/stdin
2021/11/30 18:56:31 importing features ...
2021/11/30 18:56:31 succeeded
RevisionID: 1
Pre-built versions of ffgen
for various architectures are available at Github release page.
Note that you can try the musl
version (which is statically-linked) if runs into dependency related errors.
ffgen
is also published on crates.io. If you have Rust toolchains (nightly) installed you can use cargo
to install it from source:
cargo install --locked ffgen
If you want the latest version, clone this repository and run cargo install --path .
.