MINT2
LASSO_flexi.cpp
Go to the documentation of this file.
1 // author: Philippe d'Argent (p.dargent@cern.ch)
2 #include "Mint/Neg2LLSum.h"
3 #include "Mint/IMinimisable.h"
4 #include "Mint/LASSO_flexi.h"
5 #include "Mint/NamedParameter.h"
6 
7 
8 using namespace std;
9 using namespace MINT;
10 
11 
12 double LASSO_flexi::getVal(){
13  return _lambda * _pdf->sumOfSqrtFitFractions();
14 }
15 
16 int LASSO_flexi::numberOfFitFractionsLargerThanThreshold(double threshold){
17  return _pdf->numberOfFitFractionsLargerThanThreshold(threshold);
18 }
19 
20 
21 
22 //