Skip to content

Error: Chol() : decomposition failed #7

@EoghanONeill

Description

@EoghanONeill

bugtest_softBART_y.csv
bugtest_softBART_X.csv
bugtest_softBART_X.out.csv

I attach data to this message for replication. The code is below:


library(SoftBart)



X = read.csv( file = "bugtest_softBART_X.csv")

X <- as.matrix(X, nrow = nrow(X), ncol = ncol(X))

y = read.csv( file = "bugtest_softBART_y.csv")
y <- as.matrix(y, nrow = nrow(y), ncol = ncol(y))

X.out = as.numeric(read.csv( file = "bugtest_softBART_X.out.csv"))

X.out <- t(as.matrix(X.out))


model <- SoftBart::softbart(X = X, Y = y, X_test = X.out, 
                            hypers = Hypers( X, y, num_tree = 50, temperature = 1),
                            opts = Opts(num_burn = 5000, num_save = 5000, update_tau = TRUE))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions