This commit is contained in:
dosangyoon
2022-08-16 21:23:40 +09:00
parent f9ffa363fa
commit 1eed2ea40e
6 changed files with 435 additions and 951 deletions

View File

@@ -191,6 +191,7 @@ class VitTrainer:
return
def getData(self, stock_code, sDate, eDate):
# Instance Normalization를 NumPy 및 PyTorch로 구현하는 방법! (https://ndb796.tistory.com/653)
data = self.stock2Vector.getTrainData(stock_code, sDate, eDate)
#X, Y = self.stock2Vector.getDataset2D(data)
X, Y = self.stock2Vector.getVectorData(data)