...
First of all you have to define the data you would like to store into the property service. In our example we are going to store some machine learning results into the provenance dataset ml-algorithms.
Code Block | ||
---|---|---|
| ||
# define data to store ml_datasets = [ { "name": "ml-algorithms", "responsible": "John Doe", "type": "algorithm", "description": "no comment!" } ] ml_result = { 'time_end': '2016-01-22T17:27:59.001Z', 'lat_hg': 12, 'long_hg': 4.2, 'algorithm_name': 'LassoCV', 'algorithm_parameters': { 'store': 'what you want', 'also here': [1, 2, 3, 4] } } |
...