Commit e2d11891 authored by Lauri Himanen's avatar Lauri Himanen

Suppressed deprecation warning on the band gap prediction notebook.

parent dfc8aa88
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
}, },
"selectedType": "BeakerDisplay", "selectedType": "BeakerDisplay",
"elapsedTime": 0, "elapsedTime": 0,
"height": 485 "height": 366
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 25, "lineCount": 25,
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
}, },
"selectedType": "BeakerDisplay", "selectedType": "BeakerDisplay",
"elapsedTime": 0, "elapsedTime": 0,
"height": 256 "height": 232
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 5, "lineCount": 5,
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
}, },
"selectedType": "BeakerDisplay", "selectedType": "BeakerDisplay",
"elapsedTime": 0, "elapsedTime": 0,
"height": 933 "height": 698
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 34, "lineCount": 34,
...@@ -528,7 +528,7 @@ ...@@ -528,7 +528,7 @@
}, },
"selectedType": "BeakerDisplay", "selectedType": "BeakerDisplay",
"elapsedTime": 0, "elapsedTime": 0,
"height": 677 "height": 511
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 19, "lineCount": 19,
...@@ -564,7 +564,7 @@ ...@@ -564,7 +564,7 @@
}, },
"selectedType": "BeakerDisplay", "selectedType": "BeakerDisplay",
"elapsedTime": 0, "elapsedTime": 0,
"height": 535 "height": 440
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 13, "lineCount": 13,
...@@ -830,7 +830,7 @@ ...@@ -830,7 +830,7 @@
"selectedType": "BeakerDisplay", "selectedType": "BeakerDisplay",
"elapsedTime": 0, "elapsedTime": 0,
"state": {}, "state": {},
"height": 621 "height": 593
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 243, "lineCount": 243,
...@@ -852,6 +852,10 @@ ...@@ -852,6 +852,10 @@
"f = open(os.devnull, 'w')", "f = open(os.devnull, 'w')",
"sys.stderr = f", "sys.stderr = f",
"", "",
"#Ignore deprecation warnings",
"import warnings",
"warnings.filterwarnings(\"ignore\", category=DeprecationWarning) ",
"",
"from xgboost import XGBClassifier", "from xgboost import XGBClassifier",
"", "",
"from sklearn.model_selection import train_test_split", "from sklearn.model_selection import train_test_split",
...@@ -1130,8 +1134,7 @@ ...@@ -1130,8 +1134,7 @@
")", ")",
"fig = go.Figure(data=data, layout=layout)", "fig = go.Figure(data=data, layout=layout)",
"iplot(fig)" "iplot(fig)"
], ]
"hidden": true
}, },
"output": { "output": {
"state": {}, "state": {},
...@@ -1160,10 +1163,10 @@ ...@@ -1160,10 +1163,10 @@
"pluginName": "Python3", "pluginName": "Python3",
"shellId": "BB8F4984E7B84EF698BF5DFC74D72A9C", "shellId": "BB8F4984E7B84EF698BF5DFC74D72A9C",
"elapsedTime": 16630, "elapsedTime": 16630,
"height": 1326 "height": 1318
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 288, "lineCount": 292,
"isError": false, "isError": false,
"tags": "train" "tags": "train"
}, },
...@@ -1234,7 +1237,7 @@ ...@@ -1234,7 +1237,7 @@
}, },
"selectedType": "BeakerDisplay", "selectedType": "BeakerDisplay",
"elapsedTime": 0, "elapsedTime": 0,
"height": 544 "height": 379
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 19, "lineCount": 19,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment