clean code
Fix an error in instance.py. Improve error messages
Sklearn utils changed to use instance methods