This repository is a growing collection of supplementary material for our book Representation learning: propositionalization and embeddings. Currently, a number of Jupyter notebooks illustrating the selected parts of the book is available.
- Introduction to Representation Learning
- Machine Learning Background
- Text Embeddings
- Propositionalization of Multi-Relational Data
- Graph and Heterogeneous Network Transformations
- Unifying approaches
The notebooks work best in a local installation containing Jupyter lab and other required packages. If you prefer docker or if you experience difficulties running the notebooks on your host operating system, you can try using the provided docker-compose.yml file
as follows:
git clone [email protected]:vpodpecan/representation_learning.git
cd representation_learning
docker-compose up
When the container is up and running it will return a link to the Jupyter environment such as http://127.0.0.1:8888/?token=159090399d58b41041bfc812cf2bf5aa1779fb54a6170005
. There you can open and run the provided notebooks.
- python 3.8+ (3.6 and 3.7 were also tested and should work as well)
- jupyterlab
In addition, each notebook has its own requirements which are installed when the notebook is executed for the first time.
-
Create and activate a virtual environment.
-
Linux
python3 -m venv myEnv source myEnv/bin/activate
-
Windows
python3 -m venv myEnv myEnv\Scripts\activate
-
-
Clone the repository
git clone https://github.com/vpodpecan/representation_learning.git
-
Install and run jupyterlab. The following commands install jupyterlab and run it.
pip install jupyterlab cd representation_learning jupyter lab
-
Open the link in a web browser and select a notebook.
Contributions are welcome! You are welcome to contribute corrections, new notebooks, examples, figures or any other material related to the contents of the book.
The code and materials in this repository are licensed under the MIT license except where stated otherwise.