基于学生做题记录的成绩预测

链接:https://pan.baidu.com/s/1DDM4zc6ZnF0p5YFqJ0Ns2Q 

模型图:

基于学生做题记录的成绩预测_第1张图片

 代码:

from collections import Counter
import torch
from torch import nn
from torch import optim
import math
# import tensorflow as tf
import numpy as np
import pandas as pd
from sklearn.metrics import f1_score
from sklearn.metrics import accuracy_score
from sklearn.model_selection import train_test_split
import re
from tqdm import tqdm
from torch.utils.data import random_split
from collections import Counter
import matplotlib.pyplot as plt
import random
from sklearn.model_selection import train_test_split
from torch.utils.data import Dataset, DataLoader
import warnings
warnings.filterwarnings('ignore')
pl

你可能感兴趣的:(python,预测,注意力机制,机器学习,深度学习,神经网络)