Skip to content

Latest commit

 

History

History
54 lines (47 loc) · 3.19 KB

changelog.rst

File metadata and controls

54 lines (47 loc) · 3.19 KB

Changelog

v0.2.1

  • An error related to the processing of categorical data with too many categories has been corrected.
  • Removed -march=native flag in the build script to avoid the use of instruction sets not available on some CPUs.

v0.2.0

  • Added conditional linear Gaussian networks (CLGNetworkType <pybnesian.models.CLGNetworkType>, CLGNetwork <pybnesian.models.CLGNetwork>, ConditionalCLGNetwork <pybnesian.models.ConditionalCLGNetwork> and DynamicCLGNetwork <pybnesian.models.DynamicCLGNetwork>).
  • Implemented ChiSquare <pybnesian.learning.independences.ChiSquare> (and DynamicChiSquare <pybnesian.learning.independences.DynamicChiSquare>) indepencence test.
  • Implemented MutualInformation <pybnesian.learning.independences.MutualInformation> (and DynamicMutualInformation <pybnesian.learning.independences.DynamicMutualInformation>) indepencence test. This independence test is valid for hybrid data.
  • Implemented BDe <pybnesian.learning.scores.BDe> (Bayesian Dirichlet equivalent) score (and DynamicBDe <pybnesian.learning.scores.DynamicBDe>).
  • Added UnknownFactorType <pybnesian.factors.UnknownFactorType> as default FactorType <pybnesian.factors.FactorType> for Bayesian networks when the node type could not be deduced.
  • Added Assignment <pybnesian.factors.Assignment> class to represent the assignment of values to variables.

API changes:

  • Added method Score.data() <pybnesian.learning.scores.Score.data>.
  • Added BayesianNetworkType.data_default_node_type() <pybnesian.models.BayesianNetworkType.data_default_node_type> for non-homogeneous BayesianNetworkType <pybnesian.models.BayesianNetworkType>.
  • Added constructor for HeterogeneousBN <pybnesian.models.HeterogeneousBN> to specify a default FactorType <pybnesian.factors.FactorType> for each data type. Also, it adds HeterogeneousBNType.default_node_types() <pybnesian.models.HeterogeneousBNType.default_node_types> and HeterogeneousBNType.single_default() <pybnesian.models.HeterogeneousBNType.single_default>.
  • Added BayesianNetworkBase.has_unknown_node_types() <pybnesian.models.BayesianNetworkBase.has_unknown_node_types> and BayesianNetworkBase.set_unknown_node_types() <pybnesian.models.BayesianNetworkBase.set_unknown_node_types>.
  • Changed signature of BayesianNetworkType.compatible_node_type() <pybnesian.models.BayesianNetworkType.compatible_node_type> to include the new node type as argument.
  • Removed FactorType.opposite_semiparametric(). This functionality has been replaced by BayesianNetworkType.alternative_node_type() <pybnesian.models.BayesianNetworkType.alternative_node_type>.
  • Included model as argument of Operator.opposite() <pybnesian.learning.operators.Operator.opposite>.
  • Added method OperatorSet.set_type_blacklist() <pybnesian.learning.operators.OperatorSet.set_type_blacklist>. Added a type blacklist argument to ChangeNodeTypeSet <pybnesian.learning.operators.ChangeNodeTypeSet> constructor.

v0.1.0

  • First release! =).