Skip to main content

FactorGuide

Python client for the FactorGuide decision intelligence oracle.

FactorGuide answers one question: which couplings in your system are load-bearing and which can you safely ignore? Send a coupling matrix from any domain — portfolios, Bayesian models, sensor networks, multi-agent systems — and get back zone classifications, optimal factorization strategy, and calibrated risk predictions.

Install

pip install factorguide

Quick start

from factorguide import FactorGuideClient

fg = FactorGuideClient()

# Full navigation: zone classification + block-diagonal strategy
result = fg.navigate(
    coupling={"correlation_matrix": [[1.0, 0.5], [0.5, 1.0]]},
    sample_size=200,
)

# What zone is the pair in?
pair = result["dipole_analysis"]["pair_classification"][0]
print(f"IC = {pair['ic']}, Zone = {pair['zone']}")

# Quick single-pair diagnostic
diag = fg.diagnose(i="x", j="y", coupling_value=0.3, sample_size=100)
print(f"Constitutive risk: {diag['risk_constitutive']:.1f}x")
print(f"Inductive risk: {diag['risk_inductive']:.1f}x")

# Report outcome to improve future predictions (free)
fg.report_outcome(
    prediction_hash=result["prediction"]["prediction_hash"],
    approach_taken="factorized",
    ess_ratio=0.85,
)

Payment

Trial tier: 15 free queries per wallet, no payment required.

Paid tiers: send stablecoins to the wallet address in the 402 response, then submit the transaction hash via the API. See factorguide.io for pricing.

Links

mcp-name: io.factorguide/factorguide

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

factorguide-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

factorguide-0.1.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file factorguide-0.1.1.tar.gz.

File metadata

  • Download URL: factorguide-0.1.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for factorguide-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9893d37b31222d57e97e0ddb398344a29471ef6b927fdb5322c78e861c44ec2b
MD5 dd406e71591d229d79039a35a4c3a6e2
BLAKE2b-256 efe6925efb9255f80f50f2a45930b8cceb3b5579c90c84d92c516a28ad73aec9

See more details on using hashes here.

File details

Details for the file factorguide-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: factorguide-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for factorguide-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f7546ce3c58cc26ae5c0b9f7b5a35fbb55b66ba2d2ecb7179fe2cd0d4384197
MD5 08593e9dcd96dd5a886a85133ebe213a
BLAKE2b-256 8125d57a8bb6cf821f3d0711bbaafa9863d93e80c61f7b2bcadab4a32f6dc30b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page