bsc-compute-asia.Rd 1.07 KB
 Gilles Kratzer committed Feb 25, 2019 1 2 3 4 5 6 7 8 \name{bsc.compute.asia} \docType{data} \alias{bsc.compute.asia} \title{Cache of pre-computed scores related to the asia dataset} \description{This dataframe contains a cache of pre-computed scores with a maximum of two parents per node for the asia dataset. }  Gilles Kratzer committed Mar 03, 2019 9  \usage{bsc.compute.asia}  Gilles Kratzer committed Feb 25, 2019 10 11  \format{  Gilles Kratzer committed Mar 03, 2019 12  The data contains a cache of pre-computed scores with a maximum of two parents per node using \link[abn:build_score_cache]{buildscorecache} from the \code{abn} R package.  Gilles Kratzer committed Feb 25, 2019 13 14 15 16 17 18  \itemize{ \item \code{bsc.compute.asia}: cache of score with a maximum of two parents per node. }} \examples{ ## This data set was generated using the following code:  Reinhard Furrer committed Oct 29, 2019 19 20 library("bnlearn") # for the dataset library("abn") # for the cache of score function  Gilles Kratzer committed Feb 25, 2019 21   Reinhard Furrer committed Oct 29, 2019 22 # Renaming columns of the dataset  Gilles Kratzer committed Feb 25, 2019 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 colnames(asia) <- c("Asia", "Smoking", "Tuberculosis", "LungCancer", "Bronchitis", "Either", "XRay", "Dyspnea") bsc.compute.asia <- buildscorecache(data.df = asia, data.dists = dist.asia, max.parents = 2) } \keyword{datasets}