scikit-kge icon indicating copy to clipboard operation
scikit-kge copied to clipboard

NumPy 1.12 support

Open vfrico opened this issue 8 years ago • 1 comments

This is just a pull request because I'm using this library and is a feature I needed. Sometimes, when evaluating a model while it is training, the performance obtained with some hyperparameters can be really low. If so, it is better to stop the trainer friendly, adding this small lines of code, and test out another trainer with other hyperparameters.

vfrico avatar Oct 25 '16 07:10 vfrico

Support for array indexing with non integers indexes has been dropped on 1.12 version of numpy. [https://github.com/numpy/numpy/blob/master/doc/release/1.12.0-notes.rst#deprecationwarning-to-error](See release notes)

The latest commit (e2600b7) fixes that error

vfrico avatar Mar 27 '17 11:03 vfrico