The DAG adaptation of the Onion method
Project description
DaOpy
The DAG adaptation of the Onion method
Exmaple Usage
p = 10 # number of variables
ad = 4 # average degree
n = 100 # number of samples
g = er_dag(p, ad=ad)
g = sf_out(g)
g = randomize_graph(g)
R, B, O = corr(g)
X = simulate(B, O, n)
X = standardize(X)
cols = [f"X{i + 1}" for i in range(p)]
df = pd.DataFrame(X, columns=cols)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
daosim-0.0.1.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file daosim-0.0.1.tar.gz.
File metadata
- Download URL: daosim-0.0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
127cdb4e44a8ee208df35ceec6b9da15384a758709bcaea2b921fe9b59f4af9c
|
|
| MD5 |
7f5099de55626f1077009422092d5028
|
|
| BLAKE2b-256 |
ae04eb439ff4cfd597be977a79cc03c02867efedb1734bc4131109b1863c55e5
|
File details
Details for the file daosim-0.0.1-py3-none-any.whl.
File metadata
- Download URL: daosim-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94323a5550051ce3f9fdb9d26002810b44eae7480d7b2d7334293dafc1cc929c
|
|
| MD5 |
a97a54dfb2a9c3a90125d13bd2ca49dc
|
|
| BLAKE2b-256 |
c98ad56de1a0f412ef51207e46cac54c875989fdc0ffbed6bbc77921673edf61
|