Pytorch-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=<
Pytorch-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=<