MoTBFs: Learning Hybrid Bayesian Networks using Mixtures of Truncated Basis Functions

Learning, manipulation and evaluation of mixtures of truncated basis functions (MoTBFs), which include mixtures of polynomials (MOPs) and mixtures of truncated exponentials (MTEs). MoTBFs are a flexible framework for modelling hybrid Bayesian networks. The package provides functionality for learning univariate, multivariate and conditional densities, with the possibility of incorporating prior knowledge. Structural learning of hybrid Bayesian networks is also provided. A set of useful tools is provided, including plotting, printing and likelihood evaluation. This package makes use of S3 objects, with two new classes called 'motbf' and 'jointmotbf'.

Install the latest version of this package by entering the following in R:
AuthorInmaculada Pérez-Bernabé, Antonio Salmerón
Date of publication2015-09-28 09:26:43
MaintainerInmaculada Pérez-Bernabé <>

View on CRAN

Man pages

as.function.jointmotbf: Coerce a '"jointmotbf"' Object to a Function

as.function.motbf: Coerce an '"motbf"' Object to a Function

asMOPString: Parameters to MOP String

asMTEString: Parameters to MTE String

BICMoTBF: Computing the BIC Score of an MoTBF Function

BICMultiFunctions: BIC for Multiple Functions

Class-JointMoTBF: Class '"jointmotbf"'

Class-MoTBF: Class '"motbf"'

clean: Remove Objects from Memory

coefExpJointCDF: Degree Function

coef.jointmotbf: Extract Coefficients of a '"jointmotbf"' Object

coef.mop: Extract MOP Coefficients

coef.motbf: Extract MoTBF Coefficients

coef.mte: Extract MTE Coefficients

conditionalmotbf.learning: Learning Conditional Functions

dataMining: Functions to Manipulate a Dataset

derivMOP: Derivative MOP

derivMoTBF: Derivative MoTBF

derivMTE: Derivative MTE

dimensionFunction: Dimension of Functions

ecoli: Data set Ecoli: Protein Localization Sites

evalJointFunction: Evaluate a Joint Function

generateNormalPriorData: Prior Data

getChildParentsFromGraph: Get Relationships in a Network

getCoefficients: Get the Coefficients

getNonNormalisedRandomMoTBF: Ramdom MoTBF

goodnessDiscreteVariables: Goodness of discrete probabilities

goodnessMoTBFBN: BIC of an MoTBF BN

integralJointMoTBF: Integral Joint MoTBF

integralMOP: Integral MOP

integralMoTBF: Integral MoTBF

integralMTE: Integral MTE

jointCDF: Cumulative Joint Distribution

jointmotbf.learning: Learning Joint Functions

LearningHC: Learning Hybric Bayesian Networks

learnMoTBFpriorInformation: Incorporating Prior Knowledge

marginalJointMoTBF: Marginal Joint MoTBF

mop.learning: Fitting Polynomial Models

MoTBF-Distribution: Random Generation for MoTBFs

MoTBFs_Learning: Learning MoTBFs in a Network

mte.learning: Fitting Exponential Models

newRangePriorData: Redefining the Domain

nVariables: Number of Variables in a Joint Function

plotConditional: Plots for Conditional Functions

plot.jointmotbf: Bidimensional Plots for "jointmotbf" Objects

plot.motbf: Plots for "motbf" Objects

preprocessedData: Remove Missing Values in a Dataset by Rows

printBN: Prints BN Results

printConditional: Prints Conditional Functions

printDiscreteBN: Prints Discrete Learnings

probDiscreteVariable: Probabilities Discrete Variables

rescaledFunctions: Rescales an MoTBF Function

rnormMultiv: Multivariate Normal Sample

Subclass-MoTBF: Subclass '"motbf"' Functions

subsetData: Subset a Dataset

summary.jointmotbf: Summary of a '"jointmotbf"' Object

summary.motbf: Summary of an '"motbf"' Object

thyroid: Data set Thyroid Disease (thyroid0387)

univMoTBF: Fitting MoTBFs

UpperBoundLogLikelihood: Upper Bound Loglikelihood


