pysmile.learning.BayesianSearch

<< Click to Display Table of Contents >>

Navigation:  PySMILE reference > Learning >

pysmile.learning.BayesianSearch

get_bk_knowledge(self: pysmile.learning.BayesianSearch) -> pysmile.learning.BkKnowledge

Gets background knowledge object

get_iteration_count(self: pysmile.learning.BayesianSearch) -> int

Gets the number of search iterations

get_last_score(self: pysmile.learning.BayesianSearch) -> float

Gets the score of the last learned structure

get_link_probability(self: pysmile.learning.BayesianSearch) -> float

Gets the link probability prior

get_max_parents(self: pysmile.learning.BayesianSearch) -> int

Gets the maximum number of parents for any node

get_max_search_time(self: pysmile.learning.BayesianSearch) -> int

Gets the maximum search time

get_prior_link_probability(self: pysmile.learning.BayesianSearch) -> float

Gets prior probability for link existence

get_prior_sample_size(self: pysmile.learning.BayesianSearch) -> int

Gets prior sample size

get_rand_seed(self: pysmile.learning.BayesianSearch) -> int

Gets the random seed used in search

learn(self: pysmile.learning.BayesianSearch, dataset: pysmile.learning.DataSet) -> pysmile.Network

Performs Bayesian structure learning

set_bk_knowledge(self: pysmile.learning.BayesianSearch, bk_knowledge: pysmile.learning.BkKnowledge) -> None

Sets background knowledge object

set_iteration_count(self: pysmile.learning.BayesianSearch, iteration_count: int) -> None

Sets the number of search iterations

set_link_probability(self: pysmile.learning.BayesianSearch, link_probability: float) -> None

Sets the link probability prior

set_max_parents(self: pysmile.learning.BayesianSearch, max_parents: int) -> None

Sets the maximum number of parents for any node

set_max_search_time(self: pysmile.learning.BayesianSearch, max_search_time: int) -> None

Sets the maximum search time

set_prior_link_probability(self: pysmile.learning.BayesianSearch, link_probability: float) -> None

Sets prior probability for link existence

set_prior_sample_size(self: pysmile.learning.BayesianSearch, prior_sample_size: int) -> None

Sets prior sample size

set_rand_seed(self: pysmile.learning.BayesianSearch, rand_seed: int) -> None

Sets the random seed used in search