[mlpack-svn] r10393 - in mlpack/trunk/src/mlpack: . core/kernels core/metrics core/optimizers/aug_lagrangian core/optimizers/lbfgs core/tree core/utilities methods/emst methods/fastica methods/gmm methods/hmm methods/hmm/distributions methods/infomax_ica methods/linear_regression methods/mvu methods/naive_bayes methods/nca methods/neighbor_search methods/neighbor_search/sort_policies methods/pca tests
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Thu Nov 24 13:50:46 EST 2011
Author: rcurtin
Date: 2011-11-24 13:50:45 -0500 (Thu, 24 Nov 2011)
New Revision: 10393
Added:
mlpack/trunk/src/mlpack/core.hpp
Removed:
mlpack/trunk/src/mlpack/core.h
Modified:
mlpack/trunk/src/mlpack/CMakeLists.txt
mlpack/trunk/src/mlpack/core/kernels/cosine_distance.cpp
mlpack/trunk/src/mlpack/core/kernels/cosine_distance.hpp
mlpack/trunk/src/mlpack/core/kernels/example_kernel.hpp
mlpack/trunk/src/mlpack/core/kernels/gaussian_kernel.hpp
mlpack/trunk/src/mlpack/core/kernels/linear_kernel.hpp
mlpack/trunk/src/mlpack/core/metrics/lmetric.cpp
mlpack/trunk/src/mlpack/core/metrics/lmetric.hpp
mlpack/trunk/src/mlpack/core/metrics/mahalanobis_distance.hpp
mlpack/trunk/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian.hpp
mlpack/trunk/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian_impl.hpp
mlpack/trunk/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian_test_functions.hpp
mlpack/trunk/src/mlpack/core/optimizers/lbfgs/lbfgs.hpp
mlpack/trunk/src/mlpack/core/optimizers/lbfgs/test_functions.hpp
mlpack/trunk/src/mlpack/core/tree/binary_space_tree.hpp
mlpack/trunk/src/mlpack/core/tree/dballbound.hpp
mlpack/trunk/src/mlpack/core/tree/dballbound_impl.hpp
mlpack/trunk/src/mlpack/core/tree/hrectbound.hpp
mlpack/trunk/src/mlpack/core/tree/periodichrectbound.hpp
mlpack/trunk/src/mlpack/core/utilities/save_restore_utility.hpp
mlpack/trunk/src/mlpack/core/utilities/timers.hpp
mlpack/trunk/src/mlpack/methods/emst/dtb.hpp
mlpack/trunk/src/mlpack/methods/emst/emst.hpp
mlpack/trunk/src/mlpack/methods/emst/emst_main.cpp
mlpack/trunk/src/mlpack/methods/emst/union_find.hpp
mlpack/trunk/src/mlpack/methods/fastica/fastica.hpp
mlpack/trunk/src/mlpack/methods/fastica/lin_alg.hpp
mlpack/trunk/src/mlpack/methods/gmm/gmm.hpp
mlpack/trunk/src/mlpack/methods/gmm/kmeans.hpp
mlpack/trunk/src/mlpack/methods/gmm/phi.hpp
mlpack/trunk/src/mlpack/methods/hmm/discreteHMM.cpp
mlpack/trunk/src/mlpack/methods/hmm/discreteHMM.hpp
mlpack/trunk/src/mlpack/methods/hmm/distributions/discrete_distribution.hpp
mlpack/trunk/src/mlpack/methods/hmm/distributions/gaussian_distribution.hpp
mlpack/trunk/src/mlpack/methods/hmm/gaussianHMM.cpp
mlpack/trunk/src/mlpack/methods/hmm/gaussianHMM.hpp
mlpack/trunk/src/mlpack/methods/hmm/generate.cpp
mlpack/trunk/src/mlpack/methods/hmm/hmm.hpp
mlpack/trunk/src/mlpack/methods/hmm/loglik.cpp
mlpack/trunk/src/mlpack/methods/hmm/mixgaussHMM.cpp
mlpack/trunk/src/mlpack/methods/hmm/mixgaussHMM.hpp
mlpack/trunk/src/mlpack/methods/hmm/mixtureDST.cpp
mlpack/trunk/src/mlpack/methods/hmm/mixtureDST.hpp
mlpack/trunk/src/mlpack/methods/hmm/support.cpp
mlpack/trunk/src/mlpack/methods/hmm/support.hpp
mlpack/trunk/src/mlpack/methods/hmm/train.cpp
mlpack/trunk/src/mlpack/methods/hmm/viterbi.cpp
mlpack/trunk/src/mlpack/methods/infomax_ica/infomax_ica.cpp
mlpack/trunk/src/mlpack/methods/infomax_ica/infomax_ica.hpp
mlpack/trunk/src/mlpack/methods/infomax_ica/main.cpp
mlpack/trunk/src/mlpack/methods/linear_regression/linear_regression.hpp
mlpack/trunk/src/mlpack/methods/linear_regression/linear_regression_main.cpp
mlpack/trunk/src/mlpack/methods/mvu/mvu.hpp
mlpack/trunk/src/mlpack/methods/mvu/mvu_objective_function.hpp
mlpack/trunk/src/mlpack/methods/naive_bayes/nbc_main.cpp
mlpack/trunk/src/mlpack/methods/naive_bayes/simple_nbc.cpp
mlpack/trunk/src/mlpack/methods/naive_bayes/simple_nbc.hpp
mlpack/trunk/src/mlpack/methods/nca/nca.hpp
mlpack/trunk/src/mlpack/methods/nca/nca_main.cpp
mlpack/trunk/src/mlpack/methods/nca/nca_softmax_error_function.hpp
mlpack/trunk/src/mlpack/methods/neighbor_search/allkfn_main.cpp
mlpack/trunk/src/mlpack/methods/neighbor_search/allknn_main.cpp
mlpack/trunk/src/mlpack/methods/neighbor_search/neighbor_search.hpp
mlpack/trunk/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp
mlpack/trunk/src/mlpack/methods/neighbor_search/sort_policies/furthest_neighbor_sort.hpp
mlpack/trunk/src/mlpack/methods/neighbor_search/sort_policies/nearest_neighbor_sort.hpp
mlpack/trunk/src/mlpack/methods/pca/pca.cpp
mlpack/trunk/src/mlpack/methods/pca/pca.hpp
mlpack/trunk/src/mlpack/tests/allkfn_test.cpp
mlpack/trunk/src/mlpack/tests/allknn_test.cpp
mlpack/trunk/src/mlpack/tests/aug_lagrangian_test.cpp
mlpack/trunk/src/mlpack/tests/cli_test.cpp
mlpack/trunk/src/mlpack/tests/distribution_test.cpp
mlpack/trunk/src/mlpack/tests/emst_test.cpp
mlpack/trunk/src/mlpack/tests/gmm_test.cpp
mlpack/trunk/src/mlpack/tests/hmm_test.cpp
mlpack/trunk/src/mlpack/tests/infomax_ica_test.cpp
mlpack/trunk/src/mlpack/tests/lbfgs_test.cpp
mlpack/trunk/src/mlpack/tests/lin_alg_test.cpp
mlpack/trunk/src/mlpack/tests/linear_regression_test.cpp
mlpack/trunk/src/mlpack/tests/nbc_test.cpp
mlpack/trunk/src/mlpack/tests/nca_test.cpp
mlpack/trunk/src/mlpack/tests/sort_policy_test.cpp
mlpack/trunk/src/mlpack/tests/union_find_test.cpp
Log:
Move core.h to core.hpp. Fixes #152.
Modified: mlpack/trunk/src/mlpack/CMakeLists.txt
===================================================================
--- mlpack/trunk/src/mlpack/CMakeLists.txt 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/CMakeLists.txt 2011-11-24 18:50:45 UTC (rev 10393)
@@ -1,5 +1,8 @@
include_directories(..) # <mlpack/[whatever]>
+# Add core.hpp to list of sources.
+set(${MLPACK_SRCS} ${MLPACK_SRCS} "core.hpp")
+
## Recurse into both core/ and methods/.
set(DIRS
core
Modified: mlpack/trunk/src/mlpack/core/kernels/cosine_distance.cpp
===================================================================
--- mlpack/trunk/src/mlpack/core/kernels/cosine_distance.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/kernels/cosine_distance.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -1,5 +1,5 @@
/**
- * @file cosine_distance.cc
+ * @file cosine_distance.cpp
* @author Ryan Curtin
*
* This implements the cosine distance.
Modified: mlpack/trunk/src/mlpack/core/kernels/cosine_distance.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/kernels/cosine_distance.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/kernels/cosine_distance.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
#ifndef __MLPACK_CORE_KERNELS_COSINE_DISTANCE_HPP
#define __MLPACK_CORE_KERNELS_COSINE_DISTANCE_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace kernel {
Modified: mlpack/trunk/src/mlpack/core/kernels/example_kernel.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/kernels/example_kernel.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/kernels/example_kernel.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
#ifndef __MLPACK_CORE_KERNELS_EXAMPLE_KERNEL_H
#define __MLPACK_CORE_KERNELS_EXAMPLE_KERNEL_H
-#include <mlpack/core.h>
+core.h>/core.h>
namespace mlpack {
Modified: mlpack/trunk/src/mlpack/core/kernels/gaussian_kernel.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/kernels/gaussian_kernel.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/kernels/gaussian_kernel.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -9,7 +9,7 @@
#ifndef __MLPACK_CORE_KERNELS_GAUSSIAN_KERNEL_HPP
#define __MLPACK_CORE_KERNELS_GAUSSIAN_KERNEL_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace kernel {
Modified: mlpack/trunk/src/mlpack/core/kernels/linear_kernel.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/kernels/linear_kernel.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/kernels/linear_kernel.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -9,7 +9,7 @@
#ifndef __MLPACK_CORE_KERNELS_LINEAR_KERNEL_HPP
#define __MLPACK_CORE_KERNELS_LINEAR_KERNEL_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace kernel {
Modified: mlpack/trunk/src/mlpack/core/metrics/lmetric.cpp
===================================================================
--- mlpack/trunk/src/mlpack/core/metrics/lmetric.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/metrics/lmetric.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -1,4 +1,4 @@
-/***
+/**
* @file lmetric.cpp
* @author Ryan Curtin
*
Modified: mlpack/trunk/src/mlpack/core/metrics/lmetric.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/metrics/lmetric.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/metrics/lmetric.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -1,5 +1,5 @@
/**
- * @file lmetric.h
+ * @file lmetric.hpp
* @author Ryan Curtin
*
* Generalized L-metric, allowing both squared distances to be returned as well
@@ -10,7 +10,7 @@
#ifndef __MLPACK_CORE_METRICS_LMETRIC_HPP
#define __MLPACK_CORE_METRICS_LMETRIC_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace metric {
Modified: mlpack/trunk/src/mlpack/core/metrics/mahalanobis_distance.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/metrics/mahalanobis_distance.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/metrics/mahalanobis_distance.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -7,7 +7,7 @@
#ifndef __MLPACK_CORE_METRICS_MAHALANOBIS_DISTANCE_HPP
#define __MLPACK_CORE_METRICS_MAHALANOBIS_DISTANCE_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace metric {
Modified: mlpack/trunk/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -1,5 +1,5 @@
/**
- * @file aug_lagrangian.h
+ * @file aug_lagrangian.hpp
* @author Ryan Curtin
*
* Definition of AugLagrangian class, which implements the Augmented Lagrangian
@@ -10,7 +10,7 @@
#ifndef __MLPACK_CORE_OPTIMIZERS_AUG_LAGRANGIAN_AUG_LAGRANGIAN_HPP
#define __MLPACK_CORE_OPTIMIZERS_AUG_LAGRANGIAN_AUG_LAGRANGIAN_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace optimization {
Modified: mlpack/trunk/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian_impl.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian_impl.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian_impl.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -1,5 +1,5 @@
-/***
- * @file aug_lagrangian.cc
+/**
+ * @file aug_lagrangian_impl.hpp
* @author Ryan Curtin
*
* Implementation of AugLagrangian class (Augmented Lagrangian optimization
Modified: mlpack/trunk/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian_test_functions.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian_test_functions.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/optimizers/aug_lagrangian/aug_lagrangian_test_functions.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -4,11 +4,10 @@
*
* Define test functions for the augmented Lagrangian method.
*/
-
#ifndef __MLPACK_CORE_OPTIMIZERS_AUG_LAGRANGIAN_TEST_FUNCTIONS_HPP
#define __MLPACK_CORE_OPTIMIZERS_AUG_LAGRANGIAN_TEST_FUNCTIONS_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace optimization {
Modified: mlpack/trunk/src/mlpack/core/optimizers/lbfgs/lbfgs.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/optimizers/lbfgs/lbfgs.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/optimizers/lbfgs/lbfgs.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
#ifndef __MLPACK_CORE_OPTIMIZERS_LBFGS_LBFGS_HPP
#define __MLPACK_CORE_OPTIMIZERS_LBFGS_LBFGS_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace optimization {
Modified: mlpack/trunk/src/mlpack/core/optimizers/lbfgs/test_functions.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/optimizers/lbfgs/test_functions.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/optimizers/lbfgs/test_functions.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -1,5 +1,5 @@
/**
- * @file test_functions.h
+ * @file test_functions.hpp
* @author Ryan Curtin
*
* A collection of functions to test optimizers (in this case, L-BFGS). These
@@ -13,7 +13,7 @@
#ifndef __MLPACK_CORE_OPTIMIZERS_LBFGS_TEST_FUNCTIONS_HPP
#define __MLPACK_CORE_OPTIMIZERS_LBFGS_TEST_FUNCTIONS_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
// To fulfill the template policy class 'FunctionType', we must implement
// the following:
Modified: mlpack/trunk/src/mlpack/core/tree/binary_space_tree.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/tree/binary_space_tree.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/tree/binary_space_tree.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -6,7 +6,7 @@
#ifndef __MLPACK_CORE_TREE_BINARY_SPACE_TREE_HPP
#define __MLPACK_CORE_TREE_BINARY_SPACE_TREE_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "statistic.hpp"
Modified: mlpack/trunk/src/mlpack/core/tree/dballbound.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/tree/dballbound.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/tree/dballbound.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -10,7 +10,7 @@
#ifndef __MLPACK_CORE_TREE_DBALLBOUND_HPP
#define __MLPACK_CORE_TREE_DBALLBOUND_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/core/math/math_misc.hpp>
#include <mlpack/core/metrics/lmetric.hpp>
Modified: mlpack/trunk/src/mlpack/core/tree/dballbound_impl.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/tree/dballbound_impl.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/tree/dballbound_impl.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -9,7 +9,7 @@
#ifndef __MLPACK_CORE_TREE_DBALLBOUND_IMPL_HPP
#define __MLPACK_CORE_TREE_DBALLBOUND_IMPL_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace bound {
Modified: mlpack/trunk/src/mlpack/core/tree/hrectbound.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/tree/hrectbound.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/tree/hrectbound.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -11,7 +11,7 @@
#ifndef __MLPACK_CORE_TREE_HRECTBOUND_HPP
#define __MLPACK_CORE_TREE_HRECTBOUND_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/core/math/range.hpp>
namespace mlpack {
Modified: mlpack/trunk/src/mlpack/core/tree/periodichrectbound.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/tree/periodichrectbound.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/tree/periodichrectbound.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -9,7 +9,7 @@
#ifndef __MLPACK_CORE_TREE_PERCLIDICHRECTBOUND_HPP
#define __MLPACK_CORE_TREE_PERCLIDICHRECTBOUND_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace bound {
Modified: mlpack/trunk/src/mlpack/core/utilities/save_restore_utility.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/utilities/save_restore_utility.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/utilities/save_restore_utility.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -20,7 +20,7 @@
#include <libxml/parser.h>
#include <libxml/tree.h>
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <boost/tokenizer.hpp>
namespace mlpack {
Modified: mlpack/trunk/src/mlpack/core/utilities/timers.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/utilities/timers.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core/utilities/timers.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -1,6 +1,6 @@
#ifndef MLPACK_TIMERS_H
#define MLPACK_TIMERS_H
-
+
#include <map>
#include <string>
@@ -26,7 +26,7 @@
*/
static std::map<std::string, timeval> GetAllTimers();
- /*
+ /*
* Returns a copy of the timer specified.
*
* @param timerName The name of the timer in question.
Deleted: mlpack/trunk/src/mlpack/core.h
===================================================================
--- mlpack/trunk/src/mlpack/core.h 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/core.h 2011-11-24 18:50:45 UTC (rev 10393)
@@ -1,100 +0,0 @@
-/***
- * @file mlpack_core.h
- *
- * Include all of the base components required to write MLPACK methods, and the
- * main MLPACK Doxygen documentation.
- */
-#ifndef __MLPACK_CORE_H
-#define __MLPACK_CORE_H
-
-/**
- * @mainpage MLPACK Documentation
- *
- * @section intro_sec Introduction
- *
- * MLPACK is an intuitive, fast, scalable C++ machine learning library, meant to
- * be a machine learning analog to LAPACK. It aims to implement a wide array of
- * machine learning methods and function as a "swiss army knife" for machine
- * learning researchers. The MLPACK development website can be found at
- * http://mlpack.org.
- *
- * MLPACK uses the Armadillo C++ matrix library (http://arma.sourceforge.net)
- * for general matrix, vector, and linear algebra support. MLPACK also uses the
- * program_options, math_c99, and unit_test_framework components of the Boost
- * library; in addition, LibXml2 is used.
- *
- * @section howto How To Use This Documentation
- *
- * This documentation is API documentation similar to Javadoc. It isn't
- * necessarily a tutorial (that can be found elsewhere -- ...once we make a
- * tutorial), but it does provide detailed documentation on every namespace,
- * method, and class.
- *
- * Each MLPACK namespace generally refers to one machine learning method, so
- * browsing the list of namespaces provides some insight as to the breadth of
- * the methods contained in the library.
- *
- * To generate this documentation in your own local copy of MLPACK, you can
- * simply use Doxygen, from the root directory (@c /mlpack/trunk/ ):
- *
- * @code
- * $ doxygen
- * @endcode
- *
- * @section remarks Final Remarks
- *
- * This software was written in the FASTLab (http://www.fast-lab.org), which is
- * in the School of Computational Science and Engineering at the Georgia
- * Institute of Technology.
- *
- * MLPACK contributors include:
- *
- * - Ryan Curtin <gth671b at mail.gatech.edu>
- * - James Cline <james.cline at gatech.edu>
- * - Neil Slagle <nslagle3 at gatech.edu>
- * - Matthew Amidon <mamidon at gatech.edu>
- * - Vlad Grantcharov <vlad321 at gatech.edu>
- * - Ajinkya Kale <kaleajinkya at gmail.com>
- * - Bill March <march at gatech.edu>
- * - Dongryeol Lee <dongryel at cc.gatech.edu>
- * - Nishant Mehta <niche at cc.gatech.edu>
- * - Parikshit Ram <p.ram at gatech.edu>
- * - Chip Mappus <cmappus at gatech.edu>
- * - Hua Ouyang <houyang at gatech.edu>
- * - Long Quoc Tran <tqlong at gmail.com>
- * - Noah Kauffman <notoriousnoah at gmail.com>
- * - Guillermo Colon <gcolon7 at mail.gatech.edu>
- * - Wei Guan <wguan at cc.gatech.edu>
- */
-
-// First, standard includes.
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <ctype.h>
-#include <limits.h>
-#include <float.h>
-#include <stdint.h>
-#include <iostream>
-
-// Defining __USE_MATH_DEFINES should set M_PI.
-#define _USE_MATH_DEFINES
-#include <math.h>
-
-// But if it's not defined, we'll do it.
-#ifndef M_PI
- #define M_PI 3.141592653589793238462643383279
-#endif
-
-// Now MLPACK-specific includes.
-#include <mlpack/core/arma_extend/arma_extend.hpp> // Includes Armadillo.
-#include <mlpack/core/io/log.hpp>
-#include <mlpack/core/io/cli.hpp>
-#include <mlpack/core/data/load.hpp>
-#include <mlpack/core/data/save.hpp>
-#include <mlpack/core/math/math_misc.hpp>
-#include <mlpack/core/math/range.hpp>
-#include <mlpack/core/utilities/save_restore_utility.hpp>
-#include <mlpack/core/utilities/timers.hpp>
-
-#endif
Copied: mlpack/trunk/src/mlpack/core.hpp (from rev 10384, mlpack/trunk/src/mlpack/core.h)
===================================================================
--- mlpack/trunk/src/mlpack/core.hpp (rev 0)
+++ mlpack/trunk/src/mlpack/core.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -0,0 +1,100 @@
+/***
+ * @file core.hpp
+ *
+ * Include all of the base components required to write MLPACK methods, and the
+ * main MLPACK Doxygen documentation.
+ */
+#ifndef __MLPACK_CORE_HPP
+#define __MLPACK_CORE_HPP
+
+/**
+ * @mainpage MLPACK Documentation
+ *
+ * @section intro_sec Introduction
+ *
+ * MLPACK is an intuitive, fast, scalable C++ machine learning library, meant to
+ * be a machine learning analog to LAPACK. It aims to implement a wide array of
+ * machine learning methods and function as a "swiss army knife" for machine
+ * learning researchers. The MLPACK development website can be found at
+ * http://mlpack.org.
+ *
+ * MLPACK uses the Armadillo C++ matrix library (http://arma.sourceforge.net)
+ * for general matrix, vector, and linear algebra support. MLPACK also uses the
+ * program_options, math_c99, and unit_test_framework components of the Boost
+ * library; in addition, LibXml2 is used.
+ *
+ * @section howto How To Use This Documentation
+ *
+ * This documentation is API documentation similar to Javadoc. It isn't
+ * necessarily a tutorial (that can be found elsewhere -- ...once we make a
+ * tutorial), but it does provide detailed documentation on every namespace,
+ * method, and class.
+ *
+ * Each MLPACK namespace generally refers to one machine learning method, so
+ * browsing the list of namespaces provides some insight as to the breadth of
+ * the methods contained in the library.
+ *
+ * To generate this documentation in your own local copy of MLPACK, you can
+ * simply use Doxygen, from the root directory (@c /mlpack/trunk/ ):
+ *
+ * @code
+ * $ doxygen
+ * @endcode
+ *
+ * @section remarks Final Remarks
+ *
+ * This software was written in the FASTLab (http://www.fast-lab.org), which is
+ * in the School of Computational Science and Engineering at the Georgia
+ * Institute of Technology.
+ *
+ * MLPACK contributors include:
+ *
+ * - Ryan Curtin <gth671b at mail.gatech.edu>
+ * - James Cline <james.cline at gatech.edu>
+ * - Neil Slagle <nslagle3 at gatech.edu>
+ * - Matthew Amidon <mamidon at gatech.edu>
+ * - Vlad Grantcharov <vlad321 at gatech.edu>
+ * - Ajinkya Kale <kaleajinkya at gmail.com>
+ * - Bill March <march at gatech.edu>
+ * - Dongryeol Lee <dongryel at cc.gatech.edu>
+ * - Nishant Mehta <niche at cc.gatech.edu>
+ * - Parikshit Ram <p.ram at gatech.edu>
+ * - Chip Mappus <cmappus at gatech.edu>
+ * - Hua Ouyang <houyang at gatech.edu>
+ * - Long Quoc Tran <tqlong at gmail.com>
+ * - Noah Kauffman <notoriousnoah at gmail.com>
+ * - Guillermo Colon <gcolon7 at mail.gatech.edu>
+ * - Wei Guan <wguan at cc.gatech.edu>
+ */
+
+// First, standard includes.
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <ctype.h>
+#include <limits.h>
+#include <float.h>
+#include <stdint.h>
+#include <iostream>
+
+// Defining __USE_MATH_DEFINES should set M_PI.
+#define _USE_MATH_DEFINES
+#include <math.h>
+
+// But if it's not defined, we'll do it.
+#ifndef M_PI
+ #define M_PI 3.141592653589793238462643383279
+#endif
+
+// Now MLPACK-specific includes.
+#include <mlpack/core/arma_extend/arma_extend.hpp> // Includes Armadillo.
+#include <mlpack/core/io/log.hpp>
+#include <mlpack/core/io/cli.hpp>
+#include <mlpack/core/data/load.hpp>
+#include <mlpack/core/data/save.hpp>
+#include <mlpack/core/math/math_misc.hpp>
+#include <mlpack/core/math/range.hpp>
+#include <mlpack/core/utilities/save_restore_utility.hpp>
+#include <mlpack/core/utilities/timers.hpp>
+
+#endif
Modified: mlpack/trunk/src/mlpack/methods/emst/dtb.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/emst/dtb.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/emst/dtb.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -15,7 +15,7 @@
#include "emst.hpp"
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/core/tree/bounds.hpp>
#include <mlpack/core/tree/binary_space_tree.hpp>
#include <mlpack/core/metrics/lmetric.hpp>
Modified: mlpack/trunk/src/mlpack/methods/emst/emst.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/emst/emst.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/emst/emst.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -9,7 +9,7 @@
#ifndef __MLPACK_METHODS_EMST_EMST_HPP
#define __MLPACK_METHODS_EMST_EMST_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "union_find.hpp"
Modified: mlpack/trunk/src/mlpack/methods/emst/emst_main.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/emst/emst_main.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/emst/emst_main.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -14,7 +14,7 @@
#include "dtb.hpp"
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
PARAM_STRING_REQ("input_file", "Data input file.", "emst");
PARAM_STRING("output_file", "Data output file. Stored as an edge list.", "emst", "emst_output.csv");
Modified: mlpack/trunk/src/mlpack/methods/emst/union_find.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/emst/union_find.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/emst/union_find.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -11,7 +11,7 @@
#ifndef __MLPACK_METHODS_EMST_UNION_FIND_HPP
#define __MLPACK_METHODS_EMST_UNION_FIND_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace emst {
Modified: mlpack/trunk/src/mlpack/methods/fastica/fastica.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/fastica/fastica.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/fastica/fastica.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -13,7 +13,7 @@
#ifndef __MLPACK_METHODS_FASTICA_FASTICA_HPP
#define __MLPACK_METHODS_FASTICA_FASTICA_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "lin_alg.hpp"
Modified: mlpack/trunk/src/mlpack/methods/fastica/lin_alg.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/fastica/lin_alg.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/fastica/lin_alg.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
#ifndef __MLPACK_METHODS_FASTICA_LIN_ALG_HPP
#define __MLPACK_METHODS_FASTICA_LIN_ALG_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#define max_rand_i 100000
Modified: mlpack/trunk/src/mlpack/methods/gmm/gmm.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/gmm/gmm.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/gmm/gmm.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
#ifndef __MLPACK_METHODS_MOG_MOG_EM_HPP
#define __MLPACK_METHODS_MOG_MOG_EM_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
PARAM_MODULE("gmm", "Parameters for the Gaussian mixture model.");
Modified: mlpack/trunk/src/mlpack/methods/gmm/kmeans.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/gmm/kmeans.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/gmm/kmeans.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
#ifndef __MLPACK_METHODS_MOG_KMEANS_HPP
#define __MLPACK_METHODS_MOG_KMEANS_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace gmm {
Modified: mlpack/trunk/src/mlpack/methods/gmm/phi.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/gmm/phi.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/gmm/phi.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
#ifndef __MLPACK_METHODS_MOG_PHI_HPP
#define __MLPACK_METHODS_MOG_PHI_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace gmm {
Modified: mlpack/trunk/src/mlpack/methods/hmm/discreteHMM.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/discreteHMM.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/discreteHMM.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -3,7 +3,7 @@
*
* This file contains the implementation of functions in discreteHMM.h
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "support.hpp"
#include "discreteHMM.hpp"
Modified: mlpack/trunk/src/mlpack/methods/hmm/discreteHMM.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/discreteHMM.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/discreteHMM.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -10,7 +10,7 @@
#ifndef __MLPACK_METHODS_HMM_DISCRETE_HMM_HPP
#define __MLPACK_METHODS_HMM_DISCRETE_HMM_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace hmm {
Modified: mlpack/trunk/src/mlpack/methods/hmm/distributions/discrete_distribution.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/distributions/discrete_distribution.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/distributions/discrete_distribution.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
#ifndef __MLPACK_METHODS_HMM_DISTRIBUTIONS_DISCRETE_DISTRIBUTION_HPP
#define __MLPACK_METHODS_HMM_DISTRIBUTIONS_DISCRETE_DISTRIBUTION_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace distribution {
Modified: mlpack/trunk/src/mlpack/methods/hmm/distributions/gaussian_distribution.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/distributions/gaussian_distribution.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/distributions/gaussian_distribution.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -7,7 +7,7 @@
#ifndef __MLPACK_METHODS_HMM_DISTRIBUTIONS_GAUSSIAN_DISTRIBUTION_HPP
#define __MLPACK_METHODS_HMM_DISTRIBUTIONS_GAUSSIAN_DISTRIBUTION_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
// Should be somewhere else, maybe in core.
#include <mlpack/methods/gmm/phi.hpp>
Modified: mlpack/trunk/src/mlpack/methods/hmm/gaussianHMM.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/gaussianHMM.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/gaussianHMM.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -3,7 +3,7 @@
*
* This file contains the implementation of functions in gaussianHMM.h
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "support.hpp"
#include "gaussianHMM.hpp"
Modified: mlpack/trunk/src/mlpack/methods/hmm/gaussianHMM.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/gaussianHMM.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/gaussianHMM.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -10,7 +10,7 @@
#ifndef __MLPACK_METHODS_HMM_GAUSSIAN_HMM_HPP
#define __MLPACK_METHODS_HMM_GAUSSIAN_HMM_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace hmm {
Modified: mlpack/trunk/src/mlpack/methods/hmm/generate.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/generate.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/generate.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
* generate --type=TYPE --profile=PROFILE [OPTCLINS]
* See the usage() function for complete option list
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "support.hpp"
#include "discreteHMM.hpp"
Modified: mlpack/trunk/src/mlpack/methods/hmm/hmm.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/hmm.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/hmm.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
#ifndef __MLPACK_METHODS_HMM_HMM_HPP
#define __MLPACK_METHODS_HMM_HMM_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "distributions/discrete_distribution.hpp"
namespace mlpack {
Modified: mlpack/trunk/src/mlpack/methods/hmm/loglik.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/loglik.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/loglik.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
* loglik --type=TYPE --profile=PROFILE [OPTCLINS]
* See the usage() function for complete option list
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "support.hpp"
#include "discreteHMM.hpp"
Modified: mlpack/trunk/src/mlpack/methods/hmm/mixgaussHMM.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/mixgaussHMM.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/mixgaussHMM.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -3,7 +3,7 @@
*
* This file contains the implementation of functions in mixgaussHMM.h
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "support.hpp"
#include "mixgaussHMM.hpp"
Modified: mlpack/trunk/src/mlpack/methods/hmm/mixgaussHMM.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/mixgaussHMM.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/mixgaussHMM.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -9,7 +9,7 @@
#ifndef __MLPACK_METHODS_HMM_MIXGAUSS_HMM_HPP
#define __MLPACK_METHODS_HMM_MIXGAUSS_HMM_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "mixtureDST.hpp"
namespace mlpack {
Modified: mlpack/trunk/src/mlpack/methods/hmm/mixtureDST.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/mixtureDST.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/mixtureDST.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -3,7 +3,7 @@
*
* This file contains implementation of functions in mixtureDST.h
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "support.hpp"
#include "mixtureDST.hpp"
Modified: mlpack/trunk/src/mlpack/methods/hmm/mixtureDST.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/mixtureDST.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/mixtureDST.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -12,7 +12,7 @@
#ifndef __MLPACK_METHODS_HMM_MIXTURE_GAUSSIAN_HPP
#define __MLPACK_METHODS_HMM_MIXTURE_GAUSSIAN_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "support.hpp"
Modified: mlpack/trunk/src/mlpack/methods/hmm/support.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/support.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/support.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -1,4 +1,4 @@
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/core/metrics/lmetric.hpp>
#include "support.hpp"
Modified: mlpack/trunk/src/mlpack/methods/hmm/support.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/support.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/support.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -1,7 +1,7 @@
#ifndef __MLPACK_METHODS_HMM_SUPPORT_HPP
#define __MLPACK_METHODS_HMM_SUPPORT_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace hmm {
Modified: mlpack/trunk/src/mlpack/methods/hmm/train.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/train.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/train.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -10,7 +10,7 @@
* train --type=TYPE --profile=PROFILE --seqfile=FILE [OPTCLINS]
* See the usage() function for complete option list
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "support.hpp"
#include "discreteHMM.hpp"
Modified: mlpack/trunk/src/mlpack/methods/hmm/viterbi.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/hmm/viterbi.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/hmm/viterbi.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -9,7 +9,7 @@
* viterbi --type=TYPE --profile=PROFILE --seqfile=FILE [OPTCLINS]
* See the usage() function for complete option list
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "support.hpp"
#include "discreteHMM.hpp"
Modified: mlpack/trunk/src/mlpack/methods/infomax_ica/infomax_ica.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/infomax_ica/infomax_ica.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/infomax_ica/infomax_ica.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -6,7 +6,7 @@
*
* @see infomax_ica.h
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "infomax_ica.hpp"
Modified: mlpack/trunk/src/mlpack/methods/infomax_ica/infomax_ica.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/infomax_ica/infomax_ica.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/infomax_ica/infomax_ica.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -15,7 +15,7 @@
#ifndef __MLPACK_METHODS_INFOMAX_ICA_INFOMAX_ICA_HPP
#define __MLPACK_METHODS_INFOMAX_ICA_INFOMAX_ICA_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace infomax_ica {
Modified: mlpack/trunk/src/mlpack/methods/infomax_ica/main.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/infomax_ica/main.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/infomax_ica/main.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -4,7 +4,7 @@
*
* Main function for using infomax ICA method.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "infomax_ica.hpp"
Modified: mlpack/trunk/src/mlpack/methods/linear_regression/linear_regression.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/linear_regression/linear_regression.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/linear_regression/linear_regression.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -7,7 +7,7 @@
#ifndef __MLPACK_METHODS_LINEAR_REGRESSION_LINEAR_REGRESSION_HPP
#define __MLPACK_METHODS_LINEAR_REGRESSION_LINEAR_REGRESSION_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace linear_regression {
Modified: mlpack/trunk/src/mlpack/methods/linear_regression/linear_regression_main.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/linear_regression/linear_regression_main.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/linear_regression/linear_regression_main.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -4,7 +4,7 @@
*
* Main function for least-squares linear regression.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "linear_regression.hpp"
using namespace mlpack;
Modified: mlpack/trunk/src/mlpack/methods/mvu/mvu.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/mvu/mvu.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/mvu/mvu.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -10,7 +10,7 @@
#ifndef __MLPACK_METHODS_MVU_MVU_HPP
#define __MLPACK_METHODS_VU_MVU_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace mvu {
Modified: mlpack/trunk/src/mlpack/methods/mvu/mvu_objective_function.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/mvu/mvu_objective_function.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/mvu/mvu_objective_function.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -21,7 +21,7 @@
#ifndef __MLPACK_METHODS_MVU_MVU_OBJECTIVE_FUNCTION_H
#define __MLPACK_METHODS_MVU_MVU_OBJECTIVE_FUNCTION_H
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace mvu {
Modified: mlpack/trunk/src/mlpack/methods/naive_bayes/nbc_main.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/naive_bayes/nbc_main.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/naive_bayes/nbc_main.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -23,7 +23,7 @@
* This file will contain the classes to which the corresponding data points in
* the testing data.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "simple_nbc.hpp"
Modified: mlpack/trunk/src/mlpack/methods/naive_bayes/simple_nbc.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/naive_bayes/simple_nbc.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/naive_bayes/simple_nbc.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -6,7 +6,7 @@
* the features. It is assumed that the features have been sampled from a
* Gaussian PDF.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include "simple_nbc.hpp"
Modified: mlpack/trunk/src/mlpack/methods/naive_bayes/simple_nbc.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/naive_bayes/simple_nbc.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/naive_bayes/simple_nbc.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -9,7 +9,7 @@
#ifndef __MLPACK_METHODS_NBC_SIMPLE_NBC_HPP
#define __MLPACK_METHODS_NBC_SIMPLE_NBC_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/methods/gmm/phi.hpp>
namespace mlpack {
Modified: mlpack/trunk/src/mlpack/methods/nca/nca.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/nca/nca.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/nca/nca.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -7,7 +7,7 @@
#ifndef __MLPACK_METHODS_NCA_NCA_HPP
#define __MLPACK_METHODS_NCA_NCA_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/core/metrics/lmetric.hpp>
namespace mlpack {
Modified: mlpack/trunk/src/mlpack/methods/nca/nca_main.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/nca/nca_main.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/nca/nca_main.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -4,7 +4,7 @@
*
* Executable for Neighborhood Components Analysis.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/core/metrics/lmetric.hpp>
#include "nca.hpp"
Modified: mlpack/trunk/src/mlpack/methods/nca/nca_softmax_error_function.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/nca/nca_softmax_error_function.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/nca/nca_softmax_error_function.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
#ifndef __MLPACK_METHODS_NCA_NCA_SOFTMAX_ERROR_FUNCTION_HPP
#define __MLPACK_METHODS_NCA_NCA_SOFTMAX_ERROR_FUNCTION_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace nca {
Modified: mlpack/trunk/src/mlpack/methods/neighbor_search/allkfn_main.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/neighbor_search/allkfn_main.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/neighbor_search/allkfn_main.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -5,7 +5,7 @@
* Implementation of the AllkFN executable. Allows some number of standard
* options.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <string>
#include <fstream>
Modified: mlpack/trunk/src/mlpack/methods/neighbor_search/allknn_main.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/neighbor_search/allknn_main.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/neighbor_search/allknn_main.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -5,7 +5,7 @@
* Implementation of the AllkNN executable. Allows some number of standard
* options.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <string>
#include <fstream>
Modified: mlpack/trunk/src/mlpack/methods/neighbor_search/neighbor_search.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/neighbor_search/neighbor_search.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/neighbor_search/neighbor_search.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
#ifndef __MLPACK_METHODS_NEIGHBOR_SEARCH_NEIGHBOR_SEARCH_HPP
#define __MLPACK_METHODS_NEIGHBOR_SEARCH_NEIGHBOR_SEARCH_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/core/tree/bounds.hpp>
#include <mlpack/core/tree/binary_space_tree.hpp>
#include <vector>
Modified: mlpack/trunk/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
#ifndef __MLPACK_METHODS_NEIGHBOR_SEARCH_NEIGHBOR_SEARCH_IMPL_HPP
#define __MLPACK_METHODS_NEIGHBOR_SEARCH_NEIGHBOR_SEARCH_IMPL_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
using namespace mlpack::neighbor;
Modified: mlpack/trunk/src/mlpack/methods/neighbor_search/sort_policies/furthest_neighbor_sort.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/neighbor_search/sort_policies/furthest_neighbor_sort.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/neighbor_search/sort_policies/furthest_neighbor_sort.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
#ifndef __MLPACK_METHODS_NEIGHBOR_SEARCH_FURTHEST_NEIGHBOR_SORT_HPP
#define __MLPACK_METHODS_NEIGHBOR_SEARCH_FURTHEST_NEIGHBOR_SORT_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace neighbor {
Modified: mlpack/trunk/src/mlpack/methods/neighbor_search/sort_policies/nearest_neighbor_sort.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/neighbor_search/sort_policies/nearest_neighbor_sort.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/neighbor_search/sort_policies/nearest_neighbor_sort.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -8,7 +8,7 @@
#ifndef __MLPACK_METHODS_NEIGHBOR_SEARCH_NEAREST_NEIGHBOR_SORT_HPP
#define __MLPACK_METHODS_NEIGHBOR_SEARCH_NEAREST_NEIGHBOR_SORT_HPP
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace neighbor {
Modified: mlpack/trunk/src/mlpack/methods/pca/pca.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/pca/pca.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/pca/pca.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -5,7 +5,7 @@
* specified data set.
*/
#include "pca.hpp"
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <iostream>
using namespace std;
Modified: mlpack/trunk/src/mlpack/methods/pca/pca.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/pca/pca.hpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/methods/pca/pca.hpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -4,7 +4,7 @@
* Defines the PCA class to perform Principal Components Analysis on the
* specified data set.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
namespace mlpack {
namespace pca {
Modified: mlpack/trunk/src/mlpack/tests/allkfn_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/allkfn_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/allkfn_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -3,7 +3,7 @@
*
* Tests for AllkFN (all-k-furthest-neighbors).
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/methods/neighbor_search/neighbor_search.hpp>
#include <boost/test/unit_test.hpp>
Modified: mlpack/trunk/src/mlpack/tests/allknn_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/allknn_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/allknn_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -3,7 +3,7 @@
*
* Test file for AllkNN class.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/methods/neighbor_search/neighbor_search.hpp>
#include <boost/test/unit_test.hpp>
Modified: mlpack/trunk/src/mlpack/tests/aug_lagrangian_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/aug_lagrangian_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/aug_lagrangian_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -6,7 +6,7 @@
* aug_lagrangian_test_functions.h.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/core/optimizers/aug_lagrangian/aug_lagrangian.hpp>
#include <mlpack/core/optimizers/aug_lagrangian/aug_lagrangian_test_functions.hpp>
#include <boost/test/unit_test.hpp>
Modified: mlpack/trunk/src/mlpack/tests/cli_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/cli_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/cli_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -12,7 +12,7 @@
#include <mlpack/core/io/optionshierarchy.hpp>
#include <mlpack/core/io/cli.hpp>
#include <mlpack/core/io/log.hpp>
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#define DEFAULT_INT 42
Modified: mlpack/trunk/src/mlpack/tests/distribution_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/distribution_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/distribution_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -4,7 +4,7 @@
*
* Test for the mlpack::distribution::DiscreteDistribution class.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/methods/hmm/distributions/discrete_distribution.hpp>
#include <mlpack/methods/hmm/distributions/gaussian_distribution.hpp>
Modified: mlpack/trunk/src/mlpack/tests/emst_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/emst_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/emst_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -3,7 +3,7 @@
*
* Test file for EMST methods.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/methods/emst/dtb.hpp>
#include <boost/test/unit_test.hpp>
Modified: mlpack/trunk/src/mlpack/tests/gmm_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/gmm_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/gmm_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -4,7 +4,7 @@
*
* Test for the Gaussian Mixture Model class.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/methods/gmm/gmm.hpp>
#include <mlpack/methods/gmm/phi.hpp>
Modified: mlpack/trunk/src/mlpack/tests/hmm_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/hmm_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/hmm_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -3,7 +3,7 @@
*
* Test file for HMMs.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/methods/hmm/hmm.hpp>
#include <mlpack/methods/hmm/distributions/discrete_distribution.hpp>
#include <mlpack/methods/hmm/distributions/gaussian_distribution.hpp>
Modified: mlpack/trunk/src/mlpack/tests/infomax_ica_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/infomax_ica_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/infomax_ica_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -3,7 +3,7 @@
*
* Test for the infomax ICA method.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/methods/infomax_ica/infomax_ica.hpp>
#include <boost/test/unit_test.hpp>
Modified: mlpack/trunk/src/mlpack/tests/lbfgs_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/lbfgs_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/lbfgs_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -5,7 +5,7 @@
*
* @author Ryan Curtin (gth671b at mail.gatech.edu)
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/core/optimizers/lbfgs/lbfgs.hpp>
#include <mlpack/core/optimizers/lbfgs/test_functions.hpp>
Modified: mlpack/trunk/src/mlpack/tests/lin_alg_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/lin_alg_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/lin_alg_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -7,7 +7,7 @@
*
* @author Ryan Curtin
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/methods/fastica/lin_alg.hpp>
#include <boost/test/unit_test.hpp>
Modified: mlpack/trunk/src/mlpack/tests/linear_regression_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/linear_regression_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/linear_regression_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -3,7 +3,7 @@
*
* Test for linear regression.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/methods/linear_regression/linear_regression.hpp>
#include <boost/test/unit_test.hpp>
Modified: mlpack/trunk/src/mlpack/tests/nbc_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/nbc_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/nbc_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -3,7 +3,7 @@
*
* Test for the Naive Bayes classifier.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/methods/naive_bayes/simple_nbc.hpp>
#include <boost/test/unit_test.hpp>
Modified: mlpack/trunk/src/mlpack/tests/nca_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/nca_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/nca_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -5,7 +5,7 @@
* Unit tests for Neighborhood Components Analysis and related code (including
* the softmax error function).
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/core/metrics/lmetric.hpp>
#include <mlpack/methods/nca/nca.hpp>
Modified: mlpack/trunk/src/mlpack/tests/sort_policy_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/sort_policy_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/sort_policy_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -4,7 +4,7 @@
*
* Tests for each of the implementations of the SortPolicy class.
*/
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <mlpack/core/tree/bounds.hpp>
#include <mlpack/core/tree/binary_space_tree.hpp>
Modified: mlpack/trunk/src/mlpack/tests/union_find_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/union_find_test.cpp 2011-11-24 07:27:06 UTC (rev 10392)
+++ mlpack/trunk/src/mlpack/tests/union_find_test.cpp 2011-11-24 18:50:45 UTC (rev 10393)
@@ -6,7 +6,7 @@
*/
#include <mlpack/methods/emst/union_find.hpp>
-#include <mlpack/core.h>
+#include <mlpack/core.hpp>
#include <boost/test/unit_test.hpp>
using namespace mlpack;
More information about the mlpack-svn
mailing list