FatimaAlazazi / ANN-LSTM-model

ANN-LSTM model to predict student performance on OULAD dataset jupyter notebook
5 stars 1 forks source link

What is the runtime environment configuration? #3

Open Daker88 opened 9 months ago

Daker88 commented 9 months ago

I am using tensorflow environment and running the model with nvidia 4050 gpu is very slow, it takes 4 or 5 days for 211 iterations. Thank you for your reply.

Daker88 commented 9 months ago

hello~Looking forward to your reply

Ting0887 commented 9 months ago

Your equipment should at least be at the level of an RTX 3060 Ti

Ting0887 commented 9 months ago

Or convert the data exchange unit from daily to weekly

Daker88 commented 9 months ago

或将数据交换单位从每天转换为每周

ok,thank you~

Daker88 commented 4 months ago

或者将数据交换单位从每天转换为每周

May I ask how to convert the exchange unit from daily to weekly?

Ting0887 commented 4 months ago

def prepare_data(X, rule='W', week_no=None):

cols = [str(i) for i in range(-25, 250)]
X1 = X[cols]
X1 = X1.T
X1.index = pd.date_range(start='1/1/2014', periods=275)
X1 = X1.resample(rule).sum()
X1 = X1.T
if week_no:
    X1 = X1.iloc[:, :week_no]

return X1
Daker88 commented 4 months ago

def prepare_data(X, rule='W', week_no=None):

cols = [str(i) for i in range(-25, 250)]
X1 = X[cols]
X1 = X1.T
X1.index = pd.date_range(start='1/1/2014', periods=275)
X1 = X1.resample(rule).sum()
X1 = X1.T
if week_no:
    X1 = X1.iloc[:, :week_no]

return X1

thank u~

Ting0887 commented 4 months ago

No problem