init
This commit is contained in:
@@ -284,6 +284,15 @@ class Stock2Vector(HTS):
|
||||
Y = np.asarray(Y, dtype='int64')
|
||||
return X, Y
|
||||
|
||||
def getVectorData(self, data, type="avg10", VECTOR_SIZE = 32):
|
||||
X, Y = [], []
|
||||
df, minmax_df = self.preprocessData(data)
|
||||
|
||||
X = np.asarray(X)
|
||||
Y = np.asarray(Y, dtype='int64')
|
||||
return X, Y
|
||||
|
||||
|
||||
def getDataset3D(self, data, VECTOR_SIZE = 299):
|
||||
df, minmax_df = self.preprocessData(data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user