Python轴承故障诊断 (15)基于CNN-Transformer的一维故障信号识别模型
1 制作数据集
import pandas as pd
filename = "CWRU_1797.csv"
df = pd.read_csv(filename)
from sklearn.model_selection import train_test_split
df_x=df.drop(labels
Python轴承故障诊断 (15)基于CNN-Transformer的一维故障信号识别模型
import pandas as pd
filename = "CWRU_1797.csv"
df = pd.read_csv(filename)
from sklearn.model_selection import train_test_split
df_x=df.drop(labels