Skip to content

Commit c5f8171

Browse files
added notebook example
1 parent 974a6ab commit c5f8171

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

OpenMLDemo.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
},
4747
{
4848
"cell_type": "code",
49-
"input": "task = openml.download_task(10)\nprint task\nclf = ensemble.RandomForestClassifier()\nX, y = task.get_X_and_Y()\nclf.fit(X, y)\nprint clf\nprediction_path, description_path = openml_run(task, clf)\n\n#import json\n#print(json.dumps(xmltodict.parse(open(os.path.abspath(description_path), \"r\").read()), indent=4))",
49+
"input": "task = openml.download_task(10)\nprint task\nclf = ensemble.RandomForestClassifier()\nprint clf\nprediction_path, description_path = openml_run(task, clf)\n\n#import json\n#print(json.dumps(xmltodict.parse(open(os.path.abspath(description_path), \"r\").read()), indent=4))",
5050
"outputs": [
5151
{
5252
"output_type": "stream",
@@ -60,12 +60,12 @@
6060
"executionInfo": {
6161
"content": {
6262
"status": "ok",
63-
"execution_count": 35,
63+
"execution_count": 36,
6464
"payload": [],
6565
"user_expressions": {},
6666
"user_variables": {}
6767
},
68-
"timestamp": 1455280601582,
68+
"timestamp": 1455281320291,
6969
"user_tz": -60,
7070
"user": {
7171
"sessionId": "284b6c114ba378fe",

0 commit comments

Comments
 (0)