Bayesian networks are powerful tools for performing inference on data. Because of the growing complexity of the data being used, creating accurate Bayesian network structures is becoming more time-consuming and more dependant on expert knowledge. Investigations have been conducted into "structure learning": learning Bayesian network structures from data. Several different structure learning algorithms have been developed, each using different methods. In our research, we used two such algorithms -- SI HITON-PC and tabu search -- to learn Bayesian network structures from data consisting of measurements of forest fires. We investigated the impact of some of the algorithm parameters (the
This repository contains the code of the second assignment for the NWI-IMC012 Bayesian Networks course at Radboud University (2019-2020). This assignment builds upon the previous assignment.
This project has the following file structure:
preprocessing.R
: contains the code that preprocessesforestfires.csv
to obtainff_preprocessed.csv
(seedata/
).tools.R
: contains helper functions for the analysis inanalysis.R
.analysis.R
: contains the code for performing the analysis conducted in this assignment.BN_Assignment2.Rproj
: the project settings as used by RStudio.data/
: directory containing the original datasetforestfires.csv
, obtained from the UCI Machine Learning Repository, andff_preprocessed.csv
, obtained by runningpreprocessing.R
. The latter is the same data which was used for the previous assignment of this courseimg/
: directory that contains all images generated bypreprocessing.R
.