Skip to main content

This is a pretty simple prospectivity prediction package that predicts the prospectivity of an element based on how close it is to different bedrock units.

Overview of Package

The package utilizes 3 main classes.

  • PrepShapes

    • handles exploring and prepping a shapefile and determining the project boundary. It can read in a single shapefile (using geopandas) and then you can use it to select the polygons of interest.

  • RasterTemplate

    • uses the previously initialized PrepShapes() class to help you setup the raster template used by the predictor to predict prospectivity at a specified location.

  • PredictByDistance

    • the predictor class that predicts the likelihood based on distance to shapes of interest and the weighting schema architect. The predictor class uses the previously initialized PrepShapes() and RasterTemplate() classes. Only one prediction architect is currently implemented.

Prediction Weighting Schema

Currently this package uses a pseudo variogram style weighting schema with the following model (for location i and as an example 2 distances)

CodeCogsEqn.gif

Generating a prospectivity heat map

Using the package you can generate a heat map with liklihood of finding the element (based on a distance from 2 or more shape categories). The predictor generates prediction values ranging from 0, being least likely (i.e. 0%), to 1, being most likely (i.e. 100%). As an example here is a heat map generated from the included dataset.

Data/predictionHeatMap_projectBoundary.png

Example

An example.ipynb is included in the repo to demostate how to use the package.

Dataset

the included dataset is from the British Columbia Geologica Survey.

Metadata

Release files for prospectpredictor 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prospectpredictor 0.1.1
File Size Uploaded
prospectpredictor-0.1.1.tar.gz 13.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for prospectpredictor 0.1.1
File Interpreter ABI Platform
prospectpredictor-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.6 kB

Release files / prospectpredictor-0.1.1.tar.gz

Download URL prospectpredictor-0.1.1.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9b375f0436b60fd9d5fdbb183b6e1382d9963d50db181ee2c8212e7daaeb18bf
BLAKE2b-256 checksum
How to use checksums
e78f537b2ff377965d81e19cb577acff29334c449d2dfde08d42a3f4ee6f486a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200209 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.2

Release files / prospectpredictor-0.1.1-py3-none-any.whl

Download URL prospectpredictor-0.1.1-py3-none-any.whl
Size 14.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac07dbfa77ffa918caf0370250fc67cb81f42510fe93a4bd6f7bba35b8d9427a
BLAKE2b-256 checksum
How to use checksums
34880c2a8697ddf18854a7eba9959ddc88914a9e52e842aee05ad893f89c86f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200209 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page