mercredi 13 juillet 2016

How to change the color of a line with different pattern classifications in python


I have a time series dataset that I used a machine learning algorithm to identify distinct patterns. I have that classified but I want to check it visually to see how it did.

How do I make a time series graph with different colors for each pattern classification OR what is the best way to visualize or check for accuracy with time series classification data?

The data basically looks like this

DATE DEMAND CLASSIFICATION June 4 678 1

Generally the classification would look like this 0000000000000000011111111111111111110000000000000000000000000022222222222222222 etc.

Any help?


Aucun commentaire:

Enregistrer un commentaire