title: How to hide warnings from xgboost library in jupyter?
body: <p>Not working:</p>
  
  <pre><code>import warnings
  warnings.filterwarnings('ignore')
  </code></pre>
  
  <p>The warning I get:</p>
  
  <pre><code>[14:24:45] WARNING: C:/Jenkins/workspace/xgboost-win64_release_0.90/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.
  </code></pre>
  
  <p>It clutters my output in cell.</p>