13 #ifndef mitkGeneralizedLinearModel_h
14 #define mitkGeneralizedLinearModel_h
16 #include <MitkCLImportanceWeightingExports.h>
18 #include <vnl/vnl_matrix.h>
19 #include <vnl/vnl_vector.h>
43 GeneralizedLinearModel (
const vnl_matrix<double> &xData,
const vnl_vector<double> &yData,
bool addConstantColumn=
true);
56 double Predict(
const vnl_vector<double> &c);
69 vnl_vector<double> Predict(
const vnl_matrix<double> &x);
79 vnl_vector<double> ExpMu(
const vnl_matrix<double> &x);
84 vnl_vector<double> B();
90 void EstimatePermutation(
const vnl_matrix<double> &xData);
92 vnl_vector<unsigned int> m_Permutation;
93 vnl_vector<double> m_B;
94 bool m_AddConstantColumn;