Graph ML in one call: softgraph(task=..., dataset=..., ...)
Project description
softgraph (one-call API)
Import once, call once, get results.
import softgraph
# Node classification on SBM in one call
run = softgraph.softgraph(
task="node_classification",
dataset="sbm",
n=600, k=4, p_in=0.09, p_out=0.02,
features="degree+pagerank+cluster",
model="logreg",
test_size=0.2,
random_state=42,
plot=True
)
print(run["metrics"])
Supported tasks
node_classification(dataset:sbm)edge_classification(dataset:signed_sbm)temporal_link_prediction(dataset:temporal_contacts)
All run objects include:
{
"task": "...",
"metrics": {...},
"artifacts": {...} # e.g., figures
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
softgraph-0.2.0.tar.gz
(5.2 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 softgraph-0.2.0.tar.gz.
File metadata
- Download URL: softgraph-0.2.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d81c5ead767d903c6ad7f9a42520f47cb715cf0b5b8fe02ef7d9c3bc373ded1
|
|
| MD5 |
e2794b0d9cddcb0027cc709e2f3d8e16
|
|
| BLAKE2b-256 |
3634213c56d8c001e316adf1c6e3832a1849dad19e16bde0ac2e44415c731751
|
File details
Details for the file softgraph-0.2.0-py3-none-any.whl.
File metadata
- Download URL: softgraph-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7741f6dae8767cc6803989cbf3778c1087d51482e5859aba1e74e22e8bb0dfee
|
|
| MD5 |
cca722f4dbe949744155d852c81beb39
|
|
| BLAKE2b-256 |
346206b240e6b6fba6a857d3d4325454bc81229abe9004d93952ca930dc86e05
|