Skip to article frontmatterSkip to article content

Tutorial

This notebook will demonstrate how you can use Phaeton Hub for creating and testing models.

1. Signing up and logging in

  • Go to the address of Phaeton Hub.
  • Click on Sign up.
  • Fill in your username, email and password. After signing up, click on “Login with an existing user.”
Sign up
  • Login with your username and password.

  • After logging in click on “Start my server” button.

  • There are two computing environments available, these are Datascience Notebook, Datascience Desktop and RStudio. Both options create an instance of Jupyterlab computing environment. If you select RStudio, you can start web version of RStudio IDE.

  • Datascience Desktop contains Python, Julia and R programming languages as well as a remote desktop environment to work with. In this tutorial we will use Datascience Desktop.

  • Select Datascience Desktop and click on “Start”.

Server options
  • This will create an instance of Jupyterlab. Inside the Jupyterlab you can run Jupyter notebooks (in Julia, Python or R). For now, we will use the remote desktop environment. Click on “Desktop”.
Desktop environment
  • Here, you can use multiple apps to develop and test models. If the Phaeton Hub is configured with the super user rights then you can also install apps yourself.

2. Developing and testing models

For this tutorial we will use a previously developed model.

  • Click on Terminal Emulator in Applications menu.
  • Using the terminal, clone the git repostiory for the model with the following command:
git clone https://codeberg.org/Phaeton/sample-model.git
  • Click on Applications menu and select Development ➡️ RStudio.
RStudio menu
  • Select sample-model folder in file browser in RStudio.
RStudio menu
  • Browse into the folders inside models directory. When you open a model (i.e. model.R file), click on Source above the script to run the model.