|
12 | 12 | }, |
13 | 13 | { |
14 | 14 | "cell_type": "code", |
15 | | - "input": "from sklearn import preprocessing, ensemble\nimport openml\nimport os\n\nhome_dir = os.path.expanduser(\"~\")\nopenml_dir = os.path.join(home_dir, \".openml\")\ncache_dir = os.path.join(openml_dir, \"cache\")\nwith open(os.path.join(openml_dir, \"apikey.txt\"), 'r') as fh:\n\tkey = fh.readline().rstrip('\\n')\n\nopenml = APIConnector(cache_directory=cache_dir, apikey=key)", |
| 15 | + "input": "from sklearn import preprocessing, ensemble\nfrom openml.apiconnector import APIConnector\nfrom openml.autorun import openml_run\nimport openml\nimport os\n\nhome_dir = os.path.expanduser(\"~\")\nopenml_dir = os.path.join(home_dir, \".openml\")\ncache_dir = os.path.join(openml_dir, \"cache\")\nwith open(os.path.join(openml_dir, \"apikey.txt\"), 'r') as fh:\n\tkey = fh.readline().rstrip('\\n')\n\nopenml = APIConnector(cache_directory=cache_dir, apikey=key)", |
16 | 16 | "outputs": [], |
17 | 17 | "language": "python", |
18 | 18 | "metadata": { |
19 | 19 | "cellView": null, |
20 | 20 | "executionInfo": { |
21 | 21 | "content": { |
22 | 22 | "status": "ok", |
23 | | - "execution_count": 28, |
| 23 | + "execution_count": 8, |
24 | 24 | "payload": [], |
25 | 25 | "user_expressions": {}, |
26 | 26 | "user_variables": {} |
27 | 27 | }, |
28 | | - "timestamp": 1455279958823, |
| 28 | + "timestamp": 1455459938537, |
29 | 29 | "user_tz": -60, |
30 | 30 | "user": { |
31 | | - "sessionId": "284b6c114ba378fe", |
| 31 | + "sessionId": "354d267b02171dce", |
32 | 32 | "userId": "109221074076178034989", |
33 | 33 | "permissionId": "09574386662628411592", |
34 | 34 | "displayName": "Joaquin Vanschoren", |
|
52 | 52 | "output_type": "stream", |
53 | 53 | "text": "OpenMLTask instance.\nTask ID: 10\nTask type: Supervised Classification\nDataset id: 10\nRandomForestClassifier(bootstrap=True, class_weight=None, criterion='gini',\n max_depth=None, max_features='auto', max_leaf_nodes=None,\n min_samples_leaf=1, min_samples_split=2,\n min_weight_fraction_leaf=0.0, n_estimators=10, n_jobs=1,\n oob_score=False, random_state=None, verbose=0,\n warm_start=False)\n2638\n", |
54 | 54 | "stream": "stdout" |
| 55 | + }, |
| 56 | + { |
| 57 | + "output_type": "stream", |
| 58 | + "text": "/usr/local/lib/python2.7/site-packages/arff.py:366: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal\n if value is None or value == u'' or value != value:\n", |
| 59 | + "stream": "stderr" |
55 | 60 | } |
56 | 61 | ], |
57 | 62 | "language": "python", |
|
60 | 65 | "executionInfo": { |
61 | 66 | "content": { |
62 | 67 | "status": "ok", |
63 | | - "execution_count": 36, |
| 68 | + "execution_count": 9, |
64 | 69 | "payload": [], |
65 | 70 | "user_expressions": {}, |
66 | 71 | "user_variables": {} |
67 | 72 | }, |
68 | | - "timestamp": 1455281320291, |
| 73 | + "timestamp": 1455459946024, |
69 | 74 | "user_tz": -60, |
70 | 75 | "user": { |
71 | | - "sessionId": "284b6c114ba378fe", |
| 76 | + "sessionId": "354d267b02171dce", |
72 | 77 | "userId": "109221074076178034989", |
73 | 78 | "permissionId": "09574386662628411592", |
74 | 79 | "displayName": "Joaquin Vanschoren", |
|
90 | 95 | "outputs": [ |
91 | 96 | { |
92 | 97 | "output_type": "stream", |
93 | | - "text": "Uploaded run with id 524013\nCheck it at www.openml.org/r/524013\n", |
| 98 | + "text": "Uploaded run with id 524054\nCheck it at www.openml.org/r/524054\n", |
94 | 99 | "stream": "stdout" |
95 | 100 | } |
96 | 101 | ], |
|
100 | 105 | "executionInfo": { |
101 | 106 | "content": { |
102 | 107 | "status": "ok", |
103 | | - "execution_count": 31, |
| 108 | + "execution_count": 10, |
104 | 109 | "payload": [], |
105 | 110 | "user_expressions": {}, |
106 | 111 | "user_variables": {} |
107 | 112 | }, |
108 | | - "timestamp": 1455279991565, |
| 113 | + "timestamp": 1455459956275, |
109 | 114 | "user_tz": -60, |
110 | 115 | "user": { |
111 | | - "sessionId": "284b6c114ba378fe", |
| 116 | + "sessionId": "354d267b02171dce", |
112 | 117 | "userId": "109221074076178034989", |
113 | 118 | "permissionId": "09574386662628411592", |
114 | 119 | "displayName": "Joaquin Vanschoren", |
|
0 commit comments