mlpack
bayesian_linear_regression_impl.hpp
Go to the documentation of this file.
1 
12 #ifndef MLPACK_METHODS_BAYESIAN_LINEAR_REGRESSION_IMPL_HPP
13 #define MLPACK_METHODS_BAYESIAN_LINEAR_REGRESSION_IMPL_HPP
14 
16 
17 namespace mlpack {
18 namespace regression {
19 
23 template<typename Archive>
25  const uint32_t /* version */)
26 {
27  ar(CEREAL_NVP(centerData));
28  ar(CEREAL_NVP(scaleData));
29  ar(CEREAL_NVP(maxIterations));
30  ar(CEREAL_NVP(tolerance));
31  ar(CEREAL_NVP(dataOffset));
32  ar(CEREAL_NVP(dataScale));
33  ar(CEREAL_NVP(responsesOffset));
34  ar(CEREAL_NVP(alpha));
35  ar(CEREAL_NVP(beta));
36  ar(CEREAL_NVP(gamma));
37  ar(CEREAL_NVP(omega));
38  ar(CEREAL_NVP(matCovariance));
39 }
40 
41 } // namespace regression
42 } // namespace mlpack
43 
44 #endif
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
void serialize(Archive &ar, const uint32_t version)
Serialize the BayesianLinearRegression model.
Definition: bayesian_linear_regression_impl.hpp:24