[mlpack-git] master: Remove Covariances() and Means(); fixes #346. ~R: fixed (ef989e9)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Jan 8 18:05:41 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/92d8ee1d3f8c0b573133553be93556be8b1de810...ef989e99696f41f1145c191636a9677cb33ae908
>---------------------------------------------------------------
commit ef989e99696f41f1145c191636a9677cb33ae908
Author: Ryan Curtin <ryan at ratml.org>
Date: Thu Jan 8 18:03:22 2015 -0500
Remove Covariances() and Means(); fixes #346.
~R: fixed
>---------------------------------------------------------------
ef989e99696f41f1145c191636a9677cb33ae908
src/mlpack/methods/gmm/gmm.hpp | 27 ---------------------------
1 file changed, 27 deletions(-)
diff --git a/src/mlpack/methods/gmm/gmm.hpp b/src/mlpack/methods/gmm/gmm.hpp
index 2437348..fab8974 100644
--- a/src/mlpack/methods/gmm/gmm.hpp
+++ b/src/mlpack/methods/gmm/gmm.hpp
@@ -241,33 +241,6 @@ class GMM
*/
distribution::GaussianDistribution& Component(size_t i) { return dists[i]; }
- //! Functions from earlier releases give errors
- const std::vector<arma::vec>& Means() const
- {
- Log::Fatal << "GMM::Means() no longer supported."
- << "See GMM::Components().";
- return means;
- }
- std::vector<arma::vec>& Means()
- {
- Log::Fatal << "GMM::Means() no longer supported."
- << "See GMM::Components().";
- return means;
- }
- const std::vector<arma::mat>& Covariances() const
- {
- Log::Fatal << "GMM::Covariances() no longer supported."
- << "See GMM::Components().";
- return covariances;
- }
- std::vector<arma::mat>& Covariances()
- {
- Log::Fatal << "GMM::Covariances() no longer supported."
- << "See GMM::Components().";
- return covariances;
- }
-
-
//! Return a const reference to the a priori weights of each Gaussian.
const arma::vec& Weights() const { return weights; }
//! Return a reference to the a priori weights of each Gaussian.
More information about the mlpack-git
mailing list