This algoithm is part of the vantage6 solution. Vantage6 allowes to execute computations on federated datasets.
from vantage6.client import Client
# Authenticate to the server
client = Client("http://127.0.0.1", 5000, "/api")
client.authenticate("frank@iknl.nl", "password")
client.setup_encryption(None)
# algorithm input
input_ = {
"master": True,
"method": "simple_master", # or "round_robin_master"
"args": [["Sex"], ["Age"]]
}
# Create task for the server
task = client.post_task(
"testing task",
"harbor.vantage6.ai/algorithms/ctable",
collaboration_id=2,
input_=input_,
organization_ids=[1]
)
# obtain the results
client.get_results(task_id=task.get("id"))See the documentation for detailed instructions on how to install and use the server and nodes.
