pglearn-devkit
is a package designed to make the pagaya_learn
package the most accessible it can possibly be. Some immediate goals of pglearn-devkit
package are:
- To make accessing pre-existing policies that are "in the wild" easy.
- To enable "playing around" with those same policies.
- In terms of exploration - Gain a more digestible insight about the jobs of each policy, and the steps of each job.
- Open a terminal window.
- Clone the repository and cd into it:
git clone https://github.com/ronmorgen1/devkit-walkthrough.git && cd devkit-walkthrough
- Let's check that we have a valid pip.conf file:
cat ~/.config/pip/pip.conf
. The expected output is:
[global]
# The fixed index-url path
index-url = https://pagaya_user:********************@pypi.pagaya-services.com/
- If you're getting the desired output, move to the next section. If you don't get that, you need to create a new pip config file:
mkdir ~/.config/pip
. - After you created the folder above, download this file and place it in the newly created folder:
mv ~/Downloads/pip.conf ~/.config/pip/pip.conf
- Create a new python environment:
python3 -m venv venv && source venv/bin/activate
- Install the package by running:
pip install pglearn-devkit
Follow to code-comments in the basic example file to see how to use the package.
The documentation for pglearn-devkit
is available in the documentation center