deprecation warnings

Issue #61 closed
Benjamin Jakimow created an issue

Affected files: hub\gdal\api.py

import gdal, numpy, osgeo, hub.file, hub.envi

Python warning(1): warning:D:\Programs\OSGeo4W\apps\Python27\lib\site-packages\osgeo\gdal.py:91: DeprecationWarning: gdal.py was placed in a namespace, it is now available as osgeo.gdal
  DeprecationWarning)

processing\estimators.py

import sklearn.grid_search

Python warning(1): warning:D:\Programs\OSGeo4W\apps\Python27\lib\site-packages\sklearn\grid_search.py:43: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. This module will be removed in 0.20.
  DeprecationWarning)
please change to

Comments (1)

  1. Log in to comment