Train weights for WH and output weight vector
WH_train(X, loc0 = 2, locDropout = 1, locMissing = FALSE)
a weight vector
a list of k number of input data, X[[1]] ... X[[k]]. The ith data have sequence information as phyDat format in X[[i]][[1]], and tree information in X[[i]][[2]] as phylo format.
weight location of initial state
weight location of dropout state
weight location of missing state, FALSE if there is no missing values
Il-Youp Kwak (ikwak2@cau.ac.kr)