25 #ifndef GUM_LEARNING_PARAM_ESTIMATOR_ML_H 26 #define GUM_LEARNING_PARAM_ESTIMATOR_ML_H 42 template <
template <
typename >
class ALLOC = std::allocator >
81 const std::vector< std::pair< std::size_t, std::size_t >,
82 ALLOC< std::pair< std::size_t, std::size_t > > >&
172 virtual std::vector< double, ALLOC< double > >
parameters(
174 const std::vector<
NodeId, ALLOC< NodeId > >& conditioning_nodes);
the base class for all a priori
virtual ~ParamEstimatorML()
destructor
gum is the global namespace for all aGrUM entities
const std::vector< std::pair< std::size_t, std::size_t >, ALLOC< std::pair< std::size_t, std::size_t > > > & ranges() const
returns the current ranges
ParamEstimatorML(const DBRowGeneratorParser< ALLOC > &parser, const Apriori< ALLOC > &external_apriori, const Apriori< ALLOC > &score_internal__apriori, const std::vector< std::pair< std::size_t, std::size_t >, ALLOC< std::pair< std::size_t, std::size_t > > > &ranges, const Bijection< NodeId, std::size_t, ALLOC< std::size_t > > &nodeId2columns=Bijection< NodeId, std::size_t, ALLOC< std::size_t > >(), const allocator_type &alloc=allocator_type())
default constructor
ParamEstimatorML< ALLOC > & operator=(const ParamEstimatorML< ALLOC > &from)
copy operator
ALLOC< NodeId > allocator_type
type for the allocators passed in arguments of methods
virtual ParamEstimatorML< ALLOC > * clone() const
virtual copy constructor
Set of pairs of elements with fast search for both elements.
the class for estimating parameters of CPTs using Maximum Likelihood
ALLOC< NodeId > allocator_type
type for the allocators passed in arguments of methods
virtual std::vector< double, ALLOC< double > > parameters(const NodeId target_node, const std::vector< NodeId, ALLOC< NodeId > > &conditioning_nodes)
returns the CPT's parameters corresponding to a given nodeset
the base class for estimating parameters of CPTs
The base class for estimating parameters of CPTs.
The class for estimating parameters of CPTs using Maximum Likelihood.
the class used to read a row in the database and to transform it into a set of DBRow instances that c...
Size NodeId
Type for node ids.