Package BNN. February 2, 2018

Similar documents
Package EMVS. April 24, 2018

Package NlinTS. September 10, 2018

Package sbgcop. May 29, 2018

Package BayesNI. February 19, 2015

Package beam. May 3, 2018

Package LIStest. February 19, 2015

Package basad. November 20, 2017

Package covsep. May 6, 2018

Package invgamma. May 7, 2017

Package SK. May 16, 2018

Package ltsbase. R topics documented: February 20, 2015

Package SimSCRPiecewise

Package depth.plot. December 20, 2015

Package MultisiteMediation

Package gtheory. October 30, 2016

Package leiv. R topics documented: February 20, Version Type Package

Package Tcomp. June 6, 2018

Package icmm. October 12, 2017

Package flexcwm. R topics documented: July 11, Type Package. Title Flexible Cluster-Weighted Modeling. Version 1.0.

Package HIMA. November 8, 2017

Package robustrao. August 14, 2017

Package Blendstat. February 21, 2018

Package ShrinkCovMat

Package factorqr. R topics documented: February 19, 2015

Package flexcwm. R topics documented: July 2, Type Package. Title Flexible Cluster-Weighted Modeling. Version 1.1.

Package reinforcedpred

Package CPE. R topics documented: February 19, 2015

Package unbalhaar. February 20, 2015

Package cartogram. June 21, 2018

Package CompQuadForm

Package locfdr. July 15, Index 5

Package RTransferEntropy

Package idmtpreg. February 27, 2018

Package monmlp. R topics documented: December 5, Type Package

Package gk. R topics documented: February 4, Type Package Title g-and-k and g-and-h Distribution Functions Version 0.5.

Package horseshoe. November 8, 2016

Package R1magic. August 29, 2016

Package IUPS. February 19, 2015

Package SEMModComp. R topics documented: February 19, Type Package Title Model Comparisons for SEM Version 1.0 Date Author Roy Levy

Package rgabriel. February 20, 2015

Package noncompliance

Package spcov. R topics documented: February 20, 2015

Package jmcm. November 25, 2017

Package IGG. R topics documented: April 9, 2018

Package MAVE. May 20, 2018

Package sscor. January 28, 2016

Package krige. August 24, 2018

Package covtest. R topics documented:

Package sodavis. May 13, 2018

Package RcppSMC. March 18, 2018

Package FinCovRegularization

Package survidinri. February 20, 2015

Package severity. February 20, 2015

Package dina. April 26, 2017

Package MonoPoly. December 20, 2017

Package scpdsi. November 18, 2018

Package ChIPtest. July 20, 2016

Package ICBayes. September 24, 2017

Package BGGE. August 10, 2018

Package CCP. R topics documented: December 17, Type Package. Title Significance Tests for Canonical Correlation Analysis (CCA) Version 0.

Package darts. February 19, 2015

Package sindyr. September 10, 2018

Package bigtime. November 9, 2017

Package Grace. R topics documented: April 9, Type Package

Package R1magic. April 9, 2013

Package mixture. R topics documented: February 13, 2018

Package IndepTest. August 23, 2018

Package rela. R topics documented: February 20, Version 4.1 Date Title Item Analysis Package with Standard Errors

Package RootsExtremaInflections

Package EnergyOnlineCPM

Package ARCensReg. September 11, 2016

Package netcoh. May 2, 2016

Package effectfusion

Package comparec. R topics documented: February 19, Type Package

Package elhmc. R topics documented: July 4, Type Package

Package polypoly. R topics documented: May 27, 2017

Package ForecastCombinations

Package RZigZag. April 30, 2018

Package BNSL. R topics documented: September 18, 2017

Package scio. February 20, 2015

Package IsingFit. September 7, 2016

Package OGI. December 20, 2017

Package LBLGXE. R topics documented: July 20, Type Package

Package FDRreg. August 29, 2016

Package dhsic. R topics documented: July 27, 2017

Package pearson7. June 22, 2016

Package ensemblepp. R topics documented: September 20, Title Ensemble Postprocessing Data Sets. Version

The sbgcop Package. March 9, 2007

Package CoxRidge. February 27, 2015

Package Delaporte. August 13, 2017

Package baystability

Package mlmmm. February 20, 2015

Package rarhsmm. March 20, 2018

Package emg. R topics documented: May 17, 2018

Package LCAextend. August 29, 2013

Package ADPF. September 13, 2017

Package bhrcr. November 12, 2018

Package OrdNor. February 28, 2019

Package xdcclarge. R topics documented: July 12, Type Package

Package Perc. R topics documented: December 5, Type Package

Transcription:

