Publishing Rankings with OpenRank SDK
Publishing rankings after running the OpenRank SDK
Introduction
The OpenRank SDK allows you to compute and publish trust rankings using the EigenTrust algorithm. This document provides the documentation of the available methods, including description of the parameters and an example for quick reference.
The published urls can be found on -
Methods
run_and_publish_eigentrust
run_and_publish_eigentrust
Description
Runs the EigenTrust algorithm using local trust and pre-trust data, and publishes the results.
Parameters
Name | Type | Description | Default |
---|---|---|---|
|
| The ID for publishing the results. (This will be used to query the published rankings) | - |
|
| List of local trust values. Each item is a dictionary with keys: | - |
|
| List of pre-trust values. Each item is a dictionary with keys: |
|
|
| Additional keyword arguments. | - |
|
| If |
|
Returns
Tuple[List[Score], str]
: A tuple containing:List[Score]
: List of computed scores.str
: URL of the published results.
publish_eigentrust
publish_eigentrust
Description
Publishes the EigenTrust results.
Parameters
Name | Type | Description | Default |
---|---|---|---|
|
| The ID for publishing the results. | - |
|
| List of computed scores. | - |
|
| Additional keyword arguments. | - |
|
| If |
|
Returns
str
: URL of the published results.
Example
Last updated