Skip to main content

a tool for detect the relationship between variables

Project description

GeoDetector

This is a simple GeoDetector which can be used to the determinant power of a covariate X of Y.

Now only interaction_detect, and q_values is available.

Install

pip install geodetector

then the geodetector will be installed


here is a basic example
```python
from geodetector import geodetector

df = load_disease()
gd = GeoDetector(df,["type", "region", "level"], "incidence")

# directly plot the result
gd.plot() # show the q_values bar of each covariate
gd.plot_interaction() # show the interaction bar of each covariate

# interaction detect and save the result
result = gd.interaction_detect()
result.to_excel("q.xlsx")

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

geodetector-0.0.3.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

geodetector-0.0.3-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file geodetector-0.0.3.tar.gz.

File metadata

  • Download URL: geodetector-0.0.3.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for geodetector-0.0.3.tar.gz
Algorithm Hash digest
SHA256 390e26cea58c87f3b2c34ff50d3e49e8ea0a3871abfdad11669ad5bb0801cb09
MD5 4cf2793351271e8f602e2a619b458c53
BLAKE2b-256 e67fe31ecc163a49178e5dbf9a5c7ef7af01e830471ba3d7ee37b1d8157cebb3

See more details on using hashes here.

File details

Details for the file geodetector-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: geodetector-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for geodetector-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 079648be2d86e61ecc63ec780dde376e8745bc9e406f6e4e68f2bda61be199c4
MD5 b5bf18f1817cc86d964504bc885af005
BLAKE2b-256 9e35325919cd6664d1359cc14d4628be0122b87f7d7cbb2232cb0a0786574a8a

See more details on using hashes here.

Supported by

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