as.character.jointmotbf Man page
as.character.motbf Man page
as.function.jointmotbf Man page
as.function.motbf Man page
as.list.jointmotbf Man page
as.list.motbf Man page
asMOPString Man page
asMTEString Man page
bestMOP Man page
bestMTE Man page
BICMoTBF Man page
BiC.MoTBFBN Man page
BICMultiFunctions Man page
BICscoreMoTBF Man page
Class-JointMoTBF Man page
Class-MoTBF Man page
clean Man page
coefExpJointCDF Man page
coeffExp Man page
coeffMOP Man page
coeffMTE Man page
coeffPol Man page
coef.jointmotbf Man page
coef.mop Man page
coef.motbf Man page
coef.mte Man page
conditional Man page
conditionalMethod Man page
conditionalmotbf.learning Man page
dataMining Man page
derivMOP Man page
derivMoTBF Man page
derivMTE Man page
dimensionFunction Man page
discreteVariables_as.character Man page
discreteVariablesStates Man page
discretizeVariablesEWdis Man page
ecoli Man page
evalJointFunction Man page
generateNormalPriorData Man page
getBICDiscreteBN Man page
getChildParentsFromGraph Man page
getCoefficients Man page
getlogLikelihoodDiscreteBN Man page
getNonNormalisedRandomMoTBF Man page
goodnessDiscreteVariables Man page
goodnessMoTBFBN Man page
integralJointMoTBF Man page
integralMOP Man page
integralMoTBF Man page
integralMTE Man page
inversionMethod Man page
is.jointmotbf Man page
is.mop Man page
is.motbf Man page
is.mte Man page
jointCDF Man page
jointmotbf Man page
jointMoTBF Man page
jointmotbf.learning Man page
LearningHC Man page
learnMoTBFpriorInformation Man page
learn.tree.Intervals Man page
logLikelihood.MoTBFBN Man page
marginalJointMoTBF Man page
meanMOP Man page
mop.learning Man page
motbf Man page
MoTBF-Distribution Man page
MoTBFs_Learning Man page
mte.learning Man page
newData Man page
newRangePriorData Man page
nstates Man page
nVariables Man page
parametersJointMoTBF Man page
plotConditional Man page
plot.jointmotbf Man page
plot.motbf Man page
posGrid Man page
preprocessedData Man page
printBN Man page
printConditional Man page
printDiscreteBN Man page
print.jointmotbf Man page
print.motbf Man page
print.summary.jointmotbf Man page
print.summary.motbf Man page
probDiscreteVariable Man page
quantileIntervals Man page
rescaledFunctions Man page
rescaledMOP Man page
rescaledMoTBFs Man page
rescaledMTE Man page
rMoTBF Man page
rnormMultiv Man page
scaleData Man page
select Man page
splitdata Man page
standardizeDataset Man page
subclass Man page
Subclass-MoTBF Man page
subsetData Man page
summary.jointmotbf Man page
summary.motbf Man page
thyroid Man page
ToStringRe_MOP Man page
ToStringRe_MTE Man page
TrainingandTestData Man page
univMoTBF Man page
UpperBoundLogLikelihood Man page
whichDiscrete Man page


R/joint.R R/conditional.R R/rescalatedFunctions.R R/mop.R R/LearningBN.R R/motbf.R R/functions.R R/structuralLearning.R R/priorKnowledge.R R/MoTBFClass.R R/mte.R R/DiscreteLearning.R R/datasets.R R/rMoTBF.R
man/coef.motbf.Rd man/Subclass-MoTBF.Rd man/marginalJointMoTBF.Rd man/preprocessedData.Rd man/asMOPString.Rd man/Class-JointMoTBF.Rd man/plot.motbf.Rd man/conditionalmotbf.learning.Rd man/ecoli.Rd man/summary.motbf.Rd man/getChildParentsFromGraph.Rd man/as.function.jointmotbf.Rd man/clean.Rd man/summary.jointmotbf.Rd man/evalJointFunction.Rd man/printConditional.Rd man/jointmotbf.learning.Rd man/dataMining.Rd man/probDiscreteVariable.Rd man/MoTBF-Distribution.Rd man/integralMoTBF.Rd man/rescaledFunctions.Rd man/coef.mop.Rd man/goodnessMoTBFBN.Rd man/getCoefficients.Rd man/learnMoTBFpriorInformation.Rd man/LearningHC.Rd man/asMTEString.Rd man/coef.jointmotbf.Rd man/coef.mte.Rd man/MoTBFs_Learning.Rd man/UpperBoundLogLikelihood.Rd man/as.function.motbf.Rd man/printDiscreteBN.Rd man/derivMTE.Rd man/Class-MoTBF.Rd man/plotConditional.Rd man/dimensionFunction.Rd man/goodnessDiscreteVariables.Rd man/thyroid.Rd man/integralMOP.Rd man/nVariables.Rd man/BICMultiFunctions.Rd man/subsetData.Rd man/integralMTE.Rd man/rnormMultiv.Rd man/integralJointMoTBF.Rd man/plot.jointmotbf.Rd man/jointCDF.Rd man/mop.learning.Rd man/printBN.Rd man/coefExpJointCDF.Rd man/derivMoTBF.Rd man/BICMoTBF.Rd man/univMoTBF.Rd man/mte.learning.Rd man/getNonNormalisedRandomMoTBF.Rd man/derivMOP.Rd man/newRangePriorData.Rd man/generateNormalPriorData.Rd

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.