When I try to do a regression tree on stock prices.
formula_1 <- log_price ~ at + age2 + lcash + ldebtEquity + salesAsset
stock_tree_1 <- ctree(formula_1, data=stock_data_1,
controls=ctree_control(maxdepth = 4, minbucket = 1000))
it shows error as this.
Error in model@fit(data, ...) :
error code -4 from Lapack routine 'dgesdd'
I try to run the same code on windows computer, it shows the same error as my macbook.