scikit-kge
scikit-kge copied to clipboard
NumPy 1.12 support
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.
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