I am new to python, and I need to check the time of running the codes in python. The codes are shown below:
np.random.seed(42)
from sklearn.model_selection import train_test_split
x_train,x_test,y_train,y_test=train_test_split(x_1,y_1,test_size=0.2)
clf=SVC(kernel='rbf',probability=True)
clf.fit(x_train,np.ravel(y_train))
clf.score(x_test,y_test)
Appreciate a lot if any advices!