#本例是用gplearn在轴承实验台的数据集上进行实验
#just try
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from sklearn import model_selection
import sklearn as skl
from sklearn import tree
from sklearn import ensemble
from gplearn import genetic
from gplearn.genetic import SymbolicRegressor
from gplearn.genetic import SymbolicTransformer
from sklearn.linear_model import Ridge
import graphviz
import pydotplus
import xlwt
import xlrd
import os
os.environ['TF_CPP_MIN_LOG-LEVEL']='2'
from IPython.display import display, Image
#根据轴承实验台的振动信号来生成数据分布
#原始信号导入
workbook = xlwt.Workbook(encoding='utf-8')
booksheet = workbook.add_sheet('Sheet 1', cell_overwrite_ok=True)
# x0