The programming language used is Python 3.10 with Pytorch 2.0.1, CUDA 11.7, and PyTorch Geometric Library 1.5.0.After downloading the code, you can run
python3 main_run.pydirectly for categorical clustering. We suggest adjusting the hyperparameters multiple times to achieve better results.
(1)make_dataset: Data processing. Help us prepare the training set.
(2)my_models: Define the network structure of FGEAD.
(3) utils: Contains functions for data processing and model evaluation.
(1) pytorch (https://anaconda.org/pytorch/pytorch)
(2) sklearn (https://anaconda.org/anaconda/scikit-learn)
(3) transformers (https://anaconda.org/conda-forge/transformers)
24070103_train.csv: Contains only normal multivariate time series data during tobacco drying process, used to train the model. list. txt: Contains all variable names (in Chinese) during the tobacco drying process. Merged_csv: Contains multivariate time series data of anomalies during tobacco drying process, used to test model performance.