48#ifndef GUM_LEARNING_SCORE_BIC_H
49#define GUM_LEARNING_SCORE_BIC_H
99 const std::vector< std::pair< std::size_t, std::size_t > >&
ranges,
214#ifndef DOXYGEN_SHOULD_SKIP_THIS
the class used to read a row in the database and to transform it into a set of DBRow instances that c...
A class for storing a pair of sets of NodeIds, the second one corresponding to a conditional set.
the no a priorclass: corresponds to 0 weight-sample
the base class for all a priori
double N(const IdCondSet &idset)
returns the size of the database w.r.t. a given idset
ScoreBIC & operator=(const ScoreBIC &from)
copy operator
virtual ~ScoreBIC()
destructor
virtual double score_(const IdCondSet &idset) final
returns the score for a given IdCondSet
ScoreBIC(const ScoreBIC &from)
copy constructor
ScoreBIC & operator=(ScoreBIC &&from)
move operator
virtual const Prior & internalPrior() const final
returns the internal prior of the score
virtual std::string isPriorCompatible() const final
indicates whether the prior is compatible (meaningful) with the score
virtual ScoreBIC * clone() const
virtual copy constructor
ScoreBIC(const DBRowGeneratorParser &parser, const Prior &prior, const std::vector< std::pair< std::size_t, std::size_t > > &ranges, const Bijection< NodeId, std::size_t > &nodeId2columns=Bijection< NodeId, std::size_t >())
default constructor
ScoreBIC(ScoreBIC &&from)
move constructor
ScoreBIC(const DBRowGeneratorParser &parser, const Prior &prior, const Bijection< NodeId, std::size_t > &nodeId2columns=Bijection< NodeId, std::size_t >())
default constructor
const std::vector< std::pair< std::size_t, std::size_t > > & ranges() const
returns the current ranges
Score(const DBRowGeneratorParser &parser, const Prior &external_prior, const std::vector< std::pair< std::size_t, std::size_t > > &ranges, const Bijection< NodeId, std::size_t > &nodeId2columns=Bijection< NodeId, std::size_t >())
default constructor
include the inlined functions if necessary
gum is the global namespace for all aGrUM entities
the no a priorclass: corresponds to 0 weight-sample
the class for computing BIC scores
the base class for all the scores used for learning (BIC, BDeu, etc)