Skip to main content

WaterBenchmarkHub

Project description

WaterBenchmarkHub

The WaterBenchmarkHub is a platform for providing benchmark resources regarding Water Distribution Networks (WDNs). The webpage is available at https://waterfutures.github.io/WaterBenchmarkHub -- see docs/ for details such as source code, etc.

The availability and accessibility of benchmarks are essential for reproducible research as well as for accelerating scientific progress. A benchmark is a verified data set or resource (e.g. a water distribution network) together with an evaluation functions that can evaluate different algorithms/methods under the same criteria.

The WaterBenchmarkHub is also available as a Python package water-benchmark-hub.

Call for Contributions

If you have a benchmark (resource) that is not yet available in the WaterBenchmarkHub, please either create a new issue or read on How to Contribute.

Installation of the Python Package

The Python package supports Python 3.9 - 3.12

PyPI

pip install water-benchmark-hub

Git

Download or clone the repository:

git clone https://github.com/WaterFutures/WaterBenchmarkHub.git
cd WaterBenchmarkHub

Install all requirements as listed in REQUIREMENTS.txt:

pip install -r REQUIREMENTS.txt

Install the benchmark hub:

pip install .

Quick Example

from water_benchmark_hub import load


if __name__ == "__main__":
    # Load the GECCO Water Quality 2019 benchmark
    benchmark = load("GECCO-WaterQuality2019")

    # Load data set
    data = benchmark.load_data(return_X_y=True)

    # Show number of samples
    X_train, y_train = data["train"]
    X_val, y_val = data["validation"]
    X_test, y_test = data["test"]
    print(X_train.shape, X_val.shape, X_test.shape)

Documentation

Documentation is available on readthedocs: https://waterbenchmarkhub.readthedocs.io/en/latest/

License

MIT license -- see LICENSE

How to Cite?

If you use the WaterBenchmarkHub in your research, please cite it as follows:

@misc{github:water_benchmark_hub,
        author = {André Artelt, Katharina Giese},
        title = {WaterBenchmarkHub},
        year = {2024},
        publisher = {GitHub},
        journal = {GitHub repository},
        howpublished = {\url{https://github.com/WaterFutures/WaterBenchmarkHub}}
    }

How to get Support?

If you come across any bug or need assistance please feel free to open a new issue if none of the existing issues answers your questions.

How to Contribute?

Contributions (e.g. creating issues, pull-requests, etc.) are welcome -- please make sure to read How to Contribute, the code of conduct and follow the developers' guidelines.

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

water_benchmark_hub-0.2.0.tar.gz (291.0 kB view details)

Uploaded Source

Built Distribution

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

water_benchmark_hub-0.2.0-py3-none-any.whl (104.9 kB view details)

Uploaded Python 3

File details

Details for the file water_benchmark_hub-0.2.0.tar.gz.

File metadata

  • Download URL: water_benchmark_hub-0.2.0.tar.gz
  • Upload date:
  • Size: 291.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for water_benchmark_hub-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6433aaba6c28914d915efe2674b30ff997f033f65a5f50e1caf4c100df9df4e2
MD5 46f809aeb525e5c0d86eb0ded7737326
BLAKE2b-256 21ab3e7cf12659ef3b01202307112d25eccaad7b03b25be824c86adaf04f2a23

See more details on using hashes here.

File details

Details for the file water_benchmark_hub-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for water_benchmark_hub-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21e91767a781ba217a31f8befc734edb720a250c9a962fefb83bc7cedc77d384
MD5 0563853deb08614a61e93bc7462bce5a
BLAKE2b-256 4463d4cfd2c5c4591a4e9a640dba3a2541d9e6abf9c2cd1b7c8a590c862f298d

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