Neural Networks, Deep Learning, Data Science, Algorithmic Trading, Cryptocurrency Investment.
df_ens_test = df.copy() df_ens = df_ens_test[len(X_train):] df_ens['transformer_neural_scaled'] = np.argmax(model_transformer.predict(X_test), axis=2) df_ens['trns'] = df_ens['transformer_neural_scaled'].shift(1).dropna().astype(int) df_ens = df_ens.dropna() df_ens['trns'] # df_ens = df.copy() # #