SHOGUN
v3.0.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
shogun
regression
LeastSquaresRegression.cpp
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 3 of the License, or
5
* (at your option) any later version.
6
*
7
* Copyright (C) 2012 Soeren Sonnenburg
8
*/
9
10
#include <
shogun/lib/config.h
>
11
12
#ifdef HAVE_LAPACK
13
#include <
shogun/regression/LeastSquaresRegression.h
>
14
#include <
shogun/regression/LinearRidgeRegression.h
>
15
#include <
shogun/mathematics/lapack.h
>
16
#include <
shogun/mathematics/Math.h
>
17
18
using namespace
shogun;
19
20
CLeastSquaresRegression::CLeastSquaresRegression
()
21
:
CLinearRidgeRegression
()
22
{
23
m_tau
=0;
24
}
25
26
CLeastSquaresRegression::CLeastSquaresRegression
(
CDenseFeatures<float64_t>
* data,
CLabels
* lab)
27
:
CLinearRidgeRegression
(0, data, lab)
28
{
29
}
30
#endif
SHOGUN
Machine Learning Toolbox - Documentation