The Algos drawer is where user can manage and execute algorithms, and manage background tasks.
Algorithm List tab is selected by default when opening the drawer.
Ultipa Manager displays algorithms under the following groups:
- OSN and Community
- Graph Embedding
Click the Switch Style icon on the top right of the page to switch between Cards and List view. When there are many algorithms installed, you can search by algorithm name.
Install and Uninstall
Click the Spanner icon on the top right of the page to install new algorithms. For each algorithm, you need to upload algorithm installation file (.so) and configuration file (.yml); multiple algorithms can be installed at the same time.
Please contact [email protected] to acquire these resources of the algorithms you need.
Click the Trash icon on the top right of the algorithm card to delete the algorithm, multiple algorithms can be deleted in bundle. You cannot recover deleted algorithms from Ultipa Manager.
Click the algorithm card to configure parameters and execute algorithm.
You can also run algorithm by writing
algo()command in the UQL editor.
Example of algorithm execution with property writeback: Click algorithm KHop Whole Graph, type kNum in the write_db_property field, run the algorithm:
Open Schema drawer to check, properties kNum are added under every node schema, which stores the number of 1-hop neighbors of each node:
Example of algorithm execution with file writeback: Click algorithm KHop Whole Graph, type khop1 in the write_file_filename_ids field, run the algorithm:
Click khop1 in the Result column to download the file, in this example the content in the file is:
The above two executions are running as background task. If you can't see the results immediately, click Refresh List to refresh.
Example of algorithm execution with direct return: Click algorithm KHop Whole Graph, open return and fill in the return statement, run the algorithm:
The table that returned contains the number of 1-hop neighbors of all nodes.
Click Task List on top of the page to check all background tasks of the current instance: