Summary
Add this information at task level:
- task description
- the name of the task owner
- the POM
- algorithm name
- the quorum
- a “rewards” field to define how the task is rewarded
- a “datasets” field to define the topology and dataset description to be used
- the number or list of participants who have joined the task
Justification
Add useful information for the user who wants to join a task. All of this information should be set by the task creator.
"Must have" functionality
All of these information are stored during the task creation and retrievable by any user (ffl.get_tasks() method); some information may only be retrievable by the task creator.
Example
A JSON model example (we can further discuss about some of this information):
{
"task_name": "Test",
"status": "CREATED",
"description": "Task test",
"added": "2020-01-20T12:00:00",
"topology": "STAR",
"participants": 4,
"owner": "owner_name",
"model_type": "Kmeans",
"POM": 1,
"quorum": 5,
"reward": "collaborative"
"datasets": [
{
"type": "image",
"description": "High-res images depicting people",
"features": {
"extension": "png",
"maxHeight": 16000000,
"maxWidth": 16000000
}
},
{
"type": "tabular",
"description": "Data about people",
"sample": [
"Lucas",
35
],
"features": {
"extension": "csv",
"size": 223000000,
"columns": [
{
"name": "Name",
"type": "string",
"description": "Person first name",
"isLabel": false
},
{
"name": "Age",
"type": "number",
"description": "Person age",
"isLabel": true
}
]
}
}
],
"definition": {
"NC": 2,
"maxIterations": 100
}
}
Summary
Add this information at task level:
- task description
- the name of the task owner
- the POM
- algorithm name
- the quorum
- a “rewards” field to define how the task is rewarded
- a “datasets” field to define the topology and dataset description to be used
- the number or list of participants who have joined the task
Justification
Add useful information for the user who wants to join a task. All of this information should be set by the task creator.
"Must have" functionality
All of these information are stored during the task creation and retrievable by any user (ffl.get_tasks() method); some information may only be retrievable by the task creator.
Example
A JSON model example (we can further discuss about some of this information):
{
"task_name": "Test",
"status": "CREATED",
"description": "Task test",
"added": "2020-01-20T12:00:00",
"topology": "STAR",
"participants": 4,
"owner": "owner_name",
"model_type": "Kmeans",
"POM": 1,
"quorum": 5,
"reward": "collaborative"
"datasets": [
{
"type": "image",
"description": "High-res images depicting people",
"features": {
"extension": "png",
"maxHeight": 16000000,
"maxWidth": 16000000
}
},
{
"type": "tabular",
"description": "Data about people",
"sample": [
"Lucas",
35
],
"features": {
"extension": "csv",
"size": 223000000,
"columns": [
{
"name": "Name",
"type": "string",
"description": "Person first name",
"isLabel": false
},
{
"name": "Age",
"type": "number",
"description": "Person age",
"isLabel": true
}
]
}
}
],
"definition": {
"NC": 2,
"maxIterations": 100
}
}