Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
getting odd accuracy scores in machine learning

So, I've been messing around w/ machine learning, the basic idea is to use a suppliers stock as an indicator more business to another. The problem I'm having the accuracy score, its wandering around where it shouldn't be, it should be 1 for 100% and 0 for 0% accuracy, but its all over the place for some reason, giving me accuracy of... 2, -1, etc, 4? those can't be real scores, though sometimes its 98% which i still don't trust, i'm not sure if its quantopian or my code.