在用LogisticRegression和svm的时候会出一堆futureWarning很碍眼于是

解决方法如下:

from warnings import simplefilter
simplefilter(action='ignore', category=FutureWarning)