[mlpack-git] mlpack-2.x: Add license. (0c503b2)
gitdub at mlpack.org
gitdub at mlpack.org
Thu Jun 16 11:24:51 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : mlpack-2.x
Link : https://github.com/mlpack/mlpack/compare/92a7f9a1849cd89c0861b3e4b08cf32f33936daa...6815ea7b3303b4979dbbbfc0f7c9a489955fabaa
>---------------------------------------------------------------
commit 0c503b2209eee63abb3882af223ecd0d1ce81f83
Author: Ryan Curtin <ryan at ratml.org>
Date: Thu Jun 16 11:24:51 2016 -0400
Add license.
>---------------------------------------------------------------
0c503b2209eee63abb3882af223ecd0d1ce81f83
src/mlpack/core/data/serialization_template_version.hpp | 7 +++++++
src/mlpack/core/data/split_data.hpp | 7 +++++++
src/mlpack/core/optimizers/adadelta/ada_delta.hpp | 7 +++++++
src/mlpack/core/optimizers/adadelta/ada_delta_impl.hpp | 7 +++++++
src/mlpack/core/optimizers/adam/adam.hpp | 7 +++++++
src/mlpack/core/optimizers/adam/adam_impl.hpp | 7 +++++++
src/mlpack/core/optimizers/minibatch_sgd/minibatch_sgd.hpp | 7 +++++++
src/mlpack/core/optimizers/minibatch_sgd/minibatch_sgd_impl.hpp | 7 +++++++
src/mlpack/core/optimizers/rmsprop/rmsprop.hpp | 7 +++++++
src/mlpack/core/optimizers/rmsprop/rmsprop_impl.hpp | 7 +++++++
src/mlpack/core/util/version.hpp | 4 ++--
src/mlpack/methods/kmeans/kill_empty_clusters.hpp | 7 +++++++
src/mlpack/methods/kmeans/sample_initialization.hpp | 7 +++++++
src/mlpack/methods/preprocess/preprocess_split_main.cpp | 7 +++++++
src/mlpack/tests/arma_extend_test.cpp | 8 +++++++-
src/mlpack/tests/ind2sub_test.cpp | 7 +++++++
src/mlpack/tests/minibatch_sgd_test.cpp | 7 +++++++
src/mlpack/tests/split_data_test.cpp | 7 +++++++
18 files changed, 121 insertions(+), 3 deletions(-)
diff --git a/src/mlpack/core/data/serialization_template_version.hpp b/src/mlpack/core/data/serialization_template_version.hpp
index 6b617a8..70399b5 100644
--- a/src/mlpack/core/data/serialization_template_version.hpp
+++ b/src/mlpack/core/data/serialization_template_version.hpp
@@ -4,6 +4,13 @@
*
* A better version of the BOOST_CLASS_VERSION() macro that supports templated
* classes.
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#ifndef MLPACK_CORE_DATA_SERIALIZATION_TEMPLATE_VERSION_HPP
#define MLPACK_CORE_DATA_SERIALIZATION_TEMPLATE_VERSION_HPP
diff --git a/src/mlpack/core/data/split_data.hpp b/src/mlpack/core/data/split_data.hpp
index d02f6c6..314cb3f 100644
--- a/src/mlpack/core/data/split_data.hpp
+++ b/src/mlpack/core/data/split_data.hpp
@@ -4,6 +4,13 @@
*
* Defines Split(), a utility function to split a dataset into a
* training set and a test set.
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#ifndef MLPACK_CORE_DATA_SPLIT_DATA_HPP
#define MLPACK_CORE_DATA_SPLIT_DATA_HPP
diff --git a/src/mlpack/core/optimizers/adadelta/ada_delta.hpp b/src/mlpack/core/optimizers/adadelta/ada_delta.hpp
index 942c81c..769e657 100644
--- a/src/mlpack/core/optimizers/adadelta/ada_delta.hpp
+++ b/src/mlpack/core/optimizers/adadelta/ada_delta.hpp
@@ -6,6 +6,13 @@
* Implementation of the Adadelta optimizer. Adadelta is an optimizer that
* dynamically adapts over time using only first order information.
* Additionally, Adadelta requires no manual tuning of a learning rate.
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#ifndef __MLPACK_CORE_OPTIMIZERS_ADADELTA_ADA_DELTA_HPP
#define __MLPACK_CORE_OPTIMIZERS_ADADELTA_ADA_DELTA_HPP
diff --git a/src/mlpack/core/optimizers/adadelta/ada_delta_impl.hpp b/src/mlpack/core/optimizers/adadelta/ada_delta_impl.hpp
index 6bfd9ed..32a009d 100644
--- a/src/mlpack/core/optimizers/adadelta/ada_delta_impl.hpp
+++ b/src/mlpack/core/optimizers/adadelta/ada_delta_impl.hpp
@@ -4,6 +4,13 @@
* @author Vasanth Kalingeri
*
* Implementation of the Adadelta optimizer.
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#ifndef __MLPACK_CORE_OPTIMIZERS_ADADELTA_ADA_DELTA_IMPL_HPP
#define __MLPACK_CORE_OPTIMIZERS_ADADELTA_ADA_DELTA_IMPL_HPP
diff --git a/src/mlpack/core/optimizers/adam/adam.hpp b/src/mlpack/core/optimizers/adam/adam.hpp
index 9894664..3b8f2fd 100644
--- a/src/mlpack/core/optimizers/adam/adam.hpp
+++ b/src/mlpack/core/optimizers/adam/adam.hpp
@@ -7,6 +7,13 @@
* Adam optimizer. Adam is an an algorithm for first-order gradient-based
* optimization of stochastic objective functions, based on adaptive estimates
* of lower-order moments.
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#ifndef __MLPACK_CORE_OPTIMIZERS_ADAM_ADAM_HPP
#define __MLPACK_CORE_OPTIMIZERS_ADAM_ADAM_HPP
diff --git a/src/mlpack/core/optimizers/adam/adam_impl.hpp b/src/mlpack/core/optimizers/adam/adam_impl.hpp
index 725a9d6..4814562 100644
--- a/src/mlpack/core/optimizers/adam/adam_impl.hpp
+++ b/src/mlpack/core/optimizers/adam/adam_impl.hpp
@@ -5,6 +5,13 @@
* @author Marcus Edel
*
* Implementation of the Adam optimizer.
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#ifndef __MLPACK_CORE_OPTIMIZERS_ADAM_ADAM_IMPL_HPP
#define __MLPACK_CORE_OPTIMIZERS_ADAM_ADAM_IMPL_HPP
diff --git a/src/mlpack/core/optimizers/minibatch_sgd/minibatch_sgd.hpp b/src/mlpack/core/optimizers/minibatch_sgd/minibatch_sgd.hpp
index 7edc721..4530383 100644
--- a/src/mlpack/core/optimizers/minibatch_sgd/minibatch_sgd.hpp
+++ b/src/mlpack/core/optimizers/minibatch_sgd/minibatch_sgd.hpp
@@ -3,6 +3,13 @@
* @author Ryan Curtin
*
* Mini-batch Stochastic Gradient Descent (SGD).
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#ifndef MLPACK_CORE_OPTIMIZERS_MINIBATCH_SGD_MINIBATCH_SGD_HPP
#define MLPACK_CORE_OPTIMIZERS_MINIBATCH_SGD_MINIBATCH_SGD_HPP
diff --git a/src/mlpack/core/optimizers/minibatch_sgd/minibatch_sgd_impl.hpp b/src/mlpack/core/optimizers/minibatch_sgd/minibatch_sgd_impl.hpp
index 9a2adf2..74ae61a 100644
--- a/src/mlpack/core/optimizers/minibatch_sgd/minibatch_sgd_impl.hpp
+++ b/src/mlpack/core/optimizers/minibatch_sgd/minibatch_sgd_impl.hpp
@@ -3,6 +3,13 @@
* @author Ryan Curtin
*
* Implementation of mini-batch SGD.
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#ifndef MLPACK_CORE_OPTIMIZERS_MINIBATCH_SGD_MINIBATCH_SGD_IMPL_HPP
#define MLPACK_CORE_OPTIMIZERS_MINIBATCH_SGD_MINIBATCH_SGD_IMPL_HPP
diff --git a/src/mlpack/core/optimizers/rmsprop/rmsprop.hpp b/src/mlpack/core/optimizers/rmsprop/rmsprop.hpp
index 7603db9..f4f701d 100644
--- a/src/mlpack/core/optimizers/rmsprop/rmsprop.hpp
+++ b/src/mlpack/core/optimizers/rmsprop/rmsprop.hpp
@@ -5,6 +5,13 @@
*
* RMSprop optimizer. RmsProp is an optimizer that utilizes the magnitude of
* recent gradients to normalize the gradients.
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#ifndef MLPACK_CORE_OPTIMIZERS_RMSPROP_RMSPROP_HPP
#define MLPACK_CORE_OPTIMIZERS_RMSPROP_RMSPROP_HPP
diff --git a/src/mlpack/core/optimizers/rmsprop/rmsprop_impl.hpp b/src/mlpack/core/optimizers/rmsprop/rmsprop_impl.hpp
index f496efd..03b6077 100644
--- a/src/mlpack/core/optimizers/rmsprop/rmsprop_impl.hpp
+++ b/src/mlpack/core/optimizers/rmsprop/rmsprop_impl.hpp
@@ -4,6 +4,13 @@
* @author Marcus Edel
*
* Implementation of the RMSprop optimizer.
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#ifndef MLPACK_CORE_OPTIMIZERS_RMSPROP_RMSPROP_IMPL_HPP
#define MLPACK_CORE_OPTIMIZERS_RMSPROP_RMSPROP_IMPL_HPP
diff --git a/src/mlpack/core/util/version.hpp b/src/mlpack/core/util/version.hpp
index 7f5fdbe..933e748 100644
--- a/src/mlpack/core/util/version.hpp
+++ b/src/mlpack/core/util/version.hpp
@@ -28,13 +28,13 @@
// with higher number than the most recent release.
#define MLPACK_VERSION_MAJOR 2
#define MLPACK_VERSION_MINOR 0
-#define MLPACK_VERSION_PATCH "x"
+#define MLPACK_VERSION_PATCH 2
// Reverse compatibility; these macros will be removed in future versions of
// mlpack (3.0.0 and newer)!
#define __MLPACK_VERSION_MAJOR 2
#define __MLPACK_VERSION_MINOR 0
-#define __MLPACK_VERSION_PATCH "x"
+#define __MLPACK_VERSION_PATCH 2
// The name of the version (for use by --version).
namespace mlpack {
diff --git a/src/mlpack/methods/kmeans/kill_empty_clusters.hpp b/src/mlpack/methods/kmeans/kill_empty_clusters.hpp
index d8aa97e..9494d76 100644
--- a/src/mlpack/methods/kmeans/kill_empty_clusters.hpp
+++ b/src/mlpack/methods/kmeans/kill_empty_clusters.hpp
@@ -4,6 +4,13 @@
*
* This very simple policy is used when K-Means is allowed to return empty
* clusters.
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#ifndef __MLPACK_METHODS_KMEANS_KILL_EMPTY_CLUSTERS_HPP
#define __MLPACK_METHODS_KMEANS_KILL_EMPTY_CLUSTERS_HPP
diff --git a/src/mlpack/methods/kmeans/sample_initialization.hpp b/src/mlpack/methods/kmeans/sample_initialization.hpp
index 0d967b3..7ac4ba0 100644
--- a/src/mlpack/methods/kmeans/sample_initialization.hpp
+++ b/src/mlpack/methods/kmeans/sample_initialization.hpp
@@ -5,6 +5,13 @@
* In order to construct initial centroids, randomly sample points from the
* dataset. This tends to give better results than the RandomPartition
* strategy.
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#ifndef __MLPACK_METHODS_KMEANS_SAMPLE_INITIALIZATION_HPP
#define __MLPACK_METHODS_KMEANS_SAMPLE_INITIALIZATION_HPP
diff --git a/src/mlpack/methods/preprocess/preprocess_split_main.cpp b/src/mlpack/methods/preprocess/preprocess_split_main.cpp
index a615f37..c87dab9 100644
--- a/src/mlpack/methods/preprocess/preprocess_split_main.cpp
+++ b/src/mlpack/methods/preprocess/preprocess_split_main.cpp
@@ -3,6 +3,13 @@
* @author Keon Woo Kim
*
* split data CLI executable
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#include <mlpack/core.hpp>
#include <mlpack/core/data/split_data.hpp>
diff --git a/src/mlpack/tests/arma_extend_test.cpp b/src/mlpack/tests/arma_extend_test.cpp
index 076a02f..d4cd280 100644
--- a/src/mlpack/tests/arma_extend_test.cpp
+++ b/src/mlpack/tests/arma_extend_test.cpp
@@ -3,8 +3,14 @@
* @author Ryan Curtin
*
* Test of the mlpack extensions to Armadillo.
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
-
#include <mlpack/core.hpp>
#include <boost/test/unit_test.hpp>
#include "old_boost_test_definitions.hpp"
diff --git a/src/mlpack/tests/ind2sub_test.cpp b/src/mlpack/tests/ind2sub_test.cpp
index ef1014b..6dd1d97 100644
--- a/src/mlpack/tests/ind2sub_test.cpp
+++ b/src/mlpack/tests/ind2sub_test.cpp
@@ -3,6 +3,13 @@
* @author Nilay Jain
*
* Test the backported Armadillo ind2sub() and sub2ind() functions.
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#include <mlpack/core.hpp>
#include <boost/test/unit_test.hpp>
diff --git a/src/mlpack/tests/minibatch_sgd_test.cpp b/src/mlpack/tests/minibatch_sgd_test.cpp
index 90e5b58..b39ea19 100644
--- a/src/mlpack/tests/minibatch_sgd_test.cpp
+++ b/src/mlpack/tests/minibatch_sgd_test.cpp
@@ -3,6 +3,13 @@
* @author Ryan Curtin
*
* Test file for minibatch SGD.
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#include <mlpack/core.hpp>
#include <mlpack/core/optimizers/sgd/sgd.hpp>
diff --git a/src/mlpack/tests/split_data_test.cpp b/src/mlpack/tests/split_data_test.cpp
index bbc529b..c3962e4 100644
--- a/src/mlpack/tests/split_data_test.cpp
+++ b/src/mlpack/tests/split_data_test.cpp
@@ -3,6 +3,13 @@
* @author Tham Ngap Wei
*
* Test the SplitData method.
+ *
+ * This file is part of mlpack 2.0.2.
+ *
+ * mlpack is free software; you may redstribute it and/or modify it under the
+ * terms of the 3-clause BSD license. You should have received a copy of the
+ * 3-clause BSD license along with mlpack. If not, see
+ * http://www.opensource.org/licenses/BSD-3-Clause for more information.
*/
#include <mlpack/core.hpp>
#include <mlpack/core/data/split_data.hpp>
More information about the mlpack-git
mailing list