Last active
September 25, 2020 17:20
-
-
Save Aakash-kaushik/426e7cdd29cf582340602a0d505dc11a to your computer and use it in GitHub Desktop.
loading and splitting the data and declaring some constants
This file contains 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
constexpr double RATIO = 0.1; // ratio to divide the data in train and val set. | |
constexpr int MAX_ITERATIONS = 0; // set to zero to allow infinite iterations. | |
constexpr double STEP_SIZE = 1.2e-3;// step size for Adam optimizer. | |
constexpr int BATCH_SIZE = 50; | |
constexpr size_t EPOCH = 2; | |
mat tempDataset; | |
data::Load("train.csv", tempDataset, true); | |
mat tempTest; | |
data::Load("test.csv", test, true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment