Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #17

Merged
merged 65 commits into from
Jun 1, 2022
Merged
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
52874eb
before pulling
ferzcam Feb 22, 2022
db43f4e
fix conflicts
ferzcam Feb 22, 2022
1949f2d
update
ferzcam Mar 12, 2022
61be61c
:art: update taxonomy parser to parse with transitve closure (subclass)
ferzcam Mar 13, 2022
7ce50de
:bug: fix bug in DL2Vec model. Now it accepts empty test set
ferzcam Mar 14, 2022
c6ce270
:bug: fix missing _testing attribute error
ferzcam Mar 14, 2022
452465e
:art: catEmbeddings: fix nf1loss
ferzcam Mar 16, 2022
dc78163
:sparkles: beginning evaluation framework
ferzcam Mar 26, 2022
5a18afa
:bug: support empty testing dataset
ferzcam Mar 27, 2022
10b89d6
:bug: translational model supports empty testing dataset
ferzcam Mar 27, 2022
71e179e
:bug: translational model supports empty testing dataset
ferzcam Mar 27, 2022
687d45d
:art: CatEmbeddings new notebooks and updates
ferzcam Apr 12, 2022
a5733c3
:sparkles: New functions to add annotations to ontologies
ferzcam Apr 18, 2022
872b2fd
:memo: update docs
ferzcam Apr 18, 2022
1ca8b61
Merge branch 'docs' of https://github.com/bio-ontology-research-group…
ferzcam Apr 18, 2022
708865f
:memo: update docs
ferzcam Apr 18, 2022
b04a5d5
:memo: update docs
ferzcam Apr 18, 2022
51cf60c
.
ferzcam Apr 18, 2022
dbae9aa
Merge branch 'develop' of https://github.com/bio-ontology-research-gr…
ferzcam Apr 18, 2022
007fa7a
:memo: Added list of contributors
ferzcam Apr 18, 2022
9abf7b4
:memo: Added list of contributors
ferzcam Apr 18, 2022
f5b9b7e
:bug: fix name of annotations
ferzcam Apr 20, 2022
4882f0b
Merge branch 'develop' of https://github.com/bio-ontology-research-gr…
ferzcam Apr 20, 2022
c11ab7d
:bug: enable dl2vec model to save walks
ferzcam Apr 20, 2022
74ca79a
:bug: enable dl2vec model to save walks
ferzcam Apr 20, 2022
6343dbb
Merge branch 'develop' into docs
ferzcam Apr 20, 2022
7054f5e
:bug: enable owl2vec model to save walks
ferzcam Apr 20, 2022
c0c7c32
:bug: fix owl2vec parsing for complex subclasses
ferzcam Apr 20, 2022
abc138d
:memo: Updated docs
ferzcam Apr 24, 2022
b752a34
:memo: updated tutorial section
ferzcam Apr 25, 2022
72ec014
:bug: Fixed minor bug in DL2VecParser method
ferzcam Apr 26, 2022
929131c
renaming class
ferzcam Apr 26, 2022
902fe18
renaming class
ferzcam Apr 26, 2022
e84dccb
:art: :sparkles: modifications in insert_annotations method
ferzcam Apr 26, 2022
82aba7c
.
ferzcam Apr 26, 2022
9e23814
Merge branch 'develop' into docs
ferzcam Apr 26, 2022
f141c25
tmp
ferzcam Apr 27, 2022
c2dd076
:bug: insert_annotations method:allow prefixes in document
ferzcam Apr 27, 2022
37b008f
Merge branch 'docs' into develop
ferzcam Apr 27, 2022
0d6133d
:art: Changed name Parsers to Projectors
ferzcam May 10, 2022
61e7007
:art: updated dl2vec model
ferzcam May 11, 2022
f80b6e2
:art: :sparkles: user can define amount of jvm memory
ferzcam May 11, 2022
5f52417
:art: update create_from_triples method
ferzcam May 11, 2022
603a84f
:art: updated Model class
ferzcam May 11, 2022
5faed41
:art: :sparkles: :bug: fixed evaluation bugs, added rank based evaluator
ferzcam May 11, 2022
c6c0cea
:art: :recycle: updated onto2vec using the new reasoning module
ferzcam May 11, 2022
a0ba8d6
:art: :recycle: updated elembeddings using the new reasoning module
ferzcam May 11, 2022
78817ca
:alembic: update notebooks
ferzcam May 11, 2022
a57aa01
:sparkles: :necktie: create reasoning, visualization and corpus modules
ferzcam May 11, 2022
6f2a1b1
:construction: fixing deepwalk and node2vec to include edge labels
ferzcam May 14, 2022
9143b2c
:art: :white_check_mark: Finished update of DeepWalk and Node2Vec to …
ferzcam May 14, 2022
63e95a3
:construction: redesigning Model class
ferzcam May 16, 2022
5dbf5e9
:art:
ferzcam May 18, 2022
aabebcf
:construction: updating Translational Embeddings
ferzcam May 19, 2022
9706d27
:fire: removed walkRdfAndOwl as walking method as now it is equivalen…
ferzcam May 19, 2022
57f8e76
:art: added zipping method in Edge class
ferzcam May 19, 2022
f2a64af
.
ferzcam May 22, 2022
0da8096
Merge branch 'develop' of https://github.com/bio-ontology-research-gr…
ferzcam May 22, 2022
3abbfcf
:art: updated models
ferzcam May 22, 2022
1f644c3
:art: update on methods for creating datasets
ferzcam Jun 1, 2022
d09f822
:sparkles: extend EL normalization to 7 normal forms
ferzcam Jun 1, 2022
c9cb0fb
:art: update model class
ferzcam Jun 1, 2022
fdac893
:art: :construction: update evaluation module. Working but still on d…
ferzcam Jun 1, 2022
f3bf2a0
:art: update elembeddings model to make it compatible with the evalua…
ferzcam Jun 1, 2022
86e4695
:art: update elembeddings model to make it compatible with the evalua…
ferzcam Jun 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -89,6 +89,17 @@ For the random walks method we have a similar factory method that can be found i

## List of contributors

* [Fernando Zhapa](https://github.com/ferzcam)
* [Maxat Kulmanov](https://github.com/coolmaksat)
* [Sarah Alghamdi](https://github.com/smalghamdi)
* [Robert Hoehndorf](https://github.com/leechuck)
* [Carsten Jahn](https://github.com/carsten-jahn)
* [Sonja Katz](https://github.com/sonjakatz)
* [Marco Anteghini](https://github.com/MarcoAnteghini)
* Francesco Gualdi
* [luis-sribeiro](https://github.com/luis-sribeiro)
* [Leduin Cuenca](https://github.com/leduin) (logo)

## License

## Documentation
1 change: 1 addition & 0 deletions build_jars.sh
Original file line number Diff line number Diff line change
@@ -3,4 +3,5 @@ gradle distZip
cd build/distributions
yes | unzip gateway.zip
cd ../../../
rm -f mowl/lib/*.jar
cp -r gateway/build/distributions/gateway/lib mowl
8 changes: 8 additions & 0 deletions docs/source/api/datasets/index.rst
Original file line number Diff line number Diff line change
@@ -14,3 +14,11 @@ PPI Yeast dataset
.. automodule:: mowl.datasets.ppi_yeast
:members:
:show-inheritance:


Extending ontologies
========================

.. automodule:: mowl.datasets.build_ontology
:members:
:show-inheritance:
8 changes: 1 addition & 7 deletions docs/source/api/embedding/graph_based/index.rst
Original file line number Diff line number Diff line change
@@ -11,16 +11,13 @@ DL2Vec
:undoc-members:
:show-inheritance:

Example of use
^^^^^^^^^^^^^^^
An example of use can be found at :doc:`../../../tutorials/DL2Vec`



OWL2Vec*
--------

.. automodule:: mowl.embeddings.graph_based.owl2vec_star.model
.. automodule:: mowl.embeddings.graph_based.owl2vec.model
:members:
:undoc-members:
:show-inheritance:
@@ -35,6 +32,3 @@ Translational Embeddings
:show-inheritance:


Example of use
^^^^^^^^^^^^^^^
An example can be found at :doc:`../../../tutorials/Translational`
4 changes: 0 additions & 4 deletions docs/source/api/embedding/semantic/index.rst
Original file line number Diff line number Diff line change
@@ -11,7 +11,3 @@ ELEmbeddings
:show-inheritance:


Example of use
^^^^^^^^^^^^^^^
An example can be found at :doc:`../../../tutorials/ELEmbeddings`

2 changes: 1 addition & 1 deletion docs/source/api/walking/index.rst
Original file line number Diff line number Diff line change
@@ -26,6 +26,6 @@ Node2Vec
Walk RDF and OWL
------------------

.. automodule:: mowl.walking.walkRdfAndOwl.model
.. automodule:: mowl.walking.rdf2vec.model
:members:
:show-inheritance:
38 changes: 29 additions & 9 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,29 +1,49 @@
Welcome to mOWL's documentation!
===================================

**mOWL** is a Python library for Machine Learning with Ontologies
**mOWL** is a Python library for Machine Learning with Ontologies. Here you can find several methods to generate embeddings of ontology entities as described in the paper `Semantic similarity and machine learning with ontologies <https://academic.oup.com/bib/article/22/4/bbaa199/5922325>`_.


Getting started
----------------

Check out the how to :doc:`install/index` section of the project.
.. note::

This project is under development.



**mOWL** can be installed from the `source code <https://github.com/bio-ontology-research-group/mowl>`_ or from `Test PyPi <https://test.pypi.org/project/mowl-borg/>`_.

Source code installation can be done with the following commands:

.. code:: bash
git clone https://github.com/bio-ontology-research-group/mowl.git
cd mowl
conda env create -f environment.yml
conda activate mowl
cd mowl
./build_jars.sh
For more details on installation check out the how to :doc:`install/index` section of the project.


Authors
----------

`BORG <https://cemse.kaust.edu.sa/borg>`_
**mOWL** is a project initiated and developed by the `Bio-Ontology Research Group <https://cemse.kaust.edu.sa/borg>`_ from KAUST.
Furthermore, mOWL had other collaboration by being part of the `Biohackathon Europe 2021 <https://2021.biohackathon-europe.org/>`_.

License
---------------

The package is released under the `DEFINE LICENSE`.


.. note::

This project is under active development.
The package is released under the BSD 3-Clause License.


.. toctree::
19 changes: 15 additions & 4 deletions docs/source/install/index.rst
Original file line number Diff line number Diff line change
@@ -7,12 +7,13 @@ System requirements
- Ubuntu >16.04
- Python version >3.8

Install
-------------------
Install from source code
--------------------------

Installation can be done with the following commands:

.. code:: bash
git clone https://github.com/bio-ontology-research-group/mowl.git
cd mowl
@@ -21,7 +22,17 @@ Installation can be done with the following commands:
conda activate mowl
cd mowl
./rebuild.sh
./build_jars.sh
Since mOWL needs to bind the Java Virtual Machine, the last line will generate the necessary `jar` files.


The last line will generate the necessary `jar` files to bind Python with the code that runs in the JVM

Install from PyPi
------------------------------

PyPi installation is on testing phase and can be done as follows:

.. code:: bash
pip install -i https://test.pypi.org/simple/ mowl-borg
Loading