Lstm+transformer的刀具磨损预测
视频讲解:
基于Lstm+transformer的刀具磨损预测实战_哔哩哔哩_bilibili
结果展示:
数据展示:
主要代码:
# pip install openpyxl -i https://pypi.tuna.tsinghua.edu.cn/simple/
# pip install optuna -i https://pypi.tuna.tsinghua.edu.cn/simple/
import numpy as np
import pandas as pd
from tqdm import tqdm
import torch
from torch import nn
import torch.nn.functional as F
from torch import tensor
import torch.utils.data as Data
import math
from matplotl