Type Package Package BNN February 2, 2018 Title Bayesian Neural Network for High-Dimensional Nonlinear Variable Selection Version 1.0.2 Date 2018-02-02 Depends R (>= 3.0.2) Imports mvtnorm Perform Bayesian variable selection for high-dimensional nonlinear systems and also can be used to test nonlinearity for a general regression problem. The computation can be accelerated using multiple CPUs. You can refer to <doi:10.1080/01621459.2017.1409122> for more detail. License GPL-2 LazyLoad true NeedsCompilation yes Repository CRAN Date/Publication 2018-02-02 21:51:53 UTC RoxygenNote 6.0.1 Author Bochao Jia [ctb, aut, cre, cph], Faming Liang [ctb], Robert Gentleman [cph], Ross Ihaka [cph], The R Core Team [cph] Maintainer Bochao Jia <jbc409@ufl.edu> R topics documented: BNN-package........................................ 2 BNNprior.......................................... 3 BNNsel........................................... 4 Topotecan.......................................... 5 Index 6 1

2 BNN-package BNN-package Bayesian Neural Networks for High-Dimensional Nonlinear Variable Selection Details Perform Bayesian variable selection for high-dimensional nonlinear systems. The computation can be accelerated using multiple CPUs. The package can also be used to test nonlinearity for a general regression problem. Package: BNN Type: Package Version: 1.0.2 Date: 2018-02-02 License: GPL-2 The Bayesian neural network used in the package is a one-hidden layer feedforward neural network with shortcut connections. The first module of the package is to calculate the prior probabilities assigned to the class of linear models (i.e., those networks with only shortcut connections) and the class of nonlinear models; and the second module is to perform nonlinear variable selection and calculate the posterior probabilities of the classes of linear and nonlinear models. Author(s) Bochao Jia, Faming Liang Maintainer: Bochao Jia<jbc409@ufl.edu> Xue, J. and Liang, F. (2017). Robust model-free feature screening for ultrahigh dimensional data. Journal of Computational and Graphical Statistics, in press. Examples library(bnn) BNNprior(50, 1, hid_num = 3,lambda=0.025,total_iteration = 10000, popn = 10)

BNNprior 3 BNNprior Prior Probability of Bayesian Neural Networks Calculating the prior probability of linear and nonlinear classes of BNN models. Usage BNNprior(dimX, dimy, hid_num = 3,lambda=0.025,total_iteration=1000000,popN = 20) Arguments Value dimx dimy Dimension of the input data. The dimension of reponse data. It is restricted to 1 in the current version of the package. hid_num Number of hidden units. The default setting is 3. lambda The prior probability for each connection of the neural network being selected for the final model. The default setting is 0.025. total_iteration Number of total iterations, default of 1000,000. popn Number of Markov Chains, default of 20. prob Prior probability assigned to the class of linear models. Author(s) Bochao Jia and Faming Liang Examples library(bnn) BNNprior(50, 1, hid_num = 3, lambda=0.025, total_iteration = 10000, popn = 5)

4 BNNsel BNNsel Bayesian Neural Network for Variable Selection Usage Perform variable selection and calculate posterior probabilities for the classes of linear and nonlinear of models. BNNsel(X,Y,train_num,hid_num=3,lambda=0.025,total_iteration=1000000,popN=20,nCPUs=20) Arguments Value X Y train_num a nxp input data matrix. response vector. Number of training samples, should be smaller or equal to n. The default setting is the first 80% rows of the input samples. hid_num Number of hidden units. The default setting is 3. lambda The prior probability for each connection of the neural network being selected for the final model. The default setting is 0.025. total_iteration Number of iterations, recommend to be larger than or equal to 10,000. The default setting is 1000,000. popn Number of Markov Chains in a parallel run, should be larger than or equal to 3. The default setting is 20. ncpus Number of CPUs to be used in the simulation. The default setting is 20. A list of five elements: net prob mar fit pred Marginal inclusion probability of each connection of the neural network. Posterior probability of the class of linear models. Marginal inclusion probability of each input variable, which can be used for variable selection based on a multiple-hypothesis test or the median probability model criterion. Fitted value for the response vector of training data. Predicted value for the response vector of testing data. Author(s) Bochao Jia and Faming Liang

Topotecan 5 Examples ## simulate data ## library(bnn) library(mvtnorm) n <- 200 p <- 50 X <- rmvnorm(n, mean = rep(1,p), sigma = diag(rep(1,p))) eps <- rnorm(n,0,0.5) Y <- X[,1]*X[,2]+3*sin(X[,3])-2*cos(X[,4])+X[,5]^2+eps ### fit BNN model ### BNNsel(X,Y,hid_num = 3,lambda=0.025,total_iteration = 100000, popn = 10,nCPUs = 10) Topotecan Example dataset Usage Format A subset drug response data extracted from the cancer cell line encyclopedia (CCLE) database for the drug topotecan. data(topotecan) X a nxp data matrix; n=491, p=89 Y response vector. Xue, J. and Liang, F. (2017). Robust model-free feature screening for ultrahigh dimensional data. Journal of Computational and Graphical Statistics, in press.

Index Topic BNNprior BNNprior, 3 Topic BNNsel BNNsel, 4 Topic datasets Topotecan, 5 Topic package BNN-package, 2 BNN-package, 2 BNNprior, 3 BNNsel, 4 Topotecan, 5 6