Git Product home page Git Product logo

pyclkde's Introduction

PyCLKDE

A big data-enabled high-performance computational framework for species habitat suitability modeling and mapping

Citation

Zhang, G. (2022). PyCLKDE: A big data-enabled high-performance computational framework for species habitat suitability modeling and mapping. Transactions in GIS, 26(4), 1754โ€“1774. https://doi.org/10.1111/tgis.12901.

Compatible Operating Systems

Linux/Windows/Mac

Setting up Computing Environment:

  1. Install GPU drivers. If you are using NVIDIA GPUs, OpenCL support is included in the driver (https://developer.nvidia.com/opencl). If you are using AMD GPU/CPU, install appropriate OpenCL drivers from AMD (This link provides helpful pointers microsoft/LightGBM#1342). If you are using Intel GPU/CPU, install appropriate OpenCL drivers from Intel (e.g., https://software.intel.com/en-us/articles/opencl-drivers).
  2. It's assumed that you already have Python (version 2.7 or 3.x) installed. Anaconda is recommended for installing Python https://www.anaconda.com/distribution/.
  3. Install Python GDAL (https://pypi.org/project/GDAL/).
  4. Once OpenCL drivers, Python and Python GDAL are properly installed, you can use pip to install the PyOpenCL package (https://pypi.org/project/pyopencl/).
  5. Run pyopencl_test.py to test if PyOpenCL is working properly: python pyopencl_test.py (or pyopencl_test_py3.py).

Run PyCLKDE with Sample Data:

  1. Run pyopencl_test.py to see a list of available OpenCL computing platforms/devices on your computer: python pyopencl_test.py (or pyopencl_test_py3.py).
  2. Change configurations in the OPENCL_CONFIG variable in utility/config.py accordingly.
  3. Run PyCLKDE_main.py to get a sense of how to use PyCLKDE (using example data provided): python PyCLKDE_main.py

Use PyCLKDE for Your Own Application:

  1. Prepare species occurrence data and environmental covariate data following the example data in the "data" directory
  2. Change parameters (e.g., data directory, data file names, etc.) in PyCLKDE_main.py
  3. Run PyCLKDE_main.py: python PyCLKDE_main.py.py

License

Copyright 2022 Guiming Zhang. Distributed under GNU license.

Contact

[email protected]

pyclkde's People

Contributors

guiming avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.