'Boosted regression trees - Errors

I use BRT to analyze the variable Land surface temperature through 10 predictive variables(include building volume,FAR,High...). All the data are numerical, but why are there errors in the running results

total mean deviance =  NaN 
tolerance is fixed at  NaN 
ntrees resid. dev. 
50    NaN 
now adding trees... 
Error in while (delta.deviance > tolerance.test & n.fitted < max.trees) { : 
  missing value where TRUE/FALSE needed
In addition: Warning message:
In log(1 - u_i) : NaNs produced

R output with errors

r


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source