数据集-1:一年中每天24小时的太阳能生产,所以我的数据集的大小是(364,24),天是排的,消耗是列的。出于这个原因,我将数据集划分如下:ytrain = dataset[6,0:24] # takes24 hour of 7th day
xtest = dataset[1:7,0:24] # takes 24 hours for 6 days
return final_model
deep_rank_model.summary()
batch_size = 24ValueError: Error when checking input: expected input_5 to have 4 dimensions, but got array with shape (24