You should use SVR as follows:
So, the problem is that you have a training kit, but not a test suite to measure your model accuracy. The only solution is to use part of your training set as an ex: 80% for train 20% for test test suite ex: 80% for train 20% for test
EDIT
I hope I understand well what you want from your comments.
So, you want to predict the next label in the last hour in your train set, here is an example of what you want:
from sklearn.svm import SVR import random import numpy as np ''' data: the train set, 24 elements label: label for each time ''' data = [10+y for y in [x * .5 for x in range(24)]] label = [z for z in [random.random()]*24]
source share