Skip to content

Commit f85e41f

Browse files
authored
Merge pull request #320 from minoriinoue/minoriinoue-prediction-url
Add predictions_url as a member variable in OpenMLRun.
2 parents a5ef4a5 + 7d772f9 commit f85e41f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

openml/runs/run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def __init__(self, task_id, flow_id, dataset_id, setup_string=None,
5151
self.run_id = run_id
5252
self.model = model
5353
self.tags = tags
54+
self.predictions_url = predictions_url
5455

5556
def _generate_arff_dict(self):
5657
"""Generates the arff dictionary for uploading predictions to the server.
@@ -436,4 +437,4 @@ def _create_setup_string(model):
436437
"""Create a string representing the model"""
437438
run_environment = " ".join(_get_version_information())
438439
# fixme str(model) might contain (...)
439-
return run_environment + " " + str(model)
440+
return run_environment + " " + str(model)

0 commit comments

Comments
 (0)