alexander34ro / AML-Replicating-Novel-Deep-Learning-with-CNN-and-Bi-Directional-LSTM-for-Improved-Index-Prediction

Apache License 2.0
0 stars 0 forks source link

Split data into train and test #14

Closed alexander34ro closed 3 years ago

alexander34ro commented 3 years ago
from sklearn.model_selection import train_test_split

train, test = train_test_split(df, test_size=0.2)

! Might return np array or panda dataframe.