Last active
October 9, 2019 08:17
-
-
Save VictorSaenger/5f354a02a061ccbbca713142fa4572b5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Resampling: | |
| [X_train_r, y_train_r] = SMOTE().fit_resample(X_train, y_train) | |
| #model fitting: | |
| m_h = news_DNN.fit(X_train_r, y_train_r, epochs=400, \ | |
| validation_data=(X_test, y_test), batch_size=32, verbose=0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment