Skip to content

Instantly share code, notes, and snippets.

@Aakash-kaushik
Last active September 26, 2020 13:14
Show Gist options
  • Save Aakash-kaushik/c5cc1b26ac914b04695279813948688a to your computer and use it in GitHub Desktop.
Save Aakash-kaushik/c5cc1b26ac914b04695279813948688a to your computer and use it in GitHub Desktop.
including the libraries and defining some namespaces
#include <mlpack/core.hpp>
#include <mlpack/core/data/split_data.hpp>
#include <mlpack/methods/ann/layer/layer.hpp>
#include <mlpack/methods/ann/ffn.hpp>
#include <ensmallen.hpp> /* The numerical optimization library that mlpack uses */
using namespace mlpack;
using namespace mlpack::ann;
// Namespace for the armadillo library(linear algebra library).
using namespace arma;
using namespace std;
// Namespace for ensmallen.
using namespace ens;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment