Skip to main content

mOWL: A machine learning library with ontologies

Project description

mOWL: Machine Learning Library with Ontologies

mOWL is a library that provides different machine learning methods in which ontologies are used as background knowledge. mOWL is developed mainly in Python, but we have integrated the functionalities of OWLAPI, which is written in Java, for which we use JPype to bind Python with the Java Virtual Machine (JVM).

Table of contents

Installation

System dependencies

  • JDK version 17
  • Python version: 3.8, 3.9, 3.10, 3.11
  • Conda version >= 4.x.x

Python requirements

  • Gensim >= 4.x.x
  • PyTorch >= 1.12.x
  • PyKEEN >= 1.10.1

Install from PyPi

pip install mowl-borg

Build from source

Installation can be done with the following commands:

git clone https://github.com/bio-ontology-research-group/mowl.git

cd mowl

conda env create -f envs/environment_3.8.yml
conda activate mowl

./build_jars.sh

python setup.py install

The line ./build_jars.sh will generate the necessary jar files to bind Python with the code that runs in the JVM. After building, a .tar.gz file will be generated under dist and can be used to install mOWL.

List of contributors

License

This software library is distributed under the BSD-3-Clause license

Documentation

Full documentation and API reference can be found in our ReadTheDocs website.

ChangeLog

ChangeLog is available in our changelog file and also in the release section.

Citation

If you used mOWL in your work, please consider citing this article:

@article{10.1093/bioinformatics/btac811,
    author = {Zhapa-Camacho, Fernando and Kulmanov, Maxat and Hoehndorf, Robert},
    title = "{mOWL: Python library for machine learning with biomedical ontologies}",
    journal = {Bioinformatics},
    year = {2022},
    month = {12},
    issn = {1367-4803},
    doi = {10.1093/bioinformatics/btac811},
    url = {https://doi.org/10.1093/bioinformatics/btac811},
    note = {btac811},
    eprint = {https://academic.oup.com/bioinformatics/advance-article-pdf/doi/10.1093/bioinformatics/btac811/48438324/btac811.pdf},
}

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

mowl-borg-0.2.0.tar.gz (68.8 MB view details)

Uploaded Source

Built Distribution

mowl_borg-0.2.0-py3-none-any.whl (68.9 MB view details)

Uploaded Python 3

File details

Details for the file mowl-borg-0.2.0.tar.gz.

File metadata

  • Download URL: mowl-borg-0.2.0.tar.gz
  • Upload date:
  • Size: 68.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for mowl-borg-0.2.0.tar.gz
Algorithm Hash digest
SHA256 09485e880be6bc7bdf2b4850bdb3b24ff59295c0b3de47ce051958fe4ed810a2
MD5 c726b1681d3f85bb8f0fba35ebb7b67a
BLAKE2b-256 bc4ce50b287ee3b3102437fa1a9caa75e5d8bf7ca93c27d685ed20a56ee0cbb1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mowl_borg-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 68.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for mowl_borg-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc42d3c70b55417ad8a9eba8f8fe47b62d34e574304fc8b164b79be438918bdd
MD5 1664d65783e612d0d9bf576ca0a04e51
BLAKE2b-256 6e55557a385489c291e32f228f03ad5e6b59dd529a0b375d8ef01b6741df6834

See more details on using hashes here.

Supported by

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