17 #ifndef mitkGeneralizedLinearModel_h
18 #define mitkGeneralizedLinearModel_h
20 #include <MitkCLImportanceWeightingExports.h>
22 #include <vnl/vnl_matrix.h>
23 #include <vnl/vnl_vector.h>
47 GeneralizedLinearModel (
const vnl_matrix<double> &xData,
const vnl_vector<double> &yData,
bool addConstantColumn=
true);
60 double Predict(
const vnl_vector<double> &c);
73 vnl_vector<double> Predict(
const vnl_matrix<double> &x);
83 vnl_vector<double> ExpMu(
const vnl_matrix<double> &x);
88 vnl_vector<double> B();
94 void EstimatePermutation(
const vnl_matrix<double> &xData);
96 #pragma warning(disable: 4251)
97 vnl_vector<unsigned int> m_Permutation;
98 vnl_vector<double> m_B;
99 bool m_AddConstantColumn;
104 #endif //mitkGeneralizedLInearModel_h
DataCollection - Class to facilitate loading/accessing structured data.
Generalized Linear Model that allows linear models for non-gaussian data.