Skip to content

Commit 4968ad3

Browse files
committed
Merge branch 'hotfix/importFix'
2 parents 28d5579 + 1b44118 commit 4968ad3

2 files changed

Lines changed: 17 additions & 12 deletions

File tree

examples/OpenMLRun.ipynb

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@
1212
},
1313
{
1414
"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)",
1616
"outputs": [],
1717
"language": "python",
1818
"metadata": {
1919
"cellView": null,
2020
"executionInfo": {
2121
"content": {
2222
"status": "ok",
23-
"execution_count": 28,
23+
"execution_count": 8,
2424
"payload": [],
2525
"user_expressions": {},
2626
"user_variables": {}
2727
},
28-
"timestamp": 1455279958823,
28+
"timestamp": 1455459938537,
2929
"user_tz": -60,
3030
"user": {
31-
"sessionId": "284b6c114ba378fe",
31+
"sessionId": "354d267b02171dce",
3232
"userId": "109221074076178034989",
3333
"permissionId": "09574386662628411592",
3434
"displayName": "Joaquin Vanschoren",
@@ -52,6 +52,11 @@
5252
"output_type": "stream",
5353
"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",
5454
"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"
5560
}
5661
],
5762
"language": "python",
@@ -60,15 +65,15 @@
6065
"executionInfo": {
6166
"content": {
6267
"status": "ok",
63-
"execution_count": 36,
68+
"execution_count": 9,
6469
"payload": [],
6570
"user_expressions": {},
6671
"user_variables": {}
6772
},
68-
"timestamp": 1455281320291,
73+
"timestamp": 1455459946024,
6974
"user_tz": -60,
7075
"user": {
71-
"sessionId": "284b6c114ba378fe",
76+
"sessionId": "354d267b02171dce",
7277
"userId": "109221074076178034989",
7378
"permissionId": "09574386662628411592",
7479
"displayName": "Joaquin Vanschoren",
@@ -90,7 +95,7 @@
9095
"outputs": [
9196
{
9297
"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",
9499
"stream": "stdout"
95100
}
96101
],
@@ -100,15 +105,15 @@
100105
"executionInfo": {
101106
"content": {
102107
"status": "ok",
103-
"execution_count": 31,
108+
"execution_count": 10,
104109
"payload": [],
105110
"user_expressions": {},
106111
"user_variables": {}
107112
},
108-
"timestamp": 1455279991565,
113+
"timestamp": 1455459956275,
109114
"user_tz": -60,
110115
"user": {
111-
"sessionId": "284b6c114ba378fe",
116+
"sessionId": "354d267b02171dce",
112117
"userId": "109221074076178034989",
113118
"permissionId": "09574386662628411592",
114119
"displayName": "Joaquin Vanschoren",

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
description="Python API for OpenML",
99
license="GPLv3",
1010
url="http://openml.org/",
11-
version="0.2.0",
11+
version="0.2.1",
1212
packages=setuptools.find_packages(),
1313
package_data={'': ['*.txt', '*.md']},
1414
install_requires=["liac-arff>=2.1.1dev",

0 commit comments

Comments
 (0)