00001 /* 00002 * This program is free software; you can redistribute it and/or modify 00003 * it under the terms of the GNU General Public License as published by 00004 * the Free Software Foundation; either version 3 of the License, or 00005 * (at your option) any later version. 00006 * 00007 * Copyright (C) 2012 Soeren Sonnenburg 00008 */ 00009 00010 #include <shogun/lib/config.h> 00011 00012 #ifdef HAVE_LAPACK 00013 #include <shogun/regression/LeastSquaresRegression.h> 00014 #include <shogun/regression/LinearRidgeRegression.h> 00015 #include <shogun/mathematics/lapack.h> 00016 #include <shogun/mathematics/Math.h> 00017 00018 using namespace shogun; 00019 00020 CLeastSquaresRegression::CLeastSquaresRegression() 00021 : CLinearRidgeRegression() 00022 { 00023 m_tau=0; 00024 } 00025 00026 CLeastSquaresRegression::CLeastSquaresRegression(CDenseFeatures<float64_t>* data, CLabels* lab) 00027 : CLinearRidgeRegression(0, data, lab) 00028 { 00029 } 00030 #